This repository was archived by the owner on May 21, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +22
-2
lines changed
Expand file tree Collapse file tree 1 file changed +22
-2
lines changed Original file line number Diff line number Diff line change @@ -124,27 +124,47 @@ jobs:
124124
125125 build-parser :
126126 runs-on : ubuntu-latest
127+ strategy :
128+ matrix :
129+ machine :
130+ - platform : x86_64-linux
131+ - platform : aarch64-linux
127132 steps :
128133 - uses : actions/checkout@v4
134+ - if : matrix.machine.platform != 'x86_64-linux'
135+ uses : docker/setup-qemu-action@v3
129136 - uses : cachix/install-nix-action@v26
137+ with :
138+ extra_nix_config : |
139+ extra-platforms = aarch64-linux
130140 - uses : icewind1991/attic-action@v1
131141 with :
132142 name : ci
133143 instance : https://cache.icewind.me
134144 authToken : ' ${{ secrets.ATTIC_TOKEN }}'
135- - run : nix build .#demostf-parser
145+ - run : nix build --option system ${{ matrix.machine.platform }} .#demostf-parser
136146
137147 build :
138148 runs-on : ubuntu-latest
149+ strategy :
150+ matrix :
151+ machine :
152+ - platform : x86_64-linux
153+ - platform : aarch64-linux
139154 steps :
140155 - uses : actions/checkout@v4
156+ - if : matrix.machine.platform != 'x86_64-linux'
157+ uses : docker/setup-qemu-action@v3
141158 - uses : cachix/install-nix-action@v26
159+ with :
160+ extra_nix_config : |
161+ extra-platforms = aarch64-linux
142162 - uses : icewind1991/attic-action@v1
143163 with :
144164 name : ci
145165 instance : https://cache.icewind.me
146166 authToken : ' ${{ secrets.ATTIC_TOKEN }}'
147- - run : nix build
167+ - run : nix build --option system ${{ matrix.machine.platform }}
148168
149169 docker :
150170 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments