File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5454
5555 - name : Install cibuildwheel
5656 run : |
57- python -m pip install cibuildwheel==3.2.1 swig==4.2 .1 cmake==3.31.6
57+ python -m pip install cibuildwheel==3.4.0 swig==4.4 .1 cmake==3.31.6
5858
5959 # print versions
6060 python --version
6767 name : libSEDML-sdist
6868 path : .
6969
70+ - name : Set artifact name
71+ id : artifact-name
72+ shell : bash
73+ run : |
74+ python_tag="${CIBW_BUILD%-*}"
75+ echo "name=libSEDML-${{ matrix.os }}-${python_tag}-${{ strategy.job-index }}" >> $GITHUB_OUTPUT
76+
7077 - name : Unpack sdist
7178 shell : bash
7279 run : |
@@ -80,15 +87,17 @@ jobs:
8087 - name : Build wheels
8188 env :
8289 CIBW_BUILD : ${{ matrix.python_version }}
83- CIBW_SKIP : " *-musllinux* cp36-* cp37-* cp38-* *-win32"
90+ CIBW_ARCHS_MACOS : x86_64 arm64
91+ CIBW_BEFORE_BUILD_LINUX : " pip install swig==4.4.1"
92+ CIBW_SKIP : " *-musllinux* cp38-* *-win32"
8493 run : |
8594 python -m cibuildwheel --output-dir wheelhouse
8695
8796 - name : Upload wheels
8897 uses : actions/upload-artifact@v4
8998 with :
9099 path : wheelhouse/*.whl
91- name : libSEDML- ${{ matrix.os }}-${{ strategy.job-index }}
100+ name : ${{ steps.artifact-name.outputs.name }}
92101
93102 merge_wheels :
94103 needs : [build_wheels]
You can’t perform that action at this time.
0 commit comments