From 759cc0b053188a6b143dd51abd68b6b78b4046a4 Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Mon, 4 Dec 2023 11:04:15 -0500 Subject: [PATCH] Build on ARM64-Linux --- .github/workflows/build.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 087b1c4..39f69ce 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -71,3 +71,26 @@ jobs: name: magic-nix-cache-X64-Linux path: result/bin/magic-nix-cache retention-days: 1 + + build-artifacts-ARM64-Linux: + concurrency: build-X64-Linux + runs-on: namespace-profile-default-arm64 + steps: + - uses: actions/checkout@v3 + + - uses: DeterminateSystems/flake-checker-action@main + + - uses: DeterminateSystems/nix-installer-action@main + + # - uses: DeterminateSystems/magic-nix-cache-action@main + + - name: Build package + run: "nix build .# -L --fallback" + + - name: Upload a Build Artifact + uses: actions/upload-artifact@v3.1.2 + with: + # Artifact name + name: magic-nix-cache-ARM64-Linux + path: result/bin/magic-nix-cache + retention-days: 1