diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml new file mode 100644 index 0000000..6424fa7 --- /dev/null +++ b/.gitea/workflows/build.yml @@ -0,0 +1,25 @@ +name: Build packages +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + build-packages: + strategy: + matrix: + package: + - "default" + runs-on: nix + steps: + - uses: https://github.com/cachix/cachix-action@v14 + with: + name: ysyx + authToken: '${{ secrets.CACHIX_SIGNING_KEY }}' + - uses: actions/checkout@v4 + - name: Build package + run: | + nix build -L .#${{ matrix.package }}