Skip to content

Commit 52b77af

Browse files
committed
ci: add Android wheels / tests
1 parent 867bbb6 commit 52b77af

File tree

1 file changed

+22
-26
lines changed

1 file changed

+22
-26
lines changed

.github/workflows/cibw-cc.yaml

Lines changed: 22 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -4,46 +4,42 @@ on:
44
workflow_dispatch:
55
pull_request:
66
branches:
7-
- master
7+
- master
88

99
concurrency:
1010
group: ${{ github.workflow }}-${{ github.ref }}
1111
cancel-in-progress: true
1212

13-
jobs:
14-
build-pyodide:
15-
name: Pyodide
16-
runs-on: ubuntu-latest
17-
steps:
18-
- uses: actions/checkout@v4
19-
20-
- uses: actions/setup-python@v5
21-
22-
- uses: pypa/[email protected]
23-
env:
24-
CIBW_PLATFORM: pyodide
2513

26-
- uses: actions/upload-artifact@v4
27-
with:
28-
name: wheels-pyodide
29-
path: dist/*.whl
30-
31-
build-ios:
32-
name: iOS
33-
runs-on: macos-latest
14+
jobs:
15+
build:
16+
strategy:
17+
matrix:
18+
include:
19+
- platform: android
20+
os: ubuntu-latest
21+
- platform: android
22+
os: macos-latest
23+
- platform: ios
24+
os: macos-latest
25+
archs: all
26+
- platform: pyodide
27+
os: ubuntu-latest
28+
29+
name: ${{ matrix.platform }} on ${{ matrix.os }}
30+
runs-on: ${{ matrix.os }}
31+
3432
steps:
3533
- uses: actions/checkout@v4
3634

3735
- uses: actions/setup-python@v5
3836

39-
- run: brew upgrade cmake
40-
4137
- uses: pypa/[email protected]
4238
env:
43-
CIBW_PLATFORM: ios
44-
CIBW_ARCHS: all
39+
CIBW_PLATFORM: ${{ matrix.platform }}
40+
CIBW_ARCHS: ${{ matrix.archs }}
4541

4642
- uses: actions/upload-artifact@v4
4743
with:
48-
name: wheels-ios
44+
name: wheels-${{ matrix.platform }}-${{ matrix.os }}
4945
path: dist/*.whl

0 commit comments

Comments
 (0)