File tree Expand file tree Collapse file tree 3 files changed +1
-10
lines changed Expand file tree Collapse file tree 3 files changed +1
-10
lines changed Original file line number Diff line number Diff line change 16
16
17
17
ghcup --no-verbose install ghc --set --install-targets " ${GHC_TARGETS} " " ${GHC_VERSION} "
18
18
19
- sed -i.bak -e ' /DELETE MARKER FOR CI/,/END DELETE/d' cabal.project # see comment in cabal.project
20
19
cabal update
21
20
cabal user-config diff
22
21
cabal user-config init -f
Original file line number Diff line number Diff line change 46
46
shell : bash
47
47
48
48
- name : Release
49
- if : startsWith(github.ref, 'refs/tags/')
50
49
uses : softprops/action-gh-release@v1
51
50
with :
52
51
draft : true
Original file line number Diff line number Diff line change 49
49
echo apk_tools="${{ env.APK }}" >> "$GITHUB_OUTPUT"
50
50
echo xbps_tools="${{ env.XBPS }}" >> "$GITHUB_OUTPUT"
51
51
52
- # artifacts are also identified by branch names
53
- # (since we can trigger this action with a list of branches)
54
- # we need to make sure that upload/download action get valid filenames (e.g. '/' is
55
- # allowed in branch name, but not in file name)
56
- - name : Normalize branch names
57
- run : |
58
-
59
52
build-linux :
60
53
name : Build linux binaries
61
54
runs-on : ubuntu-latest
@@ -210,7 +203,7 @@ jobs:
210
203
- name : Run build (32 bit linux)
211
204
uses : docker://hasufell/i386-alpine-haskell:3.21
212
205
with :
213
- args : sh -c "apk update && apk add groff bash binutils-gold curl gcc g++ gmp-dev libc-dev libffi-dev make musl-dev ncurses-dev perl tar xz autoconf automake bzip2 coreutils elfutils-dev findutils git jq bzip2-dev patch python3 sqlite sudo wget which zlib-dev patchelf zlib zlib-dev zlib-static && export PATH=$HOME/.ghcup/bin:$PATH && bash .github/scripts/build.sh"
206
+ args : sh -c "export PATH=$HOME/.ghcup/bin:$PATH && bash .github/scripts/build.sh"
214
207
215
208
- if : always()
216
209
name : Upload artifact
You can’t perform that action at this time.
0 commit comments