Skip to content

Commit 53f13a4

Browse files
committed
ci: build wheels in multiple OSes
1 parent 78ee625 commit 53f13a4

File tree

1 file changed

+27
-18
lines changed

1 file changed

+27
-18
lines changed

.github/workflows/python-wheels.yml

+27-18
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,18 @@ jobs:
1212
name: Build wheels on ${{ matrix.os }} with Python ${{ matrix.python-version }}
1313
runs-on: ${{ matrix.os }}
1414
strategy:
15+
fail-fast: false
1516
matrix:
16-
os: [ubuntu-latest] #, windows-latest, macos-13, macos-14]
17-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
17+
os: [
18+
ubuntu-latest,
19+
windows-latest,
20+
macos-latest,
21+
]
22+
python-version: [
23+
'3.10',
24+
'3.11',
25+
'3.12'
26+
] # see https://devguide.python.org/versions/
1827

1928
steps:
2029
- uses: actions/checkout@v4
@@ -24,25 +33,25 @@ jobs:
2433
with:
2534
toolchain: stable
2635

27-
- run: rustup target add aarch64-apple-darwin
28-
if: matrix.os == 'macos-13' || matrix.os == 'macos-14'
29-
30-
- run: |
31-
rustup toolchain install stable-i686-pc-windows-msvc
32-
rustup target add i686-pc-windows-msvc
33-
if: matrix.os == 'windows'
36+
# - run: rustup target add aarch64-apple-darwin
37+
# if: matrix.os == 'macos-latest'
3438

35-
- name: Check Rust versions
36-
run: |
37-
rustc --version
38-
which rustc
39-
cargo --version
40-
which cargo
41-
rustup --version
42-
which rustup
39+
# - run: |
40+
# rustup toolchain install stable-i686-pc-windows-msvc
41+
# rustup target add i686-pc-windows-msvc
42+
# # if: matrix.os == 'windows'
43+
44+
# - name: Check Rust versions
45+
# run: |
46+
# rustc --version
47+
# which rustc
48+
# cargo --version
49+
# which cargo
50+
# rustup --version
51+
# which rustup
4352

4453
- name: Set up Python
45-
uses: actions/setup-python@v3
54+
uses: actions/setup-python@v5
4655
with:
4756
python-version: ${{ matrix.python-version }}
4857
architecture: x64

0 commit comments

Comments
 (0)