Skip to content

Commit

Permalink
microaeson 1.0.1.0 revision 2: Allow vector-0.13 and update CI to 9.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasabel committed Jul 16, 2022
1 parent b13b6a7 commit cb2af88
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
21 changes: 11 additions & 10 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.15.20220525
# version: 0.15.20220710
#
# REGENDATA ("0.15.20220525",["github","microaeson.cabal"])
# REGENDATA ("0.15.20220710",["github","microaeson.cabal"])
#
name: Haskell-CI
on:
Expand All @@ -32,14 +32,14 @@ jobs:
strategy:
matrix:
include:
- compiler: ghc-9.4.0.20220501
- compiler: ghc-9.4.0.20220623
compilerKind: ghc
compilerVersion: 9.4.0.20220501
compilerVersion: 9.4.0.20220623
setup-method: ghcup
allow-failure: true
- compiler: ghc-9.2.2
- compiler: ghc-9.2.3
compilerKind: ghc
compilerVersion: 9.2.2
compilerVersion: 9.2.3
setup-method: ghcup
allow-failure: false
- compiler: ghc-9.0.2
Expand Down Expand Up @@ -92,17 +92,17 @@ jobs:
mkdir -p "$HOME/.ghcup/bin"
curl -sL https://downloads.haskell.org/ghcup/0.1.17.8/x86_64-linux-ghcup-0.1.17.8 > "$HOME/.ghcup/bin/ghcup"
chmod a+x "$HOME/.ghcup/bin/ghcup"
if $HEADHACKAGE; then "$HOME/.ghcup/bin/ghcup" config add-release-channel https://raw.githubusercontent.com/haskell/ghcup-metadata/master/ghcup-prereleases-0.0.7.yaml; fi
"$HOME/.ghcup/bin/ghcup" install ghc "$HCVER"
"$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0
"$HOME/.ghcup/bin/ghcup" config add-release-channel https://raw.githubusercontent.com/haskell/ghcup-metadata/master/ghcup-prereleases-0.0.7.yaml;
"$HOME/.ghcup/bin/ghcup" install ghc "$HCVER" || (cat "$HOME"/.ghcup/logs/*.* && false)
"$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
else
apt-add-repository -y 'ppa:hvr/ghc'
apt-get update
apt-get install -y "$HCNAME"
mkdir -p "$HOME/.ghcup/bin"
curl -sL https://downloads.haskell.org/ghcup/0.1.17.8/x86_64-linux-ghcup-0.1.17.8 > "$HOME/.ghcup/bin/ghcup"
chmod a+x "$HOME/.ghcup/bin/ghcup"
"$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0
"$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
fi
env:
HCKIND: ${{ matrix.compilerKind }}
Expand Down Expand Up @@ -171,6 +171,7 @@ jobs:
26021a13b401500c8eb2761ca95c61f2d625bfef951b939a8124ed12ecf07329
f76d08be13e9a61a377a85e2fb63f4c5435d40f8feb3e12eb05905edb8cdea89
key-threshold: 3
active-repositories: hackage.haskell.org, head.hackage.ghc.haskell.org:override
EOF
fi
cat >> $CABAL_CONFIG <<EOF
Expand Down
4 changes: 3 additions & 1 deletion microaeson.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
cabal-version: 2.0
name: microaeson
version: 0.1.0.1
x-revision: 2

synopsis: A tiny JSON library with light dependency footprint
license: GPL-3
Expand All @@ -21,7 +22,7 @@ The API is designed in such a way to allow to easily convert client code written

tested-with:
GHC == 9.4.1
GHC == 9.2.2
GHC == 9.2.3
GHC == 9.0.2
GHC == 8.10.7
GHC == 8.8.4
Expand Down Expand Up @@ -112,6 +113,7 @@ test-suite microaeson
, tasty-quickcheck ^>= 0.10
, unordered-containers ^>= 0.2.8.0
, vector ^>= 0.12.0.1
|| ^>= 0.13.0.0

ghc-options: -Wall

Expand Down

0 comments on commit cb2af88

Please sign in to comment.