Skip to content

Commit

Permalink
Update CI w.r.t. GHC 9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
martijnbastiaan committed Mar 18, 2021
1 parent 2bb30c9 commit 94eba78
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .ci/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ RUN apt-get update \
&& cd .. \
&& rm -rf ghdl-0.37

ARG GHCUP_VERSION="0.1.12"
ARG GHCUP_VERSION="0.1.14"
ARG GHCUP_URL="https://downloads.haskell.org/~ghcup/${GHCUP_VERSION}/x86_64-linux-ghcup-${GHCUP_VERSION}"
ARG GHCUP_BIN=/usr/bin/ghcup

Expand All @@ -38,7 +38,7 @@ RUN curl $GHCUP_URL --output $GHCUP_BIN \
&& ghcup install cabal 2.4.1.0 \
&& ghcup install cabal 3.0.0.0 \
&& ghcup install cabal 3.2.0.0 \
&& ghcup install cabal 3.4.0.0-rc4
&& ghcup install cabal 3.4.0.0

ARG ghc_version
ENV GHC_VERSION=$ghc_version
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: docker.pkg.github.com/clash-lang/clash-compiler/clash-ci-$GHC_VERSION:2021-02-08
image: docker.pkg.github.com/clash-lang/clash-compiler/clash-ci-$GHC_VERSION:2021-03-18
stage: test
timeout: 2 hours
variables:
Expand Down
2 changes: 1 addition & 1 deletion .ci/gitlab/common.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.common:
image: docker.pkg.github.com/clash-lang/clash-compiler/clash-ci-$GHC_VERSION:2021-02-08
image: docker.pkg.github.com/clash-lang/clash-compiler/clash-ci-$GHC_VERSION:2021-03-18
timeout: 2 hours
stage: build
variables:
Expand Down
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ aliases:
- &build_default
docker:
- image: docker.pkg.github.com/clash-lang/clash-compiler/clash-ci-$GHC_VERSION:2021-02-08
- image: docker.pkg.github.com/clash-lang/clash-compiler/clash-ci-$GHC_VERSION:2021-03-18
# Read-only permissions
auth:
username: clash-lang-builder
Expand All @@ -133,7 +133,7 @@ aliases:
- *run_tests
- &build_with_stack
docker:
- image: docker.pkg.github.com/clash-lang/clash-compiler/clash-ci-$GHC_VERSION:2021-02-08
- image: docker.pkg.github.com/clash-lang/clash-compiler/clash-ci-$GHC_VERSION:2021-03-18
# Read-only permissions
auth:
username: clash-lang-builder
Expand Down
3 changes: 1 addition & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,8 @@ tests-8.10:
tests-9.0:
extends: .common-trigger
variables:
GHC_HEAD: "yes" # We need the HEAD overlay for now
GHC_VERSION: 9.0.1
CABAL_VERSION: 3.4.0.0-rc4
CABAL_VERSION: 3.4.0.0

# Tests run on shared runners:
haddock:
Expand Down

0 comments on commit 94eba78

Please sign in to comment.