From f5521322414d756f16bf49db7b1e0addca57d7c1 Mon Sep 17 00:00:00 2001 From: Francesco Gazzetta Date: Thu, 5 Jan 2023 14:07:51 +0100 Subject: [PATCH] Add GHC 9.4.2 to CI --- .builds/all.yml | 20 ++++++++++++++++++++ qbe.cabal | 1 + 2 files changed, 21 insertions(+) diff --git a/.builds/all.yml b/.builds/all.yml index a9dc676..a7f3dd8 100644 --- a/.builds/all.yml +++ b/.builds/all.yml @@ -29,6 +29,7 @@ tasks: "$HOME/.ghcup/bin/ghcup" install ghc "ghc-8.10.7" "$HOME/.ghcup/bin/ghcup" install ghc "ghc-9.0.2" "$HOME/.ghcup/bin/ghcup" install ghc "ghc-9.2.2" + "$HOME/.ghcup/bin/ghcup" install ghc "ghc-9.4.2" cabal update - 8_10_7-prepare: | cd qbe-hs @@ -87,6 +88,25 @@ tasks: - 9_2_2-haddock: | cd qbe-hs cabal haddock all + - 9_4_2-prepare: | + cd qbe-hs + cabal configure -w ghc-9.2.2 + - 9_4_2-check: | + cd qbe-hs + cabal check + - 9_4_2-dependencies: | + cd qbe-hs + cabal build all --enable-tests --only-dependencies + cabal build all --only-dependencies + - 9_4_2-build: | + cd qbe-hs + cabal build all + - 9_4_2-test: | + cd qbe-hs + cabal test all --enable-tests + - 9_4_2-haddock: | + cd qbe-hs + cabal haddock all triggers: - action: email condition: failure diff --git a/qbe.cabal b/qbe.cabal index 4916c43..7aa509a 100644 --- a/qbe.cabal +++ b/qbe.cabal @@ -25,6 +25,7 @@ tested-with: , GHC == 8.10.7 , GHC == 9.0.2 , GHC == 9.2.2 + , GHC == 9.4.2 source-repository head type: git