Skip to content

Commit

Permalink
Add check if QEMU is actually required to build wheels (#837)
Browse files Browse the repository at this point in the history
  • Loading branch information
agners authored Feb 28, 2025
1 parent cce8b01 commit f9fa4e8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,14 @@ runs:
echo "path=$data_path" >> $GITHUB_OUTPUT
- shell: bash
id: host-info
run: |
echo "host-machine=$(uname -m)" >> $GITHUB_OUTPUT
- shell: bash
if: |
steps.host-info.outputs.host-machine == 'x86_64'
&& !(matrix.arch == 'amd64' || matrix.arch == 'i386')
run: |
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
Expand Down

0 comments on commit f9fa4e8

Please sign in to comment.