From 5fcc831b18cff8f6376cc76f5b0235572b18e259 Mon Sep 17 00:00:00 2001
From: Ryan Scott <ryan.gl.scott@gmail.com>
Date: Mon, 16 Jan 2023 19:10:45 -0500
Subject: [PATCH] CI: Drop GHC 9.2

Aside from decreasing the CI resource utilization, this will make it much easier
to test `ghc-exactprint` on `head.hackage`. (See !272.)
---
 .gitlab-ci.yml | 22 ----------------------
 README.md      |  4 ++--
 ci/config.sh   |  4 ----
 3 files changed, 2 insertions(+), 28 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6d1f8c48..2a16c1e4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -128,28 +128,6 @@ test-master:
     BUILD_MODE: TEST
   allow_failure: true
 
-# Build against the 9.2 branch
-.build-9.2:
-  extends: .build
-  variables:
-    GHC_TARBALL: "https://gitlab.haskell.org/api/v4/projects/1/jobs/artifacts/ghc-9.2/raw/ghc-x86_64-fedora27-linux.tar.xz?job=validate-x86_64-linux-fedora27"
-    EXTRA_HC_OPTS: "-dcore-lint"
-  rules:
-    - if: '$UPSTREAM_COMMIT_SHA || $UPSTREAM_PIPELINE_ID'
-      when: never
-    - when: always
-
-build-9.2:
-  extends: .build-9.2
-  variables:
-    BUILD_MODE: FULL
-
-test-9.2:
-  extends: .build-9.2
-  variables:
-    BUILD_MODE: TEST
-  allow_failure: true
-
 # Build against the 9.4 branch
 .build-9.4:
   extends: .build
diff --git a/README.md b/README.md
index ef74cd06..c775886a 100644
--- a/README.md
+++ b/README.md
@@ -10,8 +10,8 @@ existing Hackage package(s).
   you submit a PR).
 
 - The patches SHOULD work with at least GHC HEAD and the most recent
-  stable released GHC version (currently this means with GHC 9.2, 9.4, and
-  9.5).
+  stable released GHC version (currently this means with GHC 9.4, 9.6, and
+  9.7).
 
 - The patches SHOULD ideally result in the same code being compiled,
   as one of the main purposes of these patches is to make regression
diff --git a/ci/config.sh b/ci/config.sh
index f68dc39a..78d852d9 100644
--- a/ci/config.sh
+++ b/ci/config.sh
@@ -75,10 +75,6 @@ version="$(ghc_version)"
 commit="$(ghc_commit)"
 echo "Found GHC $version, commit $commit."
 case $version in
-  9.2.*)
-    #       package                   ticket
-    ;;
-
   9.4.*)
     #       package                   ticket
     ;;
-- 
GitLab