Skip to content

Commit

Permalink
also enable binfmt for the VM tests
Browse files Browse the repository at this point in the history
fixes error when nix tries to build stuff for aarch64
  • Loading branch information
DavHau committed Dec 6, 2023
1 parent 47e1f1a commit 1fa859a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/nix-portable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,15 @@ jobs:
name: nix-portable
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
with:
image: tonistiigi/binfmt@sha256:8de6f2decb92e9001d094534bf8a92880c175bd5dfb4a9d8579f26f09821cfa2
platforms: all

- name: Install binfmt support
run: sudo apt-get install -y

- run: 'nix run -L .#job-qemu-${{ matrix.qemu_os }}'


Expand Down

0 comments on commit 1fa859a

Please sign in to comment.