Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions .github/workflows/test-qemu-versions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Test QEMU versions for arm64 emulation

on:
workflow_dispatch:

jobs:
test-qemu:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
qemu_image:
# v10.x - current era
- "tonistiigi/binfmt:qemu-v10.2.1" # current latest, known broken
- "tonistiigi/binfmt:qemu-v10.1.3" # released Feb 17 2026, day of last good build
- "tonistiigi/binfmt:qemu-v10.0.4" # Jan 2026
# v9.x
- "tonistiigi/binfmt:qemu-v9.2.2" # reportedly has fix for segfault issue
- "tonistiigi/binfmt:qemu-v9.2.0" # known broken (Feb 2025 incident)
# v8.x
- "tonistiigi/binfmt:qemu-v8.1.5" # reported working in issue #245
- "tonistiigi/binfmt:qemu-v8.1.4"
- "tonistiigi/binfmt:qemu-v8.0.4"
# v7.x - known good baseline
- "tonistiigi/binfmt:qemu-v7.0.0-28"
name: "QEMU ${{ matrix.qemu_image }}"
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 #v3.7.0
with:
image: ${{ matrix.qemu_image }}

- name: Show QEMU version
run: docker run --rm --privileged ${{ matrix.qemu_image }} --version

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: "Test: ubuntu:22.04 apt-get install (matching compresser stage)"
run: |
docker run --rm --platform linux/arm64 ubuntu:22.04 \
bash -c "apt-get update && apt-get install -y zip binutils && echo 'SUCCESS: apt-get completed'"

- name: "Test: alpine:3.16 apk add (matching builder stage)"
run: |
docker run --rm --platform linux/arm64 alpine:3.16 \
sh -c "apk add --no-cache git make musl-dev gcc && echo 'SUCCESS: apk completed'"
Loading