File tree Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Haskell CI
2
+
3
+ on :
4
+ push :
5
+ tags :
6
+ - " v*.*.*"
7
+
8
+ permissions :
9
+ contents : read
10
+
11
+ jobs :
12
+ build :
13
+
14
+ runs-on : ${{ matrix.os }}
15
+ strategy :
16
+ matrix :
17
+ os : [ubuntu-latest, macos-latest, windows-latest]
18
+
19
+ steps :
20
+ - uses : actions/checkout@v4
21
+ - uses : actions/setup-haskell@v1
22
+ with :
23
+ ghc-version : ' 9.8.2'
24
+ cabal-version : ' 3.10.3.0'
25
+
26
+ - name : Cache
27
+ uses : actions/cache@v3
28
+ env :
29
+ cache-name : cache-cabal
30
+ with :
31
+ path : ~/.cabal
32
+ key : ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/*.cabal') }}-${{ hashFiles('**/cabal.project') }}
33
+ restore-keys : |
34
+ ${{ runner.os }}-build-${{ env.cache-name }}-
35
+ ${{ runner.os }}-build-
36
+ ${{ runner.os }}-
37
+
38
+ - name : Install dependencies
39
+ run : |
40
+ cabal update
41
+ cabal build --only-dependencies
42
+
43
+ - name : Build
44
+ run : cabal build
45
+
46
+ - name : Release
47
+ run : cabal list-bin llami
48
+
You can’t perform that action at this time.
0 commit comments