File tree Expand file tree Collapse file tree 2 files changed +14
-19
lines changed
Expand file tree Collapse file tree 2 files changed +14
-19
lines changed Original file line number Diff line number Diff line change 1111 target :
1212 - double : aarch64-linux # target we are building for
1313 system : aarch64-linux # system we are building on
14- emulated : true # whether this build is being emulated
15- runner : ubuntu-24.04 # GitHub runner the build is running on
14+ runner : ubuntu-24.04-arm # GitHub runner the build is running on
1615 flake : bundled # flake package to build
1716 interpreter : /lib/ld-linux-aarch64.so.1 # path to libc interpreter
1817 - double : x86_64-linux
@@ -36,15 +35,13 @@ jobs:
3635 steps :
3736 - name : Checkout
3837 uses : actions/checkout@v4
39- - name : QEMU
40- if : ${{ matrix.target.emulated }}
41- run : sudo apt-get install -y qemu-user-static
4238 - name : Nix
4339 uses : DeterminateSystems/nix-installer-action@v16
44- with :
45- extra-conf : extra-platforms = ${{ matrix.target.system }}
4640 - name : Cache
47- uses : DeterminateSystems/magic-nix-cache-action@v8
41+ uses : nix-community/cache-nix-action@v5
42+ with :
43+ primary-key : nix-${{ matrix.target.double }}
44+ gc-max-store-size : 1879048192
4845 - name : Build
4946 run : nix build -L .#packages.${{ matrix.target.system }}.${{ matrix.target.flake }}
5047 - name : Set interpreter
Original file line number Diff line number Diff line change @@ -13,25 +13,23 @@ jobs:
1313 strategy :
1414 matrix :
1515 target :
16- - double : aarch64-linux # target we are building for
17- architecture : arm64 # container architecture label
18- emulated : true # whether this build host is being emulated
16+ - double : aarch64-linux # target we are building for
17+ architecture : arm64 # container architecture label
18+ runner : ubuntu-24.04-arm # GitHub runner the build is running on
1919 - double : x86_64-linux
2020 architecture : amd64
21- runs-on : ubuntu-24.04
21+ runner : ubuntu-24.04
22+ runs-on : ${{ matrix.target.runner }}
2223 steps :
2324 - name : Checkout
2425 uses : actions/checkout@v4
25- - name : QEMU
26- if : ${{ matrix.target.emulated }}
27- run : sudo apt-get install -y qemu-user-static
2826 - name : Nix
2927 uses : DeterminateSystems/nix-installer-action@v16
30- with :
31- extra-conf : |
32- extra-platforms = ${{ matrix.target.double }}
3328 - name : Cache
34- uses : DeterminateSystems/magic-nix-cache-action@v8
29+ uses : nix-community/cache-nix-action@v5
30+ with :
31+ primary-key : nix-${{ matrix.target.double }}
32+ gc-max-store-size : 1879048192
3533 - name : Build
3634 run : nix build -L .#packages.${{ matrix.target.double }}.container
3735 - name : Login
You can’t perform that action at this time.
0 commit comments