|
1 | | -# This file is autogenerated by maturin v0.14.17 |
| 1 | +# This file is autogenerated by maturin v1.3.2 |
2 | 2 | # To update, run |
3 | 3 | # |
4 | 4 | # maturin generate-ci --pytest -o .github/workflows/python.yml github |
@@ -28,14 +28,27 @@ jobs: |
28 | 28 | - uses: actions/checkout@v3 |
29 | 29 | - uses: actions/setup-python@v4 |
30 | 30 | with: |
31 | | - python-version: '3.10' |
| 31 | + python-version: '3.11' |
32 | 32 | - name: Build wheels |
33 | 33 | uses: PyO3/maturin-action@v1 |
34 | 34 | with: |
35 | 35 | target: ${{ matrix.target }} |
36 | 36 | args: --release --out dist --find-interpreter -F python |
37 | | - sccache: 'true' |
38 | 37 | manylinux: auto |
| 38 | + before-script-linux: | |
| 39 | + # If we're running on rhel centos, install needed packages. |
| 40 | + if command -v yum &> /dev/null; then |
| 41 | + yum update -y && yum install -y perl-core openssl openssl-devel pkgconfig libatomic |
| 42 | +
|
| 43 | + # If we're running on i686 we need to symlink libatomic |
| 44 | + # in order to build openssl with -latomic flag. |
| 45 | + if [[ ! -d "/usr/lib64" ]]; then |
| 46 | + ln -s /usr/lib/libatomic.so.1 /usr/lib/libatomic.so |
| 47 | + fi |
| 48 | + else |
| 49 | + # If we're running on debian-based system. |
| 50 | + apt update -y && apt-get install -y libssl-dev openssl pkg-config |
| 51 | + fi |
39 | 52 | - name: Upload wheels |
40 | 53 | uses: actions/upload-artifact@v3 |
41 | 54 | with: |
|
74 | 87 | - uses: actions/checkout@v3 |
75 | 88 | - uses: actions/setup-python@v4 |
76 | 89 | with: |
77 | | - python-version: '3.10' |
| 90 | + python-version: '3.11' |
78 | 91 | architecture: ${{ matrix.target }} |
79 | 92 | - name: Build wheels |
80 | 93 | uses: PyO3/maturin-action@v1 |
@@ -105,7 +118,7 @@ jobs: |
105 | 118 | - uses: actions/checkout@v3 |
106 | 119 | - uses: actions/setup-python@v4 |
107 | 120 | with: |
108 | | - python-version: '3.10' |
| 121 | + python-version: '3.11' |
109 | 122 | - name: Build wheels |
110 | 123 | uses: PyO3/maturin-action@v1 |
111 | 124 | with: |
@@ -156,4 +169,4 @@ jobs: |
156 | 169 | MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }} |
157 | 170 | with: |
158 | 171 | command: upload |
159 | | - args: --skip-existing * |
| 172 | + args: --non-interactive --skip-existing * |
0 commit comments