Skip to content

Commit 0a727d1

Browse files
committed
Use separate matrix jobs for the different wheel images.
1 parent 4124f82 commit 0a727d1

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ on: push
55
jobs:
66
build:
77

8+
strategy:
9+
# Allows for matrix sub-jobs to fail without canceling the rest
10+
fail-fast: false
11+
12+
matrix:
13+
env: [{TARGET: wheel_manylinux2010_x86_64}, {TARGET: wheel_manylinux2010_i686}, {TARGET: wheel_manylinux2014_aarch64}]
14+
815
runs-on: ubuntu-latest
916

1017
steps:
@@ -21,15 +28,15 @@ jobs:
2128
2229
- name: Building wheel
2330
run: |
24-
make -j3 wheel_manylinux
31+
make ${{ matrix.env.TARGET }}
2532
2633
- name: Copy wheels in dist
2734
run: cp wheelhouse*/fastrlock*.whl dist/
2835

2936
- name: Archive Wheels
3037
uses: actions/upload-artifact@v2
3138
with:
32-
name: wheels
39+
name: ${{ matrix.env.TARGET }}
3340
path: dist/*manylinux*.whl
3441
if-no-files-found: ignore
3542

0 commit comments

Comments
 (0)