Skip to content

Commit

Permalink
Bump GHC versions on Docker images and rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
martijnbastiaan authored and lmbollen committed Dec 16, 2024
1 parent 5f9a53c commit 61c7719
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/docker/build-and-publish-docker-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,15 @@ elif [[ "$1" != "" ]]; then
fi

UBUNTU_VERSION=jammy-20240125
GHC_VERSIONS=( "9.6.6" "9.4.8" "9.2.8" "9.0.2")
CABAL_VERSION="3.10.2.0"
GHC_VERSIONS=( "9.10.1" "9.8.4" "9.6.6" "9.4.8" "9.2.8" "9.0.2")
CABAL_VERSION="3.12.1.0"

for i in "${!GHC_VERSIONS[@]}"
do
GHC_VERSION="${GHC_VERSIONS[i]}"

# If you get an error like "unrecognized argument buildx", consider installing
# the buildx plugin for Docker. E.g., for Ubuntu: `apt install docker-buildx`.
docker buildx build \
--build-arg UBUNTU_VERSION=${UBUNTU_VERSION} \
--build-arg cabal_version=${CABAL_VERSION} \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ jobs:
- "9.6.6"

container:
image: ghcr.io/clash-lang/clash-vexriscv-ci:${{ matrix.ghc }}-20240823
image: ghcr.io/clash-lang/clash-vexriscv-ci:${{ matrix.ghc }}-20241214

steps:
- name: Checkout
Expand Down

0 comments on commit 61c7719

Please sign in to comment.