Skip to content

Commit e776f75

Browse files
committed
github-actions: add multiarch support
1 parent 0c0f768 commit e776f75

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
name: "Test"
23
on:
34
pull_request:
@@ -98,11 +99,17 @@ jobs:
9899
sudo rm -rf /opt/hostedtoolcache/CodeQL
99100
sudo docker image prune --all --force
100101
- uses: actions/checkout@v4
102+
- name: Set up QEMU
103+
uses: docker/setup-qemu-action@v3
104+
with:
105+
platforms: arm64
101106
- uses: cachix/install-nix-action@v31
102107
with:
103108
nix_path: nixpkgs=channel:nixos-unstable
104109
enable_kvm: true
105-
extra_nix_config: "system-features = nixos-test benchmark big-parallel kvm"
110+
extra_nix_config: |
111+
system-features = nixos-test benchmark big-parallel kvm
112+
extra-platforms = aarch64-linux i686-linux
106113
- uses: cachix/cachix-action@v16
107114
with:
108115
name: wires

0 commit comments

Comments
 (0)