Skip to content

Commit

Permalink
feat(scripts): Add script for building all supported targets in one go
Browse files Browse the repository at this point in the history
Useful when using the distributed Nix build feature.
  • Loading branch information
PetarKirov committed Jul 23, 2023
1 parent 6dc1ea6 commit ebf0dc3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions scripts/ci-all.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/usr/bin/env bash

set -euo pipefail

nix="$(if tty -s; then echo nom; else echo nix; fi)"

set -x
nix flake check
$nix build -L --json --no-link --keep-going \
.#devShells.{x86_64-linux,{x86_64,aarch64}-darwin}.default

0 comments on commit ebf0dc3

Please sign in to comment.