File tree 1 file changed +51
-0
lines changed
1 file changed +51
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ # Trigger the workflow on push or pull request, but only for the master branch
4
+ on :
5
+ pull_request :
6
+ types :
7
+ - opened
8
+ - synchronize
9
+ push :
10
+ branches : [master]
11
+
12
+ jobs :
13
+ cabal :
14
+ name : ${{ matrix.os }} / ghc ${{ matrix.ghc }}
15
+ runs-on : ${{ matrix.os }}
16
+ strategy :
17
+ fail-fast : false
18
+ matrix :
19
+ os : [ubuntu-latest]
20
+ ghc : ['9.6.5'] # bootstrapping compiler
21
+
22
+ steps :
23
+ - uses : actions/checkout@v4
24
+ with :
25
+ submodules : " recursive"
26
+
27
+ - uses : haskell-actions/setup@v2
28
+ id : setup
29
+ name : Setup Haskell tools
30
+ with :
31
+ ghc-version : ${{ matrix.ghc }}
32
+ cabal-version : " latest"
33
+ cabal-update : true
34
+
35
+ - name : Install Alex and Happy
36
+ run : |
37
+ cabal install alex
38
+ cabal install happy
39
+
40
+ - name : Configure the build
41
+ run : |
42
+ ./boot
43
+ ./configure
44
+
45
+ - name : Build Hadrian
46
+ run : |
47
+ ./hadrian/build --version
48
+
49
+ - name : Build the bindist
50
+ run : |
51
+ ./hadrian/build --flavour=release -j binary-dist-dir --docs=none
You can’t perform that action at this time.
0 commit comments