Skip to content

Commit

Permalink
Merge pull request #1260 from jluebbe/fix-cross-ci
Browse files Browse the repository at this point in the history
.github/workflows/tests: switch to official multiarch Debian containers
  • Loading branch information
ejoerns committed Oct 10, 2023
2 parents 54bcdef + f68a5dc commit 94523a6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,18 +83,18 @@ jobs:
strategy:
matrix:
architecture:
- armhf
- arm64
- armel
- i386
- "arm/v5"
- "arm/v7"
- "arm64/v8"
- "386"
steps:
- uses: actions/checkout@v3

- name: Prepare ${{ matrix.architecture }} container
run: |
sudo apt-get update
sudo DEBIAN_FRONTEND='noninteractive' apt-get install -qy qemu-user-static
docker run --name cross -di -v "$PWD":/home -w /home multiarch/debian-debootstrap:${{ matrix.architecture }}-bullseye bash
docker run --name cross -di --platform linux/${{ matrix.architecture }} -v "$PWD":/home -w /home debian:bookworm bash
docker logs cross
docker exec -i cross uname -a
docker exec -i cross apt-get update
Expand Down

0 comments on commit 94523a6

Please sign in to comment.