Skip to content

Commit 6b50a63

Browse files
committed
Fix cabal.project, stack & s390x CI
1 parent 74ef7df commit 6b50a63

File tree

3 files changed

+16
-4
lines changed

3 files changed

+16
-4
lines changed

.github/workflows/s390x.yml

+11-1
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,19 @@ jobs:
2828
install: |
2929
apt-get update -y
3030
apt-get install -y ghc libghc-quickcheck2-dev libghc-hspec-dev libghc-getopt-generics-dev libghc-split-dev curl
31+
# [FIXME] Re-enable when `unicode-data` is released with QuickCheck properties
32+
# run: |
33+
# ghc --version
34+
# curl -s -L https://hackage.haskell.org/package/unicode-data-0.3.0.tar.gz | tar xz
35+
# ghc --make -XMagicHash -XBangPatterns -XUnboxedTuples -itest:unicode-data-0.3.0/lib -o extras test/Extra.hs
36+
# ./extras
37+
# ghc --make -XMagicHash -XBangPatterns -XUnboxedTuples -itest:unicode-data-0.3.0/lib -o quickcheck test/Properties.hs
38+
# ./quickcheck
39+
# ghc --make -XMagicHash -XBangPatterns -XUnboxedTuples -itest:unicode-data-0.3.0/lib -o ucd test/NormalizationTest.hs
40+
# ./ucd
3141
run: |
3242
ghc --version
33-
curl -s -L https://hackage.haskell.org/package/unicode-data-0.3.0.tar.gz | tar xz
43+
curl -s -L https://github.com/composewell/unicode-data/archive/refs/heads/wip/quick_check.tar.gz | tar xz
3444
ghc --make -XMagicHash -XBangPatterns -XUnboxedTuples -itest:unicode-data-0.3.0/lib -o extras test/Extra.hs
3545
./extras
3646
ghc --make -XMagicHash -XBangPatterns -XUnboxedTuples -itest:unicode-data-0.3.0/lib -o quickcheck test/Properties.hs

cabal.project

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ packages: .
22
source-repository-package
33
type: git
44
location: https://github.com/composewell/unicode-data.git
5-
tag: d81b67cc76d7f312a35de8e2a42c8e856c393885
5+
tag: 071085020e3934df59516b0fabc262c3cbe3e9d9

stack.yaml

+4-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@ packages:
22
- '.'
33
resolver: lts-18.18
44
extra-deps:
5-
- unicode-data-0.2.0
5+
# [TODO] re-enable once unicode-data is released with quick check
6+
# - unicode-data-XXX
7+
- git: https://github.com/composewell/unicode-data.git
8+
commit: 071085020e3934df59516b0fabc262c3cbe3e9d9
69
- tasty-bench-0.3
7-
810
# Look at https://stackoverflow.com/questions/70045586/could-not-find-module-system-console-mintty-win32-when-compiling-test-framework
911
flags:
1012
mintty:

0 commit comments

Comments
 (0)