Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
6c0bf49
Run CI on a big-endian system
meooow25 Feb 14, 2026
55df8b1
Try deps list from https://www.haskell.org/ghcup/install/#linux-ubuntu
meooow25 Feb 14, 2026
4060884
GHCup doesn't work, try apt-get
meooow25 Feb 14, 2026
e322487
Missed a GHCup line
meooow25 Feb 14, 2026
6563acd
Verbose cabal update
meooow25 Feb 14, 2026
c9e7a86
Try older Ubuntu
meooow25 Feb 14, 2026
585ba06
Add note about ubuntu24.04
meooow25 Feb 14, 2026
8eb3a24
Allow writing packages
meooow25 Feb 14, 2026
d975993
Test without optimizations
meooow25 Feb 15, 2026
c4482b2
Turn optimizations off for everything
meooow25 Feb 15, 2026
03ad6c2
Install g++
meooow25 Feb 15, 2026
8eab17f
Try s390x container
meooow25 Feb 15, 2026
be0ebe6
Revert "Try s390x container"
meooow25 Feb 15, 2026
ae9effe
Try ubuntu_rolling (currently ubuntu25)
meooow25 Feb 15, 2026
3e152e1
Try no g++
meooow25 Feb 15, 2026
f0b83af
Add back g++
meooow25 Feb 15, 2026
984fc67
Try keeping only containers-tests
meooow25 Feb 15, 2026
0ff70fe
Try --jobs=2
meooow25 Feb 15, 2026
4c8b01f
Fix cabal update, don't build bench
meooow25 Feb 15, 2026
4d00342
That didn't change anything, try ghc -j2
meooow25 Feb 15, 2026
e963175
That didn't help either
meooow25 Feb 16, 2026
128fa93
Try installing tasty libs with apt
meooow25 Feb 17, 2026
97e7f68
Revert "Try installing tasty libs with apt"
meooow25 Feb 17, 2026
17c573f
Try without g++
meooow25 Feb 17, 2026
00757fe
Try some GHC RTS options
meooow25 Feb 17, 2026
d54c94b
Remove -O2 from test components
meooow25 Feb 17, 2026
63e9542
Force -O0 for containers-tests
meooow25 Feb 17, 2026
81ae39d
Try without -j
meooow25 Feb 18, 2026
6e94f24
Try smaller -A
meooow25 Feb 18, 2026
4751c48
Try without ghc RTS options
meooow25 Feb 18, 2026
080ff3e
Check num processors
meooow25 Feb 18, 2026
971987c
Revert "Check num processors"
meooow25 Feb 18, 2026
8de8888
Test with big-endian bug
meooow25 Feb 22, 2026
32b5221
Revert "Test with big-endian bug"
meooow25 Feb 22, 2026
b65b3c0
Tweak
meooow25 Mar 1, 2026
b78d990
On second thoughts, keep these separate
meooow25 Mar 6, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/i386.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ defaults:
shell: bash

jobs:
# i386 is 32-bit
i386:
runs-on: ubuntu-latest
container:
Expand All @@ -27,5 +28,7 @@ jobs:
- name: Test
run: |
source ~/.ghcup/env
ghc --version
cabal --version
cabal update
cabal test all
56 changes: 56 additions & 0 deletions .github/workflows/s390x.yml
Comment thread
meooow25 marked this conversation as resolved.
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: s390x CI

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
# s390x is 31-bit-address/32-bit-data and big-endian
s390x:
runs-on: ubuntu-latest

# Not required, but speeds up builds by storing container images in a
# GitHub package registry.
permissions:
packages: write

steps:
- uses: actions/checkout@v6
- uses: uraimo/run-on-arch-action@v3
with:
arch: s390x

# ubuntu_rolling is currently Ubuntu 25. Consider switching this to an
# LTS.
# Do not use ubuntu24.04 since it comes with ghc and cabal versions that
# segfault (possibly https://gitlab.haskell.org/ghc/ghc/-/issues/24163).
distro: ubuntu_rolling

# Not required, but speeds up builds by storing container images in a
# GitHub package registry.
githubToken: ${{ github.token }}

# Install GHC via apt because GHCup doesn't support s390x
install: |
apt-get update -y
apt-get install -y ghc cabal-install

# Test without optimizations because it is much slower otherwise
run: |
ghc --version
cabal --version
sed -i 's/containers\//-- &/' cabal.project
cat cabal.project
cat >> cabal.project.local <<EOF
package *
optimization: 0
package containers-tests
-- This overrides the -O2 in containers-tests's ghc-options
ghc-options: -O0
EOF
cabal update
cabal test all
11 changes: 1 addition & 10 deletions containers-tests/containers-tests.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,6 @@ test-suite map-lazy-properties
build-depends:
test-utils

ghc-options: -O2
other-extensions:
BangPatterns
CPP
Expand All @@ -348,7 +347,6 @@ test-suite map-strict-properties
build-depends:
test-utils

ghc-options: -O2
other-extensions:
BangPatterns
CPP
Expand All @@ -359,7 +357,7 @@ test-suite bitqueue-properties
hs-source-dirs: tests
main-is: bitqueue-properties.hs
type: exitcode-stdio-1.0
ghc-options: -O2

other-extensions:
BangPatterns
CPP
Expand All @@ -374,7 +372,6 @@ test-suite set-properties
build-depends:
test-utils

ghc-options: -O2
other-extensions:
BangPatterns
CPP
Expand All @@ -389,7 +386,6 @@ test-suite intmap-lazy-properties
build-depends:
test-utils

ghc-options: -O2
other-extensions:
BangPatterns
CPP
Expand All @@ -405,7 +401,6 @@ test-suite intmap-strict-properties
build-depends:
test-utils

ghc-options: -O2
other-extensions:
BangPatterns
CPP
Expand All @@ -420,7 +415,6 @@ test-suite intset-properties
build-depends:
test-utils

ghc-options: -O2
other-extensions:
BangPatterns
CPP
Expand All @@ -436,7 +430,6 @@ test-suite seq-properties
test-utils
, ChasingBottoms

ghc-options: -O2
other-extensions:
BangPatterns
CPP
Expand All @@ -448,7 +441,6 @@ test-suite tree-properties
main-is: tree-properties.hs
type: exitcode-stdio-1.0

ghc-options: -O2
other-extensions:
BangPatterns
CPP
Expand All @@ -459,7 +451,6 @@ test-suite graph-properties
hs-source-dirs: tests
main-is: graph-properties.hs
type: exitcode-stdio-1.0
ghc-options: -O2

test-suite map-strictness-properties
import: test-deps, warnings
Expand Down