ci: use Debian Trixie for macOS cross job
What changed, and why it matters
This commit only changes which Linux container image is used for Bitcoin Core's automated macOS cross-compilation testing jobs, switching from Ubuntu 24.04 to Debian Trixie in order to use Clang/LLVM 19. It does not modify any wallet, networking, consensus, or node code that end users interact with, and it introduces no apparent security issue.
No security action required. Treat as a routine CI infrastructure update.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff updates two CI environment setup scripts (ci/test/00_setup_env_mac_cross.sh and ci/test/00_setup_env_mac_cross_intel.sh) to set CI_IMAGE_NAME_TAG to mirror.gcr.io/debian:trixie instead of mirror.gcr.io/ubuntu:24.04. The accompanying comment explains the goal is to verify that Debian Trixie’s clang package (version 19) can cross-compile for macOS. No other variables, package lists, or build logic are changed.
Changed components
ci/test/00_setup_env_mac_cross.shci/test/00_setup_env_mac_cross_intel.shInspect captured patch +2 / −2
diff --git a/ci/test/00_setup_env_mac_cross.sh b/ci/test/00_setup_env_mac_cross.sh
index 088b853e..027741da 100755
--- a/ci/test/00_setup_env_mac_cross.sh
+++ b/ci/test/00_setup_env_mac_cross.sh
@@ -9,7 +9,7 @@ export LC_ALL=C.UTF-8
export SDK_URL=${SDK_URL:-https://bitcoincore.org/depends-sources/sdks}
export CONTAINER_NAME=ci_macos_cross
-export CI_IMAGE_NAME_TAG="mirror.gcr.io/ubuntu:24.04"
+export CI_IMAGE_NAME_TAG="mirror.gcr.io/debian:trixie" # Check that https://packages.debian.org/trixie/clang (version 19, similar to guix) can cross-compile
export HOST=arm64-apple-darwin
export PACKAGES="clang lld llvm zip"
export XCODE_VERSION=15.0
diff --git a/ci/test/00_setup_env_mac_cross_intel.sh b/ci/test/00_setup_env_mac_cross_intel.sh
index a158ffa2..535b801b 100755
--- a/ci/test/00_setup_env_mac_cross_intel.sh
+++ b/ci/test/00_setup_env_mac_cross_intel.sh
@@ -9,7 +9,7 @@ export LC_ALL=C.UTF-8
export SDK_URL=${SDK_URL:-https://bitcoincore.org/depends-sources/sdks}
export CONTAINER_NAME=ci_macos_cross_intel
-export CI_IMAGE_NAME_TAG="mirror.gcr.io/ubuntu:24.04"
+export CI_IMAGE_NAME_TAG="mirror.gcr.io/debian:trixie" # Check that https://packages.debian.org/trixie/clang (version 19, similar to guix) can cross-compile
export HOST=x86_64-apple-darwin
export PACKAGES="clang lld llvm zip"
export XCODE_VERSION=15.0
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.