Remove GHC 8.0 from supported versions

I've decided not to bump the base versions of all the packages, since
there's no conditional compilation on this.
This commit is contained in:
Michael Walker 2023-06-17 22:40:11 +01:00
parent 50b1b2ad6e
commit d3bbddb628
No known key found for this signature in database
2 changed files with 1 additions and 32 deletions

View File

@ -45,7 +45,6 @@ jobs:
fail-fast: false
matrix:
resolver:
- lts-9.0 # ghc-8.0
- lts-10.0 # ghc-8.2
- lts-12.0 # ghc-8.4
- lts-13.3 # ghc-8.6
@ -65,45 +64,16 @@ jobs:
RESOLVER: ${{ matrix.resolver }}
run: |
set -ex
if [[ "$RESOLVER" == "lts-9.0" ]]; then
# need an old stack version to build happy
mkdir -p ~/.local/bin
export PATH=$HOME/.local/bin:$PATH
curl -L https://github.com/commercialhaskell/stack/releases/download/v1.6.1/stack-1.6.1-linux-x86_64.tar.gz | \
tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
# need hedgehog-0.5.2
cat <<EOF > stack.yaml
resolver: lts-9.0
packages:
- concurrency
- dejafu
- dejafu-tests
- hunit-dejafu
- tasty-dejafu
extra-deps:
- hedgehog-0.5.2
EOF
else
stack --no-terminal init --resolver="$RESOLVER" --force
fi
stack --no-terminal init --resolver="$RESOLVER" --force
stack --no-terminal setup
- name: Build
env:
RESOLVER: ${{ matrix.resolver }}
run: |
if [[ "$RESOLVER" == "lts-9.0" ]]; then
export PATH=$HOME/.local/bin:$PATH
fi
stack --no-terminal build --ghc-options="-Werror -Wno-unused-imports -Wno-incomplete-uni-patterns"
- name: Test
env:
RESOLVER: ${{ matrix.resolver }}
run: |
if [[ "$RESOLVER" == "lts-9.0" ]]; then
export PATH=$HOME/.local/bin:$PATH
fi
cd dejafu-tests
stack --no-terminal exec -- dejafu-tests +RTS -s

View File

@ -16,7 +16,6 @@ currently supported versions are:
"8.6", "LTS 13.0", "4.12.0.0"
"8.4", "LTS 12.0", "4.11.0.0"
"8.2", "LTS 10.0", "4.10.1.0"
"8.0", "LTS 9.0", "4.9.1.0"
In practice, we may *compile with* older versions of GHC, but keeping
them working is not a priority.