From b87180b9857ac31e16540a4805f6894bc229d63e Mon Sep 17 00:00:00 2001 From: Quentin Boyer Date: Sun, 12 Feb 2023 13:38:28 +0100 Subject: [PATCH] Add an action to build all the packages --- .github/workflows/build.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..155ca6e --- /dev/null +++ b/.github/workflows/build.yml @@ -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 '.#{}'