File tree Expand file tree Collapse file tree 1 file changed +22
-26
lines changed Expand file tree Collapse file tree 1 file changed +22
-26
lines changed Original file line number Diff line number Diff line change 4
4
workflow_dispatch :
5
5
pull_request :
6
6
branches :
7
- - master
7
+ - master
8
8
9
9
concurrency :
10
10
group : ${{ github.workflow }}-${{ github.ref }}
11
11
cancel-in-progress : true
12
12
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
-
23
- env :
24
- CIBW_PLATFORM : pyodide
25
13
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
+
34
32
steps :
35
33
- uses : actions/checkout@v4
36
34
37
35
- uses : actions/setup-python@v5
38
36
39
- - run : brew upgrade cmake
40
-
41
37
42
38
env :
43
- CIBW_PLATFORM : ios
44
- CIBW_ARCHS : all
39
+ CIBW_PLATFORM : ${{ matrix.platform }}
40
+ CIBW_ARCHS : ${{ matrix.archs }}
45
41
46
42
- uses : actions/upload-artifact@v4
47
43
with :
48
- name : wheels-ios
44
+ name : wheels-${{ matrix.platform }}-${{ matrix.os }}
49
45
path : dist/*.whl
You can’t perform that action at this time.
0 commit comments