File tree Expand file tree Collapse file tree 1 file changed +16
-14
lines changed Expand file tree Collapse file tree 1 file changed +16
-14
lines changed Original file line number Diff line number Diff line change 9
9
push :
10
10
branches : [master]
11
11
12
+ workflow_dispatch :
13
+
12
14
jobs :
13
15
cabal :
14
16
name : ${{ matrix.os }} / ghc ${{ matrix.ghc }}
@@ -17,31 +19,30 @@ jobs:
17
19
fail-fast : false
18
20
matrix :
19
21
os : [ubuntu-latest]
20
- ghc : ['9.8.4 '] # bootstrapping compiler
22
+ ghc : ['98 '] # bootstrapping compiler
21
23
22
24
steps :
23
25
- uses : actions/checkout@v4
24
26
with :
25
27
submodules : " recursive"
26
28
27
- - uses : haskell-actions/setup@v2
28
- id : setup
29
- name : Setup Haskell tools
29
+ - uses : input-output-hk/actions/devx@latest
30
30
with :
31
- ghc-version : ${{ matrix.ghc }}
32
- cabal-version : " latest"
33
- cabal-update : true
31
+ platform : ' x86_64-linux'
32
+ compiler-nix-name : ' ghc98'
33
+ minimal : true
34
+ ghc : true
34
35
35
- - name : Configure the build
36
- run : ./boot
36
+ - name : Update hackage
37
+ shell : devx {0}
38
+ run : cabal update
37
39
38
- - name : Build patched cabal
39
- run : make cabal
40
+ - name : Configure the build
41
+ shell : devx {0}
42
+ run : ./configure
40
43
41
44
- name : Build the bindist
42
- env :
43
- CC : gcc
44
- CXX : g++
45
+ shell : devx {0}
45
46
run : make
46
47
47
48
- name : Upload artifacts
51
52
path : _build/bindist
52
53
53
54
- name : Run the testsuite
55
+ shell : devx {0}
54
56
run : make test
55
57
56
58
- name : Upload test results
You can’t perform that action at this time.
0 commit comments