Skip to content

Commit

Permalink
chore(ci): Matrix Nix build; Test x86 and aarch64 systems as well
Browse files Browse the repository at this point in the history
  • Loading branch information
vifino committed Nov 30, 2023
1 parent 115c2ec commit c574540
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit c574540

Please sign in to comment.