62
62
- name : Cabal update
63
63
run : cabal update
64
64
65
+ - name : Configure
66
+ run : cabal configure --enable-tests --enable-executable-static --ghc-option=-split-sections -O2
67
+
65
68
- name : List exact cabal deps
66
69
run : |
67
70
cabal freeze --only-dependencies
80
83
key : dist-linux-${{ env.ghc }}-${{ github.sha }}
81
84
restore-keys : dist-linux-${{ env.ghc }}-
82
85
83
- - name : Configure
84
- run : cabal configure --enable-tests --enable-executable-static --ghc-option=-split-sections -O2
85
-
86
86
- name : Build
87
87
run : cabal build
88
88
@@ -124,6 +124,9 @@ jobs:
124
124
ghc-version : ${{ env.ghc }}
125
125
cabal-version : ${{ env.cabal }}
126
126
127
+ - name : Configure
128
+ run : cabal configure --enable-tests -O2
129
+
127
130
- name : List exact cabal deps
128
131
run : |
129
132
cabal freeze --only-dependencies
@@ -142,9 +145,6 @@ jobs:
142
145
key : dist-${{ matrix.os }}-${{ env.ghc }}-${{ github.sha }}
143
146
restore-keys : dist-${{ matrix.os }}-${{ env.ghc }}-
144
147
145
- - name : Configure
146
- run : cabal configure --enable-tests -O2
147
-
148
148
- name : Build
149
149
run : cabal build
150
150
@@ -180,6 +180,9 @@ jobs:
180
180
ghc-version : ${{ env.ghc }}
181
181
cabal-version : ${{ env.cabal }}
182
182
183
+ - name : Configure
184
+ run : cabal configure --enable-tests -O2
185
+
183
186
- name : List exact cabal deps
184
187
run : |
185
188
cabal freeze --only-dependencies
@@ -198,9 +201,6 @@ jobs:
198
201
key : dist-win-${{ env.ghc }}-${{ github.sha }}
199
202
restore-keys : dist-win-${{ env.ghc }}-
200
203
201
- - name : Configure
202
- run : cabal configure --enable-tests -O2
203
-
204
204
- name : Build
205
205
run : cabal build
206
206
0 commit comments