File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change 60
60
if-no-files-found : error
61
61
62
62
build_manylinux_wheels :
63
- name : Wheels (Linux)
64
- runs-on : ubuntu-latest
63
+ name : Wheels (Linux ${{ matrix.runs-on[1] }})
64
+ runs-on : ${{ matrix.runs-on[0] }}
65
+ strategy :
66
+ matrix :
67
+ runs-on : [
68
+ ["ubuntu-latest", "x86_64"],
69
+ ["ubuntu-24.04-arm", "arm64"]
70
+ ]
65
71
steps :
66
72
- uses : actions/checkout@v5
67
73
with :
74
80
- name : Build wheels on Linux
75
81
run : pipx run cibuildwheel --output-dir wheelhouse
76
82
env :
77
- CIBW_ARCHS_LINUX : x86_64
83
+ CIBW_ARCHS_LINUX : ${{ matrix.runs-on[1] }}
78
84
CIBW_BEFORE_ALL_LINUX : >
85
+ yum -y update &&
86
+ yum -y install epel-release &&
79
87
yum -y install openblas-devel lapack-devel &&
80
88
python install_KLU_Sundials.py
81
89
CIBW_BEFORE_BUILD_LINUX : python -m pip install cmake casadi==3.6.7 setuptools wheel pybind11
88
96
- name : Upload wheels for Linux
89
97
uses : actions/upload-artifact@v4
90
98
with :
91
- name : wheels_manylinux
99
+ name : wheels_manylinux_${{ matrix.runs-on[1] }}
92
100
path : ./wheelhouse/*.whl
93
101
if-no-files-found : error
94
102
You can’t perform that action at this time.
0 commit comments