diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..20d0997 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,18 @@ +name: Build rockslide +run-name: Build triggered by ${{ github.actor }} +on: + - pull_request + - push +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: cachix/install-nix-action@v22 + with: + nix_path: nixpkgs=channel:nixos-23.11 + - run: nix-build . + - uses: actions/upload-artifact@v4 + with: + name: rockslide + path: result/bin/rockslide \ No newline at end of file