File tree 1 file changed +4
-5
lines changed
1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -21,12 +21,11 @@ jobs:
21
21
container : alpine:edge
22
22
steps :
23
23
24
- - name : Setup environment
25
- # Borrowed from fossas/haskell-static-alpine, copied here for transparency
24
+ - name : Set up environment
26
25
run : |
27
26
apk --no-cache add binutils-gold curl gcc g++ git gmp-dev ncurses-dev ncurses-static libffi-dev make xz tar perl zlib-dev zlib-static
28
27
mkdir -p ~/.ghcup/bin && curl https://downloads.haskell.org/~ghcup/x86_64-linux-ghcup > ~/.ghcup/bin/ghcup && chmod +x ~/.ghcup/bin/ghcup
29
- ~/.ghcup/bin/ghcup install ghc 9.0.1 && ~/.ghcup/bin/ghcup set ghc 9.0.1 && ~/.ghcup/bin/ghcup install cabal
28
+ ~/.ghcup/bin/ghcup install ghc 9.0.2 && ~/.ghcup/bin/ghcup set ghc 9.0.2 && ~/.ghcup/bin/ghcup install cabal
30
29
echo "$HOME/.ghcup/bin/" >> $GITHUB_PATH
31
30
32
31
- name : Check out
@@ -35,11 +34,11 @@ jobs:
35
34
with :
36
35
fetch-depth : 0
37
36
38
- - name : Update cabal
37
+ - name : cabal update
39
38
run : cabal update
40
39
41
40
- name : Build on alpine
42
- run : cabal build --enable-executable-static all
41
+ run : cabal build --enable-executable-static all --constraint 'aeson < 2' # avoid yesod/aeson breakage
43
42
44
43
- name : Extract and strip binaries
45
44
run : |
You can’t perform that action at this time.
0 commit comments