From 4f2e418e2088b95a4015e1d980b8d1c79ac5dfd9 Mon Sep 17 00:00:00 2001 From: Michele Dolfi Date: Sun, 26 Jan 2025 14:20:00 +0100 Subject: [PATCH] ci: use ubuntu 22.04 Signed-off-by: Michele Dolfi --- .github/workflows/checks.yml | 2 +- .github/workflows/wheels.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index a9ab7689..9ab6d012 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -6,7 +6,7 @@ env: jobs: run-checks: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: matrix: python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 153e7440..eba31c16 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -44,7 +44,7 @@ jobs: python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] os: - - name: "ubuntu-latest" + - name: "ubuntu-22.04" platform: "linux" platform_id: "manylinux_x86_64" @@ -202,13 +202,13 @@ jobs: cp wheelhouse/*.whl ./dist/ - name: Set up QEMU [linux] - if: matrix.os.name == 'ubuntu-latest' + if: startsWith(matrix.os.name, 'ubuntu') uses: docker/setup-qemu-action@v3 with: platforms: all - name: Build wheels [linux] - if: matrix.os.name == 'ubuntu-latest' + if: startsWith(matrix.os.name, 'ubuntu') env: # CIBW_BUILD: ${{ env.python_cp_version }}-${{ matrix.os.platform_id }} CIBW_ARCHS: auto x86_64 aarch64