Skip to content

Commit 03c8d69

Browse files
committed
wip
1 parent d8d1eed commit 03c8d69

File tree

1 file changed

+3
-30
lines changed

1 file changed

+3
-30
lines changed

.github/workflows/CD.yml

Lines changed: 3 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ permissions:
1010

1111
jobs:
1212
linux:
13-
runs-on: ubuntu-latest
13+
runs-on: ubuntu-20.04
1414
strategy:
1515
matrix:
1616
python-version: ["3.7", "3.8", "3.9", "3.10"]
@@ -20,36 +20,10 @@ jobs:
2020
- uses: actions/setup-python@v4
2121
with:
2222
python-version: ${{ matrix.python-version }}
23-
24-
- name: Install common dependencies
23+
- name: Install dependencies
2524
run: |
2625
sudo apt-get update
27-
sudo apt-get install pkg-config
28-
29-
- name: Install dependencies for x86_64 and x86
30-
if: matrix.target == 'x86_64' || matrix.target == 'x86'
31-
run: sudo apt-get install libssl-dev
32-
33-
- name: Install dependencies for aarch64
34-
if: matrix.target == 'aarch64'
35-
run: sudo apt-get install libssl-dev:arm64
36-
37-
- name: Install dependencies for armv7
38-
if: matrix.target == 'armv7'
39-
run: sudo apt-get install libssl-dev:armhf
40-
41-
- name: Install dependencies for s390x
42-
if: matrix.target == 's390x'
43-
run: sudo apt-get install libssl-dev:s390x
44-
45-
- name: Install dependencies for ppc64le
46-
if: matrix.target == 'ppc64le'
47-
run: sudo apt-get install libssl-dev:ppc64el
48-
49-
- name: Set environment variables for OpenSSL (if necessary)
50-
run: |
51-
echo "OPENSSL_DIR=/usr/include/openssl" >> $GITHUB_ENV
52-
if: matrix.target == 'ppc64le'
26+
sudo apt-get install libudev-dev libssl-dev pkg-config
5327
5428
- name: Build wheels
5529
uses: PyO3/maturin-action@v1
@@ -58,7 +32,6 @@ jobs:
5832
args: --release --out dist --find-interpreter
5933
sccache: "true"
6034
manylinux: auto
61-
6235
- name: Upload wheels
6336
uses: actions/upload-artifact@v3
6437
with:

0 commit comments

Comments
 (0)