Run the flake as part of CI
The update to the build script makes it so that the entire script exits when a failure is encountered (and returns with that exit code).
This commit is contained in:
parent
a73239d2cf
commit
65834d0ff6
1
.github/workflows/build.yml
vendored
1
.github/workflows/build.yml
vendored
|
@ -10,3 +10,4 @@ jobs:
|
||||||
- uses: cachix/install-nix-action@v19
|
- uses: cachix/install-nix-action@v19
|
||||||
- run: nix build
|
- run: nix build
|
||||||
- run: nix flake check
|
- run: nix flake check
|
||||||
|
- run: nix run
|
||||||
|
|
2
build.sh
2
build.sh
|
@ -1,5 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
# Following variables are set via sed in the buildPhase step
|
# Following variables are set via sed in the buildPhase step
|
||||||
PREFIX=""
|
PREFIX=""
|
||||||
# Intentionally overriding PATH so supressing shellcheck
|
# Intentionally overriding PATH so supressing shellcheck
|
||||||
|
|
Loading…
Reference in a new issue