Skip to content

Commit

Permalink
Fix cabal.project, stack & s390x CI
Browse files Browse the repository at this point in the history
  • Loading branch information
wismill committed Jun 20, 2022
1 parent 74ef7df commit 6b50a63
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/s390x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,19 @@ jobs:
install: |
apt-get update -y
apt-get install -y ghc libghc-quickcheck2-dev libghc-hspec-dev libghc-getopt-generics-dev libghc-split-dev curl
# [FIXME] Re-enable when `unicode-data` is released with QuickCheck properties
# run: |
# ghc --version
# curl -s -L https://hackage.haskell.org/package/unicode-data-0.3.0.tar.gz | tar xz
# ghc --make -XMagicHash -XBangPatterns -XUnboxedTuples -itest:unicode-data-0.3.0/lib -o extras test/Extra.hs
# ./extras
# ghc --make -XMagicHash -XBangPatterns -XUnboxedTuples -itest:unicode-data-0.3.0/lib -o quickcheck test/Properties.hs
# ./quickcheck
# ghc --make -XMagicHash -XBangPatterns -XUnboxedTuples -itest:unicode-data-0.3.0/lib -o ucd test/NormalizationTest.hs
# ./ucd
run: |
ghc --version
curl -s -L https://hackage.haskell.org/package/unicode-data-0.3.0.tar.gz | tar xz
curl -s -L https://github.com/composewell/unicode-data/archive/refs/heads/wip/quick_check.tar.gz | tar xz
ghc --make -XMagicHash -XBangPatterns -XUnboxedTuples -itest:unicode-data-0.3.0/lib -o extras test/Extra.hs
./extras
ghc --make -XMagicHash -XBangPatterns -XUnboxedTuples -itest:unicode-data-0.3.0/lib -o quickcheck test/Properties.hs
Expand Down
2 changes: 1 addition & 1 deletion cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ packages: .
source-repository-package
type: git
location: https://github.com/composewell/unicode-data.git
tag: d81b67cc76d7f312a35de8e2a42c8e856c393885
tag: 071085020e3934df59516b0fabc262c3cbe3e9d9
6 changes: 4 additions & 2 deletions stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ packages:
- '.'
resolver: lts-18.18
extra-deps:
- unicode-data-0.2.0
# [TODO] re-enable once unicode-data is released with quick check
# - unicode-data-XXX
- git: https://github.com/composewell/unicode-data.git
commit: 071085020e3934df59516b0fabc262c3cbe3e9d9
- tasty-bench-0.3

# Look at https://stackoverflow.com/questions/70045586/could-not-find-module-system-console-mintty-win32-when-compiling-test-framework
flags:
mintty:
Expand Down

0 comments on commit 6b50a63

Please sign in to comment.