Skip to content

Commit f7c8a2b

Browse files
committed
ci: add Ironworks Spark workflow
1 parent 6ca607f commit f7c8a2b

1 file changed

Lines changed: 46 additions & 0 deletions

File tree

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: Ironworks Spark
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- "**"
8+
tags-ignore:
9+
- "**"
10+
11+
permissions:
12+
contents: read
13+
14+
concurrency:
15+
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.ref || github.run_id }}
16+
cancel-in-progress: true
17+
18+
jobs:
19+
spark:
20+
name: Spark
21+
runs-on: ubuntu-24.04
22+
steps:
23+
- name: Checkout source
24+
uses: actions/checkout@v6
25+
with:
26+
path: source
27+
28+
- name: Checkout Ironworks
29+
uses: actions/checkout@v6
30+
with:
31+
repository: 2140-dev/ironworks
32+
path: ironworks
33+
34+
- uses: cachix/install-nix-action@v31
35+
with:
36+
extra_nix_config: |
37+
experimental-features = nix-command flakes
38+
extra-substituters = https://2140-dev.cachix.org
39+
extra-trusted-public-keys = 2140-dev.cachix.org-1:0brdoxVmXjL5udKuI+vXXwdEjPInGQKjCiyJLReZBt8=
40+
41+
- name: Run correctness
42+
run: |
43+
cd ironworks
44+
nix build .#checks.x86_64-linux.correctness \
45+
--override-input node path:${{ github.workspace }}/source \
46+
--print-build-logs

0 commit comments

Comments
 (0)