Skip to content

Commit e8e150b

Browse files
committed
Use GHC 9.6.7 for compiling ghcup on i386
Fixes #1107
1 parent 5bd739a commit e8e150b

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
include:
3333
- os: ubuntu-latest
3434
ARTIFACT: "i386-linux-ghcup"
35-
GHC_VER: 8.10.7
35+
GHC_VER: 9.6.7
3636
ARCH: 32
3737
- os: ubuntu-latest
3838
ARTIFACT: "x86_64-linux-ghcup"
@@ -272,7 +272,7 @@ jobs:
272272
include:
273273
- os: ubuntu-latest
274274
ARTIFACT: "i386-linux-ghcup"
275-
GHC_VER: 8.10.7
275+
GHC_VER: 9.6.7
276276
ARCH: 32
277277
DISTRO: Alpine
278278
- os: ubuntu-latest

cabal.project.release

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,20 @@ package libyaml
1818
if os(linux)
1919
package ghcup
2020
flags: +yaml-streamly
21-
constraints: xz -system-xz
22-
if arch(x86_64) || arch(i386)
21+
if arch(x86_64)
22+
constraints: xz -system-xz
23+
flags: -tar
24+
executable-static: True
25+
package *
26+
ghc-options: -split-sections
27+
elif arch(i386)
28+
constraints: xz +system-xz
2329
flags: -tar
2430
executable-static: True
2531
package *
2632
ghc-options: -split-sections
2733
elif arch(arm)
34+
constraints: xz -system-xz
2835
flags: +tar
2936
else
3037
flags: -tar

0 commit comments

Comments
 (0)