From 3080f3f2a95a6afbe29fe1194649f589d95b528f Mon Sep 17 00:00:00 2001 From: seth Date: Sun, 26 Nov 2023 19:50:27 -0500 Subject: chore: update flake.lock MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Flake lock file updates: • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/85f1ba3e51676fa8cc604a3d863d729026a6b8eb' (2023-11-04) → 'github:NixOS/nixpkgs/5a09cb4b393d58f9ed0d9ca1555016a8543c2ac8' (2023-11-24) • Updated input 'pre-commit': 'github:cachix/pre-commit-hooks.nix/ea758da1a6dcde6dc36db348ed690d09b9864128' (2023-11-06) → 'github:cachix/pre-commit-hooks.nix/e5ee5c5f3844550c01d2131096c7271cec5e9b78' (2023-11-25) --- .github/workflows/ci.yaml | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 6138cbe..42f8e92 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,4 +1,4 @@ -name: ci +name: CI on: push: @@ -24,27 +24,31 @@ jobs: steps: - uses: actions/checkout@v4 - - name: setup qemu + - name: Setup QEMU if: matrix.arch == 'aarch64' - run: | - sudo apt update -y - sudo apt install -y qemu-user-static + uses: docker/setup-qemu-action@v3 + with: + platforms: arm64 - - name: install nix + - name: Install Nix if: matrix.arch != 'aarch64' uses: DeterminateSystems/nix-installer-action@v7 - - name: install nix (with aarch64) + - name: Install Nix (with aarch64) if: matrix.arch == 'aarch64' uses: DeterminateSystems/nix-installer-action@v7 with: extra-conf: "extra-platforms = aarch64-linux arm-linux" - - name: setup cache + - name: Setup cache uses: DeterminateSystems/magic-nix-cache-action@v2 - - name: run build + - name: Run build if: matrix.arch != 'aarch64' + run: nix build -L + + - name: Run ARM build + if: matrix.arch == 'aarch64' run: nix build -Lv .#packages.${{ matrix.arch }}-linux.default check: @@ -53,11 +57,11 @@ jobs: steps: - uses: actions/checkout@v4 - - name: install nix + - name: Install Nix uses: DeterminateSystems/nix-installer-action@v7 - - name: setup cache + - name: Setup cache uses: DeterminateSystems/magic-nix-cache-action@v2 - - name: run check + - name: Run check run: nix flake check --show-trace -- cgit v1.2.3