Skip to content

Commit

Permalink
ci: fix linux build with ubuntu 22.04 (#96)
Browse files Browse the repository at this point in the history
Signed-off-by: Michele Dolfi <[email protected]>
  • Loading branch information
dolfim-ibm authored Jan 27, 2025
1 parent ad2f46b commit 05f131d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
code-checks:
uses: ./.github/workflows/checks.yml
pre-release-check:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
outputs:
TARGET_TAG_V: ${{ steps.version_check.outputs.TRGT_VERSION }}
steps:
Expand All @@ -31,7 +31,7 @@ jobs:
needs: [code-checks, pre-release-check]
if: needs.pre-release-check.outputs.TARGET_TAG_V != ''
environment: auto-release
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
concurrency: release
steps:
- uses: actions/create-github-app-token@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 05f131d

Please sign in to comment.