Skip to content

Commit

Permalink
Update alpine images
Browse files Browse the repository at this point in the history
  • Loading branch information
hasufell committed Feb 4, 2025
1 parent 12da0d7 commit a0a5182
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:

- if: matrix.ARCH == '32'
name: Run build (32 bit linux)
uses: docker://hasufell/i386-alpine-haskell:3.12
uses: docker://hasufell/i386-alpine-haskell:3.21
with:
args: sh .github/scripts/build.sh
env:
Expand All @@ -60,7 +60,7 @@ jobs:

- if: matrix.ARCH == '64'
name: Run build (64 bit linux)
uses: docker://hasufell/alpine-haskell:3.12
uses: docker://hasufell/alpine-haskell:3.21
with:
args: sh .github/scripts/build.sh
env:
Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:
submodules: 'true'

- if: matrix.ARCH == 'ARM64'
uses: docker://hasufell/arm64v8-alpine-haskell:3.20
uses: docker://hasufell/arm64v8-alpine-haskell:3.21
name: Run build (aarch64 linux)
with:
args: sh -c ".github/scripts/build.sh '--ghc-options=-split-sections' '--enable-executable-static'"
Expand Down Expand Up @@ -299,7 +299,7 @@ jobs:

- if: matrix.ARCH == '32' && matrix.DISTRO == 'Alpine'
name: Run test (32 bit linux Alpine)
uses: docker://hasufell/i386-alpine-haskell:3.12
uses: docker://hasufell/i386-alpine-haskell:3.21
with:
args: sh .github/scripts/test.sh
env:
Expand All @@ -310,7 +310,7 @@ jobs:

- if: matrix.ARCH == '64' && matrix.DISTRO == 'Alpine'
name: Run test (64 bit linux Alpine)
uses: docker://hasufell/alpine-haskell:3.12
uses: docker://hasufell/alpine-haskell:3.21
with:
args: sh .github/scripts/test.sh
env:
Expand Down Expand Up @@ -365,7 +365,7 @@ jobs:
path: ./out

- if: matrix.ARCH == 'ARM64'
uses: docker://hasufell/arm64v8-alpine-haskell:3.20
uses: docker://hasufell/arm64v8-alpine-haskell:3.21
name: Run test (aarch64 alpine)
with:
args: sh .github/scripts/test.sh
Expand Down
7 changes: 3 additions & 4 deletions cabal.project.release
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ if os(linux)
constraints: xz -system-xz
if arch(x86_64) || arch(i386)
flags: -tar
package *
ghc-options: -split-sections -optl-static
executable-static: True
split-sections: True
elif arch(arm)
flags: +tar
else
Expand All @@ -37,8 +37,7 @@ elif os(freebsd)
constraints: zlib +bundled-c-zlib,
zip +disable-zstd,
xz -system-xz
package *
ghc-options: -split-sections
split-sections: True
else
package ghcup
flags: +tar

0 comments on commit a0a5182

Please sign in to comment.