@@ -16,15 +16,14 @@ jobs:
16
16
ref : ${{ github.event.pull_request.head.sha }}
17
17
submodules : recursive
18
18
19
- - name : Install Nix
20
- uses : cachix/install-nix-action@v14.1
19
+ - name : ' Install Nix'
20
+ uses : cachix/install-nix-action@v15
21
21
with :
22
22
extra_nix_config : |
23
- substituters = http://cache.nixos.org https://hydra.iohk .io
23
+ substituters = http://cache.nixos.org https://cache.iog .io
24
24
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=
25
- install_url : " https://releases.nixos.org/nix/nix-2.3.16/install"
26
25
27
- - name : Install Cachix
26
+ - name : ' Install Cachix'
28
27
uses : cachix/cachix-action@v10
29
28
with :
30
29
name : runtimeverification
@@ -33,66 +32,12 @@ jobs:
33
32
- name : Build
34
33
run : nix-build -A kore
35
34
36
- nix-shell :
37
- name : ' Nix / Shell'
38
- strategy :
39
- matrix :
40
- os : [ubuntu-latest, macos-latest]
41
- runs-on : ${{ matrix.os }}
42
- steps :
43
- - name : Check out code
44
-
45
- with :
46
- # Check out pull request HEAD instead of merge commit.
47
- ref : ${{ github.event.pull_request.head.sha }}
48
- submodules : recursive
49
-
50
- - name : Install Nix
51
-
52
- with :
53
- extra_nix_config : |
54
- substituters = http://cache.nixos.org https://hydra.iohk.io
55
- trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=
56
- install_url : " https://releases.nixos.org/nix/nix-2.3.16/install"
57
-
58
- - name : Install Cachix
59
- uses : cachix/cachix-action@v10
60
- with :
61
- name : runtimeverification
62
- signingKey : ' ${{ secrets.CACHIX_SIGNING_KEY }}'
35
+ - name : Build GHC9
36
+ run : GC_DONT_GC=1 nix build .#kore-exec-prof
63
37
64
38
- name : Check shell
65
39
run : nix-shell --run "echo OK"
66
40
67
- nix-test :
68
- name : ' Nix / Test'
69
- needs : nix-build
70
- strategy :
71
- matrix :
72
- os : [ubuntu-latest, macos-latest]
73
- runs-on : ${{ matrix.os }}
74
- steps :
75
- - name : Check out code
76
-
77
- with :
78
- # Check out pull request HEAD instead of merge commit.
79
- ref : ${{ github.event.pull_request.head.sha }}
80
- submodules : recursive
81
-
82
- - name : Install Nix
83
-
84
- with :
85
- extra_nix_config : |
86
- substituters = http://cache.nixos.org https://hydra.iohk.io
87
- trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=
88
- install_url : " https://releases.nixos.org/nix/nix-2.3.16/install"
89
-
90
- - name : Install Cachix
91
- uses : cachix/cachix-action@v10
92
- with :
93
- name : runtimeverification
94
- signingKey : ' ${{ secrets.CACHIX_SIGNING_KEY }}'
95
-
96
41
- name : Run unit tests
97
42
run : nix-build -A project.kore.checks
98
43
0 commit comments