Skip to content

Commit

Permalink
ci: Switch to using ARM-native linux runners (#4616)
Browse files Browse the repository at this point in the history
Use the publicly-available ARM-native linux runners for CI checks and
building Python wheels

---------

Signed-off-by: Zach Lewis <[email protected]>
  • Loading branch information
zachlewis authored and lgritz committed Feb 2, 2025
1 parent d3aa968 commit 407f588
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ jobs:

linux-arm:
name: Build wheels on Linux ARM
runs-on: ubuntu-latest
runs-on: ubuntu-24.04-arm
if: |
github.event_name != 'schedule' ||
github.repository == 'AcademySoftwareFoundation/OpenImageIO'
Expand Down Expand Up @@ -199,22 +199,13 @@ jobs:
name: Install Python
with:
python-version: '3.9'

- name: Set up QEMU
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3.2.0
with:
platforms: all


- name: Build wheels
uses: pypa/cibuildwheel@d4a2945fcc8d13f20a1b99d461b8e844d5fc6e23 # v2.21.1
env:
CIBW_BUILD: ${{ matrix.python }}
CIBW_ARCHS: ${{ matrix.arch }}
CIBW_MANYLINUX_AARCH64_IMAGE: ${{ matrix.manylinux }}
# Apparently, the x86_64 runners aren't able to execute tests
# tests for ARM wheels.
# TODO: Re-enable tests when linux ARM runners are available
CIBW_TEST_SKIP: '*'

- uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
with:
Expand Down

0 comments on commit 407f588

Please sign in to comment.