Skip to content

Commit 2927937

Browse files
committed
Add workflow Materialize
1 parent 43fcc92 commit 2927937

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/materialize.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: 'Materialize'
2+
on:
3+
push:
4+
branches-ignore:
5+
- 'master'
6+
jobs:
7+
release:
8+
name: 'Materialize'
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Check out code
12+
uses: actions/[email protected]
13+
with:
14+
submodules: recursive
15+
16+
- name: Install Nix
17+
uses: cachix/install-nix-action@v12
18+
with:
19+
extra_nix_config: |
20+
substituters = http://cache.nixos.org https://hydra.iohk.io
21+
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=
22+
23+
- name: Install Cachix
24+
uses: cachix/cachix-action@v8
25+
with:
26+
name: runtimeverification
27+
extraPullNames: 'kore'
28+
skipPush: true
29+
30+
- name: Materialize
31+
run: nix-build -A kore -A project.kore.checks
32+
33+
- name: Commit changes
34+
uses: stefanzweifel/[email protected]
35+
with:
36+
commit_message: 'Materialize Nix expressions'
37+
file_pattern: 'nix/'

0 commit comments

Comments
 (0)