Skip to content

Commit

Permalink
Add support for adding multiple systems later. important for testing …
Browse files Browse the repository at this point in the history
…graviton
  • Loading branch information
arianvp committed Nov 24, 2023
1 parent ba1fb1e commit cef42ac
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,14 @@ on:

jobs:
build:
runs-on: ubuntu-latest
runs-on: ${{ matrix.system[0] }}
strategy:
matrix:
system:
- [ubuntu-latest, x86_64-linux]
# TODO Graviton ARM
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@v7
- uses: DeterminateSystems/magic-nix-cache-action@v2
- run: nix flake check
- run: nix flake build
- run: nix flake check --system ${{ matrix.system[1] }}}

0 comments on commit cef42ac

Please sign in to comment.