Skip to content

Commit

Permalink
chore(ci): Switch to nix flake check command & rename jobs (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
phated authored May 9, 2023
1 parent 77df29a commit 73d9a20
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ concurrency:

jobs:
nix:
name: Nix build & test (${{ matrix.os }})
name: Test on ${{ matrix.os }}
runs-on: ${{ matrix.os }}

strategy:
Expand All @@ -34,16 +34,12 @@ jobs:
with:
name: barretenberg

- name: Cargo clippy
- name: Run `nix flake check`
run: |
nix build -L .#checks.${{ matrix.target }}.cargo-clippy
- name: Cargo test
run: |
nix build -L .#checks.${{ matrix.target }}.cargo-test
nix flake check -L
native:
name: Native build & test (${{ matrix.os }})
name: Test on ${{ matrix.os }} with global bb
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand Down

0 comments on commit 73d9a20

Please sign in to comment.