From c5745400cdcf95aa047bebc8cbf98c4f33b2db65 Mon Sep 17 00:00:00 2001 From: Adrian Pistol Date: Thu, 30 Nov 2023 14:16:04 +0100 Subject: [PATCH] chore(ci): Matrix Nix build; Test x86 and aarch64 systems as well --- .github/workflows/nix.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/nix.yml b/.github/workflows/nix.yml index be45e33..237158c 100644 --- a/.github/workflows/nix.yml +++ b/.github/workflows/nix.yml @@ -7,15 +7,18 @@ on: branches: [ "master" ] jobs: - build: + integration: runs-on: ubuntu-latest + strategy: + matrix: + system: [x86_64-linux, aarch64-linux, x86-linux] + check: [loop, tcp] + name: ${{ matrix.check }} - ${{ matrix.system }} steps: - uses: actions/checkout@v3 - name: Install Nix uses: DeterminateSystems/nix-installer-action@main - with: - extra-conf: "system-features = nixos-test benchmark big-parallel kvm" - name: Setup Magic Nix cache uses: DeterminateSystems/magic-nix-cache-action@main - - name: Run Flake Checks - run: nix flake check -L + - name: Run Flake Check + run: nix build -L .#checks.${{ matrix.system }}.${{ matrix.check }}