mirror of
https://github.com/barrucadu/dejafu.git
synced 2024-09-11 06:25:45 +03:00
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:
parent
50b1b2ad6e
commit
d3bbddb628
32
.github/workflows/ci.yaml
vendored
32
.github/workflows/ci.yaml
vendored
@ -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
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user