File tree Expand file tree Collapse file tree 2 files changed +31
-22
lines changed Expand file tree Collapse file tree 2 files changed +31
-22
lines changed Original file line number Diff line number Diff line change
1
+ name : Nix Manual CI
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ inputs :
6
+ withHLS :
7
+ description : ' Build HLS'
8
+ required : true
9
+ default : ' false' # HLS fails to build against GHC 9.2.3 at the moment, turning it off.
10
+
11
+ jobs :
12
+ nix-build-and-test-ghc-9_2_3 :
13
+ strategy :
14
+ matrix :
15
+ os : [ubuntu-latest, macOS-latest]
16
+
17
+ runs-on : ${{ matrix.os }}
18
+
19
+ steps :
20
+ - uses : actions/checkout@v2.4.0
21
+
22
+ - name : Install Nix
23
+ uses : cachix/install-nix-action@v15
24
+ with :
25
+ extra_nix_config : |
26
+ access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
27
+ system-features = nixos-test benchmark big-parallel kvm
28
+
29
+ # nix-build includes running tests for the Haskell library too.
30
+ - run : |
31
+ nix-build --argstr ghcVersion ghc923 --arg withHLS ${{ github.event.inputs.withHLS }} -o result-ghc-9.2.3
Original file line number Diff line number Diff line change 26
26
27
27
# nix-build includes running tests for the Haskell library too
28
28
- run : nix-build
29
-
30
- nix-build-and-test-ghc-9_2_3 :
31
- strategy :
32
- matrix :
33
- os : [ubuntu-latest, macOS-latest]
34
-
35
- runs-on : ${{ matrix.os }}
36
-
37
- steps :
38
- - uses : actions/checkout@v2.4.0
39
-
40
- - name : Install Nix
41
- uses : cachix/install-nix-action@v15
42
- with :
43
- extra_nix_config : |
44
- access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
45
- system-features = nixos-test benchmark big-parallel kvm
46
-
47
- # nix-build includes running tests for the Haskell library too.
48
- # HLS fails to build against GHC 9.2.3 at the moment, turning it off.
49
- - run : |
50
- nix-build --argstr ghcVersion ghc923 --arg withHLS false -o result-ghc-9.2.3
You can’t perform that action at this time.
0 commit comments