Skip to content

Commit

Permalink
get python running on arm emulation.
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoernrennfanz committed Dec 4, 2024
1 parent 221b193 commit bfbf2bc
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ jobs:
run: |
if [[ "$(uname -m)" != "aarch64" ]]; then
sudo apt-get update
sudo apt-get install -y qemu-user-static
sudo apt-get install -y qemu-user-static binfmt-support
docker run --rm --privileged multiarch/qemu-user-static:register --reset
fi
Expand All @@ -328,7 +328,13 @@ jobs:
path: pypylon-wheels

- name: Set up Python ${{ matrix.python-version }}
if: runner.os != 'Linux' && matrix.architecture != 'arm64'
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
architecture: ${{ matrix.architecture }}

- name: Set up Python ${{ matrix.python-version }} (Docker)
if: runner.os == 'Linux' && matrix.architecture == 'arm64'
run: |
docker run --rm --it python:${{ matrix.python-version }}-slim /bin/bash -c "python --version"

0 comments on commit bfbf2bc

Please sign in to comment.