From 50096a50e7a8e882da5282a99f3c0e5a7ebf34d1 Mon Sep 17 00:00:00 2001 From: xinyangli Date: Wed, 14 Aug 2024 15:29:58 +0800 Subject: [PATCH] ci: build nix packages --- .gitea/workflows/build.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .gitea/workflows/build.yml diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml new file mode 100644 index 0000000..cd8d748 --- /dev/null +++ b/.gitea/workflows/build.yml @@ -0,0 +1,20 @@ +name: Build nix packages +on: [push] + +jobs: + build-matrix: + runs-on: nix + strategy: + matrix: + package: [ "default" ] + steps: + - uses: https://github.com/cachix/cachix-action@v14 + with: + name: ysyx + authToken: '${{ secrets.CACHIX_SIGNING_KEY }}' + + - uses: actions/checkout@v4 + + - name: Build am-kernels + run: | + nix build -L .#${{ matrix.package }}