Skip to content

Commit

Permalink
Use nix environment in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Rixxc committed Apr 9, 2024
1 parent 4d3d4a4 commit 7b4e1fb
Show file tree
Hide file tree
Showing 3 changed files with 385 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/amd64-linux-main-deploy-nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,17 @@ jobs:
- name: checkout
uses: actions/checkout@v4

- name: enter nix shell
uses: nix develop

- name: compile
run: nix-shell --command "make -j$JOBS -C src/ CI=1 default"
run: make -j$JOBS -C src/ CI=1 default

- name: print logs
run: nix-shell --command "make -C src/ CI=1 reporter"
run: make -C src/ CI=1 reporter

- name: return error if there are any errors
run: nix-shell --command "make -C src/ CI=1 err"
run: make -C src/ CI=1 err

- name: libjade-logs-src.tar.gz - contains non-empty logs and errors
if: always()
Expand Down
315 changes: 315 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 7b4e1fb

Please sign in to comment.