diff options
| author | seth <[email protected]> | 2023-11-26 19:50:27 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2023-11-26 19:54:25 -0500 |
| commit | 3080f3f2a95a6afbe29fe1194649f589d95b528f (patch) | |
| tree | de6684ea24992d169255bd50459332b2291c54d4 /.github/workflows | |
| parent | 8c8c7a436237099fb5dc468eaa8bcbf9ed91cbc7 (diff) | |
chore: update flake.lock
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)
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/ci.yaml | 28 |
1 files changed, 16 insertions, 12 deletions
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 |
