Skip to content

Commit

Permalink
Merge pull request haskellari#29 from haskellari/hashable-1.4
Browse files Browse the repository at this point in the history
Allow hashable-1.4
  • Loading branch information
phadej authored Oct 31, 2021
2 parents a238e79 + 687c692 commit 68ba7d7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 20 deletions.
22 changes: 4 additions & 18 deletions .github/workflows/haskell-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
#
# For more information, see https://github.com/haskell-CI/haskell-ci
#
# version: 0.13.20211029
# version: 0.13.20211030
#
# REGENDATA ("0.13.20211029",["github","cabal.project"])
# REGENDATA ("0.13.20211030",["github","cabal.project"])
#
name: Haskell-CI
on:
Expand All @@ -34,7 +34,7 @@ jobs:
compilerKind: ghc
compilerVersion: 9.2.1
setup-method: ghcup
allow-failure: true
allow-failure: false
- compiler: ghc-9.0.1
compilerKind: ghc
compilerVersion: 9.0.1
Expand Down Expand Up @@ -140,7 +140,7 @@ jobs:
echo "HCNUMVER=$HCNUMVER" >> "$GITHUB_ENV"
echo "ARG_TESTS=--enable-tests" >> "$GITHUB_ENV"
echo "ARG_BENCH=--enable-benchmarks" >> "$GITHUB_ENV"
if [ $((HCNUMVER >= 90200)) -ne 0 ] ; then echo "HEADHACKAGE=true" >> "$GITHUB_ENV" ; else echo "HEADHACKAGE=false" >> "$GITHUB_ENV" ; fi
echo "HEADHACKAGE=false" >> "$GITHUB_ENV"
echo "ARG_COMPILER=--$HCKIND --with-compiler=$HC" >> "$GITHUB_ENV"
echo "GHCJSARITH=0" >> "$GITHUB_ENV"
env:
Expand Down Expand Up @@ -169,17 +169,6 @@ jobs:
repository hackage.haskell.org
url: http://hackage.haskell.org/
EOF
if $HEADHACKAGE; then
cat >> $CABAL_CONFIG <<EOF
repository head.hackage.ghc.haskell.org
url: https://ghc.gitlab.haskell.org/head.hackage/
secure: True
root-keys: 7541f32a4ccca4f97aea3b22f5e593ba2c0267546016b992dfadcd2fe944e55d
26021a13b401500c8eb2761ca95c61f2d625bfef951b939a8124ed12ecf07329
f76d08be13e9a61a377a85e2fb63f4c5435d40f8feb3e12eb05905edb8cdea89
key-threshold: 3
EOF
fi
cat $CABAL_CONFIG
- name: versions
run: |
Expand Down Expand Up @@ -228,9 +217,6 @@ jobs:
cat >> cabal.project <<EOF
allow-newer: time
EOF
if $HEADHACKAGE; then
echo "allow-newer: $($HCPKG list --simple-output | sed -E 's/([a-zA-Z-]+)-[0-9.]+/*:\1,/g')" >> cabal.project
fi
$HCPKG list --simple-output --names-only | perl -ne 'for (split /\s+/) { print "constraints: $_ installed\n" unless /^(time-compat)$/; }' >> cabal.project.local
cat cabal.project
cat cabal.project.local
Expand Down
4 changes: 2 additions & 2 deletions time-compat.cabal
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cabal-version: 1.12
name: time-compat
version: 1.9.6.1
x-revision: 1
x-revision: 2
synopsis: Compatibility package for time
description:
This packages tries to compat as much of @time@ features as possible.
Expand Down Expand Up @@ -59,7 +59,7 @@ library
, base-orphans >=0.8.4 && <0.9
, deepseq >=1.3.0.0 && <1.4 || >=1.4.1.1 && <1.5
, time >=1.4 && <1.7 || >=1.8 && <1.9 || >=1.9.2 && <1.9.4 || >=1.10 && <1.10.1 || >=1.11 && <1.11.2 || >=1.12 && <1.13
, hashable >=1.3.2.0 && <1.4
, hashable >=1.3.2.0 && <1.5

if flag(old-locale)
build-depends:
Expand Down

0 comments on commit 68ba7d7

Please sign in to comment.