@@ -10,7 +10,7 @@ permissions:
10
10
11
11
jobs :
12
12
linux :
13
- runs-on : ubuntu-latest
13
+ runs-on : ubuntu-20.04
14
14
strategy :
15
15
matrix :
16
16
python-version : ["3.7", "3.8", "3.9", "3.10"]
@@ -20,36 +20,10 @@ jobs:
20
20
- uses : actions/setup-python@v4
21
21
with :
22
22
python-version : ${{ matrix.python-version }}
23
-
24
- - name : Install common dependencies
23
+ - name : Install dependencies
25
24
run : |
26
25
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
53
27
54
28
- name : Build wheels
55
29
uses : PyO3/maturin-action@v1
58
32
args : --release --out dist --find-interpreter
59
33
sccache : " true"
60
34
manylinux : auto
61
-
62
35
- name : Upload wheels
63
36
uses : actions/upload-artifact@v3
64
37
with :
0 commit comments