diff --git a/.github/workflows/ironworks-spark.yml b/.github/workflows/ironworks-spark.yml new file mode 100644 index 000000000000..73422066c39b --- /dev/null +++ b/.github/workflows/ironworks-spark.yml @@ -0,0 +1,46 @@ +name: Ironworks Spark + +on: + pull_request: + branches: + - master + push: + branches: + - master + +permissions: + contents: read + +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + +jobs: + spark: + name: Spark + runs-on: ubuntu-24.04 + steps: + - name: Checkout source + uses: actions/checkout@v6 + with: + path: source + + - name: Checkout Ironworks + uses: actions/checkout@v6 + with: + repository: 2140-dev/ironworks + path: ironworks + + - uses: cachix/install-nix-action@v31 + with: + extra_nix_config: | + experimental-features = nix-command flakes + extra-substituters = https://2140-dev.cachix.org + extra-trusted-public-keys = 2140-dev.cachix.org-1:0brdoxVmXjL5udKuI+vXXwdEjPInGQKjCiyJLReZBt8= + + - name: Run correctness + run: | + cd ironworks + nix build .#checks.x86_64-linux.correctness \ + --override-input node path:${{ github.workspace }}/source \ + --print-build-logs