Skip to content

Commit

Permalink
Skip tests on emulated aarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
afedynitch committed Oct 14, 2024
1 parent 1d2b1ff commit 753b3ce
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,22 +75,22 @@ jobs:
with:
submodules: true
fetch-depth: 0

- if: ${{ matrix.arch == 'aarch64' }}
uses: docker/setup-qemu-action@v3

- name: Get latest CMake and Ninja
uses: lukka/get-cmake@latest

- name: Setup gfortran
uses: awvwgk/setup-fortran@v1.6.1
id: setup-fortran
with:
compiler: gcc
version: 13

- uses: ts-graphviz/setup-graphviz@v1


- if: ${{ matrix.os == 'windows-latest' }}
name: cibuildwheel on Windows
Expand All @@ -109,25 +109,27 @@ jobs:
CIBW_ARCHS: ${{ matrix.arch }}
CIBW_ENVIRONMENT_PASS_LINUX: CI
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
# Will avoid testing on emulated architectures
CIBW_TEST_SKIP: "*-*linux_{aarch64,ppc64le,s390x,armv7l}"


- if: ${{ matrix.os == 'macos-13' || matrix.os == 'macos-14' }}
name: cibuildwheel on MacOS
- if: ${{ matrix.os == 'macos-13'}}
name: cibuildwheel on MacOS-13
uses: pypa/cibuildwheel@v2.21.3
env:
CIBW_BUILD: ${{ matrix.py }}-*
CIBW_ARCHS: ${{ matrix.arch }}
no_proxy: '*'

- if: ${{ matrix.os == 'macos-14' }}
name: cibuildwheel on MacOS
name: cibuildwheel on MacOS-14
uses: pypa/cibuildwheel@v2.21.3
env:
CIBW_BUILD: ${{ matrix.py }}-*
CIBW_ARCHS: ${{ matrix.arch }}
no_proxy: '*'
MACOSX_DEPLOYMENT_TARGET: 14.0

- uses: actions/upload-artifact@v4
with:
name: wheel-${{ matrix.py }}-${{ matrix.os }}-${{ matrix.arch }}
Expand Down

0 comments on commit 753b3ce

Please sign in to comment.