Add an action to build all the packages

This commit is contained in:
Quentin Boyer 2023-02-12 13:38:28 +01:00
parent 964ab7b5b0
commit b87180b985

19
.github/workflows/build.yml vendored Normal file
View file

@ -0,0 +1,19 @@
name: "Build"
on:
push:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v17
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v11
with:
name: traxys
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: >
nix flake show --json |
jq -r '.packages."x86_64-linux" | keys | .[]' |
xargs -I'{}' nix build '.#{}'