File tree Expand file tree Collapse file tree 1 file changed +19
-3
lines changed
Expand file tree Collapse file tree 1 file changed +19
-3
lines changed Original file line number Diff line number Diff line change 55 types :
66 - released
77 workflow_dispatch :
8+ inputs :
9+ build_x86_64 :
10+ description : " Build x86_64 wheels"
11+ type : boolean
12+ default : true
13+ build_aarch64 :
14+ description : " Build aarch64 wheels"
15+ type : boolean
16+ default : true
817
918jobs :
1019 build_wheel_linux :
1524 matrix :
1625 arch : [x86_64, aarch64]
1726 py : ['3.11', '3.12', '3.13', '3.14']
18- exclude :
19- - arch : x86_64
27+
28+ if : >
29+ github.event_name == 'release' ||
30+ (github.event_name == 'workflow_dispatch' &&
31+ (
32+ (matrix.arch == 'x86_64' && inputs.build_x86_64 == true) ||
33+ (matrix.arch == 'aarch64' && inputs.build_aarch64 == true)
34+ )
35+ )
2036
2137 steps :
2238 - uses : actions/checkout@v5
2945 - name : Set up Docker Buildx
3046 uses : docker/setup-buildx-action@v3
3147
32- - name : Build wheel
48+ - name : Build ${{ matrix.arch }} wheel for Python ${{ matrix.py }}
3349 run : |
3450 ARCH=${{ matrix.arch }}
3551 PY=${{ matrix.py }}
You can’t perform that action at this time.
0 commit comments