Skip to content

Commit

Permalink
Update docker/CI to use the latest GHC minor versions
Browse files Browse the repository at this point in the history
  • Loading branch information
leonschoorl committed Aug 23, 2023
1 parent 06a085b commit 60e98a8
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .ci/docker/build-and-publish-docker-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ elif [[ "$1" != "" ]]; then
exit 1
fi

GHC_VERSIONS=( "9.6.1" "9.4.3" "9.2.5" "9.0.2" "8.10.7" "8.8.4" "8.6.5")
GHC_VERSIONS=( "9.6.2" "9.4.6" "9.2.8" "9.0.2" "8.10.7" "8.8.4" "8.6.5")
CABAL_VERSIONS=("3.10.1.0" "3.8.1.0" "3.6.2.0" "3.4.0.0" "3.2.0.0" "3.2.0.0" "3.0.0.0")

# We want to use docker buildkit so that our layers are built in parallel. This
Expand Down
2 changes: 1 addition & 1 deletion .ci/gitlab/benchmark.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.benchmark:
image: ghcr.io/clash-lang/clash-ci-$GHC_VERSION:2023-05-16
image: ghcr.io/clash-lang/clash-ci-$GHC_VERSION:2023-08-22
stage: test
timeout: 2 hours
variables:
Expand Down
4 changes: 2 additions & 2 deletions .ci/gitlab/common.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
.common:
image: ghcr.io/clash-lang/clash-ci-$GHC_VERSION:2023-05-16
image: ghcr.io/clash-lang/clash-ci-$GHC_VERSION:2023-08-22
timeout: 10 minutes
stage: build
variables:
# Note that we copy+paste the image name into CACHE_FALLBACK_KEY. If we don't,
# $GHC_VERSION gets inserted at verbatim, instead of resolving to some ghc version.
CACHE_FALLBACK_KEY: $CI_JOB_NAME-master-ghcr.io/clash-lang/clash-ci-$GHC_VERSION:2023-05-16-1-3-non_protected
CACHE_FALLBACK_KEY: $CI_JOB_NAME-master-ghcr.io/clash-lang/clash-ci-$GHC_VERSION:2023-08-22-1-3-non_protected
GIT_SUBMODULE_STRATEGY: recursive
TERM: xterm-color
retry:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ghc: [ "8.6.5", "9.0.2", "9.6.1" ]
ghc: [ "8.6.5", "9.0.2", "9.6.2" ]
include:
- multiple_hidden: yes

Expand All @@ -130,7 +130,7 @@ jobs:

# Run steps inside the clash CI docker image
container:
image: ghcr.io/clash-lang/clash-ci-${{ matrix.ghc }}:2023-05-16
image: ghcr.io/clash-lang/clash-ci-${{ matrix.ghc }}:2023-08-22

env:
THREADS: 2
Expand Down
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ tests:
CI_PARENT_PIPELINE_SOURCE: $CI_PIPELINE_SOURCE
parallel:
matrix:
- GHC_VERSION: 9.6.1
- GHC_VERSION: 9.6.2
RUN_TESTS: "always"

- GHC_VERSION: [9.4.3, 9.2.5, 8.10.7]
- GHC_VERSION: [9.4.6, 9.2.8, 8.10.7]
RUN_TESTS: "nightly"

- GHC_VERSION: 9.0.2
Expand Down

0 comments on commit 60e98a8

Please sign in to comment.