mirror of
https://github.com/xmonad/xmonad.git
synced 2025-05-19 08:30:21 -07:00
ci: Update supported GHC versions
+ Prefer GHC 8.10.7 to 8.10.4, as versions seem to have stabilised now. + Add support for Stackage LTS 19; this ships with GHC 9.0.2. + Since a new version of 9.2 has been released, prefer 9.2.2 over 9.2.1. Related: https://github.com/xmonad/xmonad-contrib/pull/694
This commit is contained in:
parent
c2904425e9
commit
a854cdaf9b
8
.github/workflows/haskell-ci-hackage.patch
vendored
8
.github/workflows/haskell-ci-hackage.patch
vendored
@ -38,13 +38,13 @@ set in GitHub repository secrets.
|
|||||||
linux:
|
linux:
|
||||||
name: Haskell-CI - Linux - ${{ matrix.compiler }}
|
name: Haskell-CI - Linux - ${{ matrix.compiler }}
|
||||||
@@ -31,6 +38,7 @@
|
@@ -31,6 +38,7 @@
|
||||||
compilerVersion: 9.0.1
|
compilerVersion: 9.0.2
|
||||||
setup-method: hvr-ppa
|
setup-method: ghcup
|
||||||
allow-failure: false
|
allow-failure: false
|
||||||
+ upload: true
|
+ upload: true
|
||||||
- compiler: ghc-8.10.4
|
- compiler: ghc-8.10.7
|
||||||
compilerKind: ghc
|
compilerKind: ghc
|
||||||
compilerVersion: 8.10.4
|
compilerVersion: 8.10.7
|
||||||
@@ -209,8 +217,80 @@
|
@@ -209,8 +217,80 @@
|
||||||
${CABAL} -vnormal check
|
${CABAL} -vnormal check
|
||||||
- name: haddock
|
- name: haddock
|
||||||
|
30
.github/workflows/haskell-ci.yml
vendored
30
.github/workflows/haskell-ci.yml
vendored
@ -8,9 +8,9 @@
|
|||||||
#
|
#
|
||||||
# For more information, see https://github.com/haskell-CI/haskell-ci
|
# For more information, see https://github.com/haskell-CI/haskell-ci
|
||||||
#
|
#
|
||||||
# version: 0.13.20211030
|
# version: 0.14.3
|
||||||
#
|
#
|
||||||
# REGENDATA ("0.13.20211030",["github","cabal.project"])
|
# REGENDATA ("0.14.3",["github","cabal.project"])
|
||||||
#
|
#
|
||||||
name: Haskell-CI
|
name: Haskell-CI
|
||||||
on:
|
on:
|
||||||
@ -27,27 +27,29 @@ jobs:
|
|||||||
linux:
|
linux:
|
||||||
name: Haskell-CI - Linux - ${{ matrix.compiler }}
|
name: Haskell-CI - Linux - ${{ matrix.compiler }}
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-18.04
|
||||||
|
timeout-minutes:
|
||||||
|
60
|
||||||
container:
|
container:
|
||||||
image: buildpack-deps:bionic
|
image: buildpack-deps:bionic
|
||||||
continue-on-error: ${{ matrix.allow-failure }}
|
continue-on-error: ${{ matrix.allow-failure }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- compiler: ghc-9.2.1
|
- compiler: ghc-9.2.2
|
||||||
compilerKind: ghc
|
compilerKind: ghc
|
||||||
compilerVersion: 9.2.1
|
compilerVersion: 9.2.2
|
||||||
setup-method: ghcup
|
setup-method: ghcup
|
||||||
allow-failure: false
|
allow-failure: false
|
||||||
- compiler: ghc-9.0.1
|
- compiler: ghc-9.0.2
|
||||||
compilerKind: ghc
|
compilerKind: ghc
|
||||||
compilerVersion: 9.0.1
|
compilerVersion: 9.0.2
|
||||||
setup-method: hvr-ppa
|
setup-method: ghcup
|
||||||
allow-failure: false
|
allow-failure: false
|
||||||
upload: true
|
upload: true
|
||||||
- compiler: ghc-8.10.4
|
- compiler: ghc-8.10.7
|
||||||
compilerKind: ghc
|
compilerKind: ghc
|
||||||
compilerVersion: 8.10.4
|
compilerVersion: 8.10.7
|
||||||
setup-method: hvr-ppa
|
setup-method: ghcup
|
||||||
allow-failure: false
|
allow-failure: false
|
||||||
- compiler: ghc-8.8.4
|
- compiler: ghc-8.8.4
|
||||||
compilerKind: ghc
|
compilerKind: ghc
|
||||||
@ -72,7 +74,7 @@ jobs:
|
|||||||
apt-get install -y --no-install-recommends gnupg ca-certificates dirmngr curl git software-properties-common libtinfo5
|
apt-get install -y --no-install-recommends gnupg ca-certificates dirmngr curl git software-properties-common libtinfo5
|
||||||
if [ "${{ matrix.setup-method }}" = ghcup ]; then
|
if [ "${{ matrix.setup-method }}" = ghcup ]; then
|
||||||
mkdir -p "$HOME/.ghcup/bin"
|
mkdir -p "$HOME/.ghcup/bin"
|
||||||
curl -sL https://downloads.haskell.org/ghcup/0.1.17.3/x86_64-linux-ghcup-0.1.17.3 > "$HOME/.ghcup/bin/ghcup"
|
curl -sL https://downloads.haskell.org/ghcup/0.1.17.5/x86_64-linux-ghcup-0.1.17.5 > "$HOME/.ghcup/bin/ghcup"
|
||||||
chmod a+x "$HOME/.ghcup/bin/ghcup"
|
chmod a+x "$HOME/.ghcup/bin/ghcup"
|
||||||
"$HOME/.ghcup/bin/ghcup" install ghc "$HCVER"
|
"$HOME/.ghcup/bin/ghcup" install ghc "$HCVER"
|
||||||
"$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0
|
"$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0
|
||||||
@ -83,7 +85,7 @@ jobs:
|
|||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y "$HCNAME" libx11-dev libxext-dev libxinerama-dev libxrandr-dev libxss-dev
|
apt-get install -y "$HCNAME" libx11-dev libxext-dev libxinerama-dev libxrandr-dev libxss-dev
|
||||||
mkdir -p "$HOME/.ghcup/bin"
|
mkdir -p "$HOME/.ghcup/bin"
|
||||||
curl -sL https://downloads.haskell.org/ghcup/0.1.17.3/x86_64-linux-ghcup-0.1.17.3 > "$HOME/.ghcup/bin/ghcup"
|
curl -sL https://downloads.haskell.org/ghcup/0.1.17.5/x86_64-linux-ghcup-0.1.17.5 > "$HOME/.ghcup/bin/ghcup"
|
||||||
chmod a+x "$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
|
||||||
fi
|
fi
|
||||||
@ -145,6 +147,10 @@ jobs:
|
|||||||
repository hackage.haskell.org
|
repository hackage.haskell.org
|
||||||
url: http://hackage.haskell.org/
|
url: http://hackage.haskell.org/
|
||||||
EOF
|
EOF
|
||||||
|
cat >> $CABAL_CONFIG <<EOF
|
||||||
|
program-default-options
|
||||||
|
ghc-options: $GHCJOBS +RTS -M3G -RTS
|
||||||
|
EOF
|
||||||
cat $CABAL_CONFIG
|
cat $CABAL_CONFIG
|
||||||
- name: versions
|
- name: versions
|
||||||
run: |
|
run: |
|
||||||
|
4
.github/workflows/stack.yml
vendored
4
.github/workflows/stack.yml
vendored
@ -18,10 +18,10 @@ jobs:
|
|||||||
ghc: 8.6.5
|
ghc: 8.6.5
|
||||||
- resolver: lts-16
|
- resolver: lts-16
|
||||||
ghc: 8.8.4
|
ghc: 8.8.4
|
||||||
- resolver: lts-17
|
|
||||||
ghc: 8.10.4
|
|
||||||
- resolver: lts-18
|
- resolver: lts-18
|
||||||
ghc: 8.10.7
|
ghc: 8.10.7
|
||||||
|
- resolver: lts-19
|
||||||
|
ghc: 9.0.2
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Clone project
|
- name: Clone project
|
||||||
|
@ -27,7 +27,7 @@ author: Spencer Janssen, Don Stewart, Adam Vogt, David Roundy, Jason
|
|||||||
Ondřej Súkup, Paul Hebble, Shachaf Ben-Kiki, Siim Põder, Tim McIver,
|
Ondřej Súkup, Paul Hebble, Shachaf Ben-Kiki, Siim Põder, Tim McIver,
|
||||||
Trevor Elliott, Wouter Swierstra, Conrad Irwin, Tim Thelion, Tony Zorman
|
Trevor Elliott, Wouter Swierstra, Conrad Irwin, Tim Thelion, Tony Zorman
|
||||||
maintainer: xmonad@haskell.org
|
maintainer: xmonad@haskell.org
|
||||||
tested-with: GHC == 8.4.4 || == 8.6.5 || == 8.8.4 || == 8.10.4 || == 9.0.1 || == 9.2.1
|
tested-with: GHC == 8.4.4 || == 8.6.5 || == 8.8.4 || == 8.10.7 || == 9.0.2 || == 9.2.2
|
||||||
category: System
|
category: System
|
||||||
homepage: http://xmonad.org
|
homepage: http://xmonad.org
|
||||||
bug-reports: https://github.com/xmonad/xmonad/issues
|
bug-reports: https://github.com/xmonad/xmonad/issues
|
||||||
|
Loading…
x
Reference in New Issue
Block a user