Skip to content

Commit efb49d2

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

File tree

1 file changed

+23
-6
lines changed

1 file changed

+23
-6
lines changed

.github/workflows/python-wheels.yml

+23-6
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,20 @@ 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.8',
24+
'3.9',
25+
'3.10',
26+
'3.11',
27+
'3.12'
28+
] # see https://devguide.python.org/versions/
1829

1930
steps:
2031
- uses: actions/checkout@v4
@@ -25,12 +36,18 @@ jobs:
2536
toolchain: stable
2637

2738
- run: rustup target add aarch64-apple-darwin
28-
if: matrix.os == 'macos-13' || matrix.os == 'macos-14'
29-
39+
if: matrix.os == 'macos-latest'
40+
41+
# # fix 'error: library libintl.8.dylib not loaded' (see job #21559285751)
42+
# - run: |
43+
# brew install gettext
44+
# brew link gettext --force
45+
# if: matrix.os == 'macos-latest' && (matrix.python-version == '3.8' || matrix.python-version == '3.9' || matrix.python-version == '3.10')
46+
3047
- run: |
3148
rustup toolchain install stable-i686-pc-windows-msvc
3249
rustup target add i686-pc-windows-msvc
33-
if: matrix.os == 'windows'
50+
# if: matrix.os == 'windows'
3451
3552
- name: Check Rust versions
3653
run: |
@@ -42,7 +59,7 @@ jobs:
4259
which rustup
4360
4461
- name: Set up Python
45-
uses: actions/setup-python@v3
62+
uses: actions/setup-python@v5
4663
with:
4764
python-version: ${{ matrix.python-version }}
4865
architecture: x64

0 commit comments

Comments
 (0)