Bump * ubuntu from 20.04 to 24.04

* windows-2019 to windows-2022
     * actions/setup-python to v5
     * actions/checkout to v5        in /.github/workflows
This commit is contained in:
Mario Fink 2024-09-12 13:12:34 +02:00
parent 6c1fd021c2
commit d53e057dca

View File

@ -10,9 +10,9 @@ jobs:
build_setup: build_setup:
name: Prepare environment for wheel builds name: Prepare environment for wheel builds
runs-on: ubuntu-20.04 runs-on: ubuntu-24.04
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v4
- name: Prepare wheel build - name: Prepare wheel build
run: make -C python/ setup run: make -C python/ setup
- name: Store wheel configuration files - name: Store wheel configuration files
@ -27,14 +27,14 @@ jobs:
needs: [build_setup] needs: [build_setup]
strategy: strategy:
matrix: matrix:
os: [ubuntu-20.04, windows-2019] os: [ubuntu-24.04, windows-2022]
arch: [auto32, auto64, aarch64] arch: [auto32, auto64, aarch64]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v4
- uses: actions/setup-python@v2 - uses: actions/setup-python@v5
- name: Install cibuildwheel - name: Install cibuildwheel
run: python -m pip install cibuildwheel==2.1.2 run: python -m pip install cibuildwheel
- name: Get wheel configuration files - name: Get wheel configuration files
uses: actions/download-artifact@v4.1.7 uses: actions/download-artifact@v4.1.7
with: with:
@ -53,12 +53,12 @@ jobs:
build_sdist: build_sdist:
name: Build source distribution name: Build source distribution
runs-on: ubuntu-latest runs-on: ubuntu-24.04
needs: [build_setup] needs: [build_setup]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v4
- name: Install cython - name: Install cython
run: python -m pip install cython==0.29.24 run: python -m pip install cython
- name: Get wheel configuration files - name: Get wheel configuration files
uses: actions/download-artifact@v4.1.7 uses: actions/download-artifact@v4.1.7
with: with:
@ -76,7 +76,7 @@ jobs:
upload_pypi: upload_pypi:
name: Upload binary wheels to PyPI name: Upload binary wheels to PyPI
runs-on: ubuntu-20.04 runs-on: ubuntu-24.04
needs: [build_wheels, build_sdist] needs: [build_wheels, build_sdist]
steps: steps: