Skip to content

Commit

Permalink
Fixed arm64 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Elgemp4 authored Nov 13, 2024
1 parent 940f38b commit acccdd2
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -369,12 +369,23 @@ jobs:
path: dist

- name: Test wheel (Linux)
if: matrix.config.os-name == 'linux'
if: matrix.config.os-name == 'linux'&& matrix.config.python-arch == 'x86_64'
# run: .github/scripts/test-linux.sh
run: docker run --rm -e PYTHON_VERSION -w /io -v `pwd`:/io ${{ matrix.config.docker-image }} /io/.github/scripts/test-linux.sh
env:
PYTHON_VERSION: ${{ matrix.config.python-version }}

- name: Set up QEMU (Linux ARM64)
if: matrix.config.os-name == 'linux' && matrix.config.python-arch == 'aarch64'
uses: docker/setup-qemu-action@v2

- name: Test wheel (Linux ARM64)
if: matrix.config.os-name == 'linux' && matrix.config.python-arch == 'aarch64'
# run: .github/scripts/test-linux.sh
run: docker run --rm --platform linux/arm64 -e PYTHON_VERSION -w /io -v `pwd`:/io ${{ matrix.config.docker-image }} /io/.github/scripts/test-linux.sh
env:
PYTHON_VERSION: ${{ matrix.config.python-version }}

- name: Setup Python (Windows)
if: matrix.config.os-name == 'windows'
uses: actions/setup-python@v4
Expand Down

0 comments on commit acccdd2

Please sign in to comment.