From 7849e43ebbe8c70acb25e90a15617084334ffd94 Mon Sep 17 00:00:00 2001 From: Thomas Jollans Date: Sat, 12 Oct 2024 17:31:50 +0200 Subject: [PATCH] update github actions workflows --- .github/workflows/build-and-test.yml | 18 +++++++++--------- .github/workflows/wheels.yml | 6 +++--- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 09110d7..4cabcbe 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -12,10 +12,10 @@ jobs: strategy: matrix: build_type: [ Release, Debug ] - os: [ ubuntu-22.04, windows-2022, macos-12 ] + os: [ ubuntu-24.04, windows-2022, macos-14 ] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Configure run: cmake -B ${{ github.workspace }}/build -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} @@ -31,10 +31,10 @@ jobs: name: C, C++ Shared Library strategy: matrix: - os: [ ubuntu-22.04, windows-2022, macos-12 ] + os: [ ubuntu-24.04, windows-2022, macos-14 ] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Configure run: cmake -B ${{ github.workspace }}/build -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON @@ -48,7 +48,7 @@ jobs: build_32bit: name: Linux 32-bit - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 env: BUILD_TYPE: Release CFLAGS: "-m32" @@ -58,7 +58,7 @@ jobs: - name: Install Multilib support run: sudo apt-get install -y gcc-multilib g++-multilib - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Configure run: cmake -B ${{ github.workspace }}/build -DCMAKE_BUILD_TYPE=$BUILD_TYPE @@ -75,10 +75,10 @@ jobs: name: Python strategy: matrix: - python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11" ] - runs-on: ubuntu-22.04 + python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ] + runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 3dbc13b..5b8dc5e 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -8,13 +8,13 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-20.04, windows-2019, macos-11] + os: [ubuntu-24.04, windows-2022, macos-13, macos-14] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build wheels - uses: pypa/cibuildwheel@v2.10.1 + uses: pypa/cibuildwheel@v2.21.3 env: CIBW_SKIP: pp* # env: