From a8a287cd102001dddff30deec66140136da422d5 Mon Sep 17 00:00:00 2001 From: SulfurNitride Date: Mon, 23 Feb 2026 02:05:50 -0600 Subject: Fix CI: use Docker build like build.sh, fix GHCR uppercase tag The CI was failing because ghcr.io/SulfurNitride/fluorine-builder had uppercase letters (GHCR requires lowercase). Instead of depending on a pre-built GHCR image, CI now builds the Docker image from the Dockerfile each run (matching build.sh), with registry-based layer caching for speed. Also removes the duplicated inline AppImage logic in favor of build-inner.sh. Co-Authored-By: Claude Opus 4.6 --- docker/build-inner.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'docker') diff --git a/docker/build-inner.sh b/docker/build-inner.sh index 847bfae..fa44a60 100755 --- a/docker/build-inner.sh +++ b/docker/build-inner.sh @@ -6,11 +6,20 @@ BUILD_PY="${BUILD_PYTHON:-$(command -v python3)}" # ── Build ── PYBIND11_DIR="$("${BUILD_PY}" -c 'import pybind11; print(pybind11.get_cmake_dir())' 2>/dev/null || true)" +CMAKE_EXTRA_ARGS=() +if [ -n "${CMAKE_C_COMPILER_LAUNCHER:-}" ]; then + CMAKE_EXTRA_ARGS+=("-DCMAKE_C_COMPILER_LAUNCHER=${CMAKE_C_COMPILER_LAUNCHER}") +fi +if [ -n "${CMAKE_CXX_COMPILER_LAUNCHER:-}" ]; then + CMAKE_EXTRA_ARGS+=("-DCMAKE_CXX_COMPILER_LAUNCHER=${CMAKE_CXX_COMPILER_LAUNCHER}") +fi + cmake -S . -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DPython_EXECUTABLE="${BUILD_PY}" \ ${PYBIND11_DIR:+-Dpybind11_DIR="${PYBIND11_DIR}"} \ - -DBUILD_PLUGIN_PYTHON=ON + -DBUILD_PLUGIN_PYTHON=ON \ + "${CMAKE_EXTRA_ARGS[@]}" cmake --build build --parallel -- cgit v1.3.1