Skip to content

Commit 943065d

Browse files
CI: Upgrade 8.10 to 8.10.7, Haddock to 9.0.2
Now that the ghc package documentation is on Hackage for 8.10.7, we can upgrade our build version. Furthermore, we now build Haddock documentation for Hackage with 9.0.2 now. This fixes a Haddock bug we encountered: Fixes #2200
1 parent 6cf8edb commit 943065d

File tree

6 files changed

+10
-8
lines changed

6 files changed

+10
-8
lines changed

.ci/docker/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ RUN git clone https://github.com/verilator/verilator verilator \
107107

108108
FROM builder AS build-ghc
109109

110-
ARG ghcup_version="0.1.17.4"
110+
ARG ghcup_version="0.1.17.7"
111111

112112
# Must be explicitly set
113113
ARG ghc_version

.ci/docker/build-and-publish-docker-image.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ NAME="clash-ci-"
77
DIR=$(dirname "$0")
88
now=$(date +%F)
99

10-
GHC_VERSIONS=( "9.0.2" "8.10.2" "8.8.4" "8.6.5")
10+
GHC_VERSIONS=( "9.0.2" "8.10.7" "8.8.4" "8.6.5")
1111
CABAL_VERSIONS=("3.4.0.0" "3.2.0.0" "3.2.0.0" "3.0.0.0")
1212

1313
# We want to use docker buildkit so that our layers are built in parallel. This

.ci/gitlab/benchmark.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.benchmark:
2-
image: ghcr.io/clash-lang/clash-ci-$GHC_VERSION:2022-02-02
2+
image: ghcr.io/clash-lang/clash-ci-$GHC_VERSION:2022-05-10
33
stage: test
44
timeout: 2 hours
55
variables:

.ci/gitlab/common.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.common:
2-
image: ghcr.io/clash-lang/clash-ci-$GHC_VERSION:2022-02-02
2+
image: ghcr.io/clash-lang/clash-ci-$GHC_VERSION:2022-05-10
33
timeout: 2 hours
44
stage: build
55
variables:

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292

9393
# Run steps inside the clash CI docker image
9494
container:
95-
image: ghcr.io/clash-lang/clash-ci-${{ matrix.ghc }}:2022-02-02
95+
image: ghcr.io/clash-lang/clash-ci-${{ matrix.ghc }}:2022-05-10
9696

9797
env:
9898
THREADS: 2

.gitlab-ci.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ include:
1010
variables:
1111
# Default GHC / Cabal version. Used for generating Haddock and releasing to
1212
# Hackage.
13-
GHC_VERSION: 8.10.2
13+
GHC_VERSION: 8.10.7
1414

1515
# https://docs.gitlab.com/runner/executors/custom.html#system-failure
1616
GET_SOURCES_ATTEMPTS: 5
@@ -49,7 +49,7 @@ tests-8.8:
4949
tests-8.10:
5050
extends: .common-trigger
5151
variables:
52-
GHC_VERSION: 8.10.2
52+
GHC_VERSION: 8.10.7
5353

5454
tests-9.0:
5555
extends: .common-trigger
@@ -61,7 +61,7 @@ stack-build:
6161
needs: []
6262
stage: test
6363
variables:
64-
GHC_VERSION: 8.10.2
64+
GHC_VERSION: 8.10.7
6565
script:
6666
- .ci/stack_build.sh
6767
# Run on shared runners
@@ -89,6 +89,8 @@ haddock:
8989
extends: .common
9090
needs: []
9191
stage: test
92+
variables:
93+
GHC_VERSION: 9.0.2
9294
artifacts:
9395
paths:
9496
- hadocs/*/*

0 commit comments

Comments
 (0)