@@ -13,70 +13,71 @@ jobs:
1313 runs-on : ubuntu-latest
1414 strategy :
1515 matrix :
16+ python-version : ["3.7", "3.8", "3.9", "3.10"]
1617 target : [x86_64, x86, aarch64, armv7, s390x, ppc64le]
1718 steps :
1819 - uses : actions/checkout@v3
1920 - uses : actions/setup-python@v4
2021 with :
21- python-version : ' 3.10'
22- - name : Install dependencies
23- run : sudo apt-get update && sudo apt-get install -y build-essential
22+ python-version : ${{ matrix.python-version }}
2423 - name : Build wheels
2524 uses : PyO3/maturin-action@v1
2625 with :
2726 target : ${{ matrix.target }}
2827 args : --release --out dist --find-interpreter
29- sccache : ' true'
28+ sccache : " true"
3029 manylinux : auto
3130 - name : Upload wheels
3231 uses : actions/upload-artifact@v3
3332 with :
34- name : wheels
33+ name : wheels-${{ matrix.python-version }}-${{ matrix.target }}
3534 path : dist
3635
3736 windows :
3837 runs-on : windows-latest
3938 strategy :
4039 matrix :
40+ python-version : ["3.7", "3.8", "3.9", "3.10"]
4141 target : [x64, x86]
4242 steps :
4343 - uses : actions/checkout@v3
4444 - uses : actions/setup-python@v4
4545 with :
46- python-version : ' 3.10 '
46+ python-version : ${{ matrix.python-version }}
4747 architecture : ${{ matrix.target }}
4848 - name : Build wheels
4949 uses : PyO3/maturin-action@v1
5050 with :
5151 target : ${{ matrix.target }}
5252 args : --release --out dist --find-interpreter
53- sccache : ' true'
53+ sccache : " true"
5454 - name : Upload wheels
5555 uses : actions/upload-artifact@v3
5656 with :
57- name : wheels
57+ name : wheels-${{ matrix.python-version }}-${{ matrix.target }}
5858 path : dist
5959
6060 macos :
6161 runs-on : macos-latest
6262 strategy :
6363 matrix :
64+ python-version : ["3.7", "3.8", "3.9", "3.10"]
6465 target : [x86_64, aarch64]
6566 steps :
6667 - uses : actions/checkout@v3
6768 - uses : actions/setup-python@v4
6869 with :
69- python-version : ' 3.10'
70+ python-version : " 3.10"
7071 - name : Build wheels
7172 uses : PyO3/maturin-action@v1
7273 with :
7374 target : ${{ matrix.target }}
7475 args : --release --out dist --find-interpreter
75- sccache : ' true'
76+ sccache : " true"
7677 - name : Upload wheels
7778 uses : actions/upload-artifact@v3
7879 with :
79- name : wheels
80+ name : wheels-${{ matrix.python-version }}-${{ matrix.target }}
8081 path : dist
8182
8283 sdist :
9798 release :
9899 name : Release
99100 runs-on : ubuntu-latest
100- if : " startsWith(github.ref, 'refs/tags/')"
101101 needs : [linux, windows, macos, sdist]
102102 steps :
103103 - uses : actions/download-artifact@v3
0 commit comments