From 7d79a0c2e1d7751ade9256dce6f44a66fff0b3eb Mon Sep 17 00:00:00 2001 From: Lars Asplund Date: Sat, 26 Sep 2026 16:21:43 +0200 Subject: [PATCH] Updated GNAT and LLVM versions for GHDL build. --- .github/images.sh | 29 +++++++++++++++++++---------- .github/workflows/images.yml | 2 +- 2 files changed, 20 insertions(+), 11 deletions(-) diff --git a/.github/images.sh b/.github/images.sh index 003106c8a..c66f8d39c 100755 --- a/.github/images.sh +++ b/.github/images.sh @@ -1,18 +1,27 @@ #!/bin/sh +set -eu -# Stop in case of error -set -e +: "${TAG:?TAG must be set}" +: "${PKG:?PKG must be set}" + +# Download separately so a failed download stops the script. +DOCKERFILE=$(curl -fsSL \ + https://raw.githubusercontent.com/ghdl/docker/master/run_debian.dockerfile) docker build \ - --build-arg IMAGE="python:3-slim-bullseye" \ - --build-arg LLVM_VER=9 \ - --build-arg GNAT_VER=9 \ + --progress=plain \ + --build-arg IMAGE="python:3.13-slim-bookworm" \ + --build-arg LLVM_VER=14 \ + --build-arg GNAT_VER=12 \ --target vunit \ -t "vunit/dev/${TAG}" \ - - <<-EOF -$(curl -fsSL https://raw.githubusercontent.com/ghdl/docker/master/run_debian.dockerfile) + - <