1313 - reopened
1414 - labeled
1515
16- concurrency :
17- group : ${{ github.workflow }}-${{ github.event.number }}-${{ github.event_name }}-${{ github.event.ref }}
18- cancel-in-progress : true
19-
2016jobs :
2117 build_wheels :
2218 if : |
3430 runs-on : ${{ matrix.os }}
3531 strategy :
3632 matrix :
37- os : [ubuntu-latest, windows-latest, macos-13, macos-14]
33+ os : [ubuntu-latest, windows-latest, macos-13, macos-14, ubuntu-24.04-arm ]
3834 defaults :
3935 run :
4036 shell : bash
4743 run : |
4844 python .github/workflows/download_mirror.py
4945
50- - name : Set up QEMU
51- if : runner.os == 'Linux'
52- uses : docker/setup-qemu-action@v3
53- with :
54- platforms : all
55-
5646 # sets up the compiler paths automatically for us
5747 - uses : fortran-lang/setup-fortran@v1
5848 id : setup-fortran
@@ -68,19 +58,13 @@ jobs:
6858 gfortran --version
6959
7060 - name : Build wheels
71- uses : pypa/cibuildwheel@v2.21.3
61+ uses : pypa/cibuildwheel@v3.0.0
7262 env :
7363 # The brew built gfortran linked libraries have minimum macOS versions
7464 # of the macOS version they were built on. We would need to compile
7565 # from source rather than use setup-fortran if we want to support
7666 # lower macOS versions.
7767 MACOSX_DEPLOYMENT_TARGET : " ${{ matrix.os == 'macos-13' && '13.0' || '14.0' }}"
78- # TEMP don't use automated/isolated build environment, but manually
79- # install build dependencies so we can build with meson from source
80- CIBW_BUILD_FRONTEND : " pip; args: --no-build-isolation"
81- CIBW_BEFORE_BUILD :
82- python -m pip install git+https://github.com/mesonbuild/meson &&
83- python -m pip install ninja meson-python setuptools_scm numpy
8468
8569 - uses : actions/upload-artifact@v4
8670 with :
@@ -89,15 +73,14 @@ jobs:
8973
9074 build_sdist :
9175 name : Build source distribution
92- needs : build_wheels
9376 runs-on : ubuntu-latest
9477 steps :
9578 - uses : actions/checkout@v4
9679
97- - uses : actions/setup-python@v4
80+ - uses : actions/setup-python@v5
9881 name : Install Python
9982 with :
100- python-version : ' 3.12 '
83+ python-version : ' 3.13 '
10184
10285 - name : Download source files
10386 run : |
10689 run : |
10790 python -m pip install meson-python meson ninja build
10891 python -m build --sdist
109- - uses : actions/upload-artifact@v3
92+ - uses : actions/upload-artifact@v4
11093 with :
11194 name : cibw-sdist
11295 path : dist/*.tar.gz
0 commit comments