Skip to content

Commit

Permalink
drop ci support for GHC 8.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mgsium authored and mergify[bot] committed Aug 7, 2022
1 parent 4ef1098 commit bd998ce
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 87 deletions.
69 changes: 0 additions & 69 deletions .docker/validate-8.0.2.dockerfile

This file was deleted.

12 changes: 1 addition & 11 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
strategy:
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
ghc: ["9.2.3", "9.0.2", "8.10.7", "8.8.4", "8.6.5", "8.4.4", "8.0.2"]
ghc: ["9.2.3", "9.0.2", "8.10.7", "8.8.4", "8.6.5", "8.4.4"]
exclude:
# lot of segfaults caused by ghc bugs
- os: "windows-latest"
Expand All @@ -49,16 +49,6 @@ jobs:
# it often randomly does "C:\Users\RUNNER~1\AppData\Local\Temp\ghcFEDE.c: DeleteFile "\\\\?\\C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\ghcFEDE.c": permission denied (Access is denied.)"
- os: "windows-latest"
ghc: "8.6.5"
include:
- os: "ubuntu-latest"
ghc: "8.0.2"
cli: "false"
- os: "macos-latest"
ghc: "8.0.2"
cli: "false"
- os: "windows-latest"
ghc: "8.0.2"
cli: "false"

steps:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ tests = testGroup "Distribution.Utils.Structured"
, testCase "GenericPackageDescription" $
md5Check (Proxy :: Proxy GenericPackageDescription) 0xaf3d4c667a8f019c98a45451419ad71c
, testCase "LocalBuildInfo" $
md5Check (Proxy :: Proxy LocalBuildInfo) 0x6d132d3f99c869b678468256f24b6241
md5Check (Proxy :: Proxy LocalBuildInfo) 0x8ef5a39cb640e4340cf5c43a8300ff94
#endif
]

Expand Down
4 changes: 0 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ cabal-install-test-accept:
#
# make validate-via-docker-all -j4 -O
#
validate-via-docker-all : validate-via-docker-8.0.2
validate-via-docker-all : validate-via-docker-8.2.2
validate-via-docker-all : validate-via-docker-8.4.4
validate-via-docker-all : validate-via-docker-8.6.5
Expand All @@ -147,9 +146,6 @@ validate-dockerfiles : .docker/validate-8.6.5.dockerfile
# and we have a test relying on this limit being sufficiently small
DOCKERARGS:=--ulimit nofile=1024:1024

validate-via-docker-8.0.2:
docker build $(DOCKERARGS) -t cabal-validate:8.0.2 -f .docker/validate-8.0.2.dockerfile .

validate-via-docker-8.2.2:
docker build $(DOCKERARGS) -t cabal-validate:8.2.2 -f .docker/validate-8.2.2.dockerfile .

Expand Down
1 change: 0 additions & 1 deletion cabal-dev-scripts/src/GenValidateDockerfile.hs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ params = Map.fromList
, pair "8.6.5" $ Z "ghc-8.6.5" "8.6.5-bionic" False True False True ""
, pair "8.4.4" $ Z "ghc-8.4.4" "8.4.4-bionic" False True False True ""
, pair "8.2.2" $ Z "ghc-8.2.2" "8.2.2-bionic" True True False True ""
, pair "8.0.2" $ Z "ghc-8.0.2" "8.0.2-bionic" True True False True ""
]
where
pair = (,)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ baseVersion' "8.8.4" = [4,13,0,0]
baseVersion' "8.6.5" = [4,12,0,0]
baseVersion' "8.4.4" = [4,11,1,0]
baseVersion' "8.2.2" = [4,10,1,0]
baseVersion' "8.0.2" = [4,10,0,0]
baseVersion' "7.10.3" = [4,9,0,0]
baseVersion' "7.8.4" = [4,8,0,0]
baseVersion' "7.6.3" = [4,7,0,0]
Expand Down

0 comments on commit bd998ce

Please sign in to comment.