diff --git a/.gitlab/ci/docker/debian12-x86_64/Dockerfile b/.gitlab/ci/docker/debian12-x86_64/Dockerfile index 477e763d2d..3a9a6a14ab 100644 --- a/.gitlab/ci/docker/debian12-x86_64/Dockerfile +++ b/.gitlab/ci/docker/debian12-x86_64/Dockerfile @@ -44,6 +44,8 @@ RUN --mount=type=bind,source=install_rvm.sh,target=/root/install_rvm.sh \ FROM ${BASE_IMAGE} LABEL maintainer="Ben Boeckel " +ENV RBENV_ROOT=/opt/rbenv + RUN --mount=type=bind,source=install_deps.sh,target=/root/install_deps.sh \ --mount=type=bind,source=deps_packages.lst,target=/root/deps_packages.lst \ --mount=type=bind,source=dpkg-exclude,target=/etc/dpkg/dpkg.cfg.d/exclude \ diff --git a/.gitlab/ci/docker/debian12-x86_64/deps_packages.lst b/.gitlab/ci/docker/debian12-x86_64/deps_packages.lst index 21d25f0d18..d92f38decd 100644 --- a/.gitlab/ci/docker/debian12-x86_64/deps_packages.lst +++ b/.gitlab/ci/docker/debian12-x86_64/deps_packages.lst @@ -102,6 +102,7 @@ libxslt-dev xsltproc openjdk-17-jdk python3 python3-dev python3-numpy pypy3 pypy3-dev python3-venv qtbase5-dev qtbase5-dev-tools +rbenv ruby-build ruby ruby-dev swig unixodbc-dev diff --git a/.gitlab/ci/docker/debian12-x86_64/install_deps.sh b/.gitlab/ci/docker/debian12-x86_64/install_deps.sh index 7bfcacdec5..1493f1e543 100755 --- a/.gitlab/ci/docker/debian12-x86_64/install_deps.sh +++ b/.gitlab/ci/docker/debian12-x86_64/install_deps.sh @@ -10,6 +10,10 @@ sha256sum --check ironpython.sha256sum dpkg -i ironpython_3.4.0.deb rm ironpython_3.4.0.deb ironpython.sha256sum +# Ruby rbenv +rbenv install 3.1.2 +rbenv global 3.1.2 + # Perforce curl -L https://www.perforce.com/downloads/perforce/r21.2/bin.linux26x86_64/helix-core-server.tgz -o - \ | tar -C /usr/local/bin -xvzf - -- p4 p4d diff --git a/.gitlab/ci/docker/fedora41/Dockerfile b/.gitlab/ci/docker/fedora41/Dockerfile index f7ad10897d..8ae4de7ef2 100644 --- a/.gitlab/ci/docker/fedora41/Dockerfile +++ b/.gitlab/ci/docker/fedora41/Dockerfile @@ -54,6 +54,8 @@ RUN --mount=type=bind,source=install_iwyu.sh,target=/root/install_iwyu.sh \ FROM ${BASE_IMAGE} LABEL maintainer="Ben Boeckel " +ENV RBENV_ROOT=/opt/rbenv + RUN --mount=type=bind,source=install_deps.sh,target=/root/install_deps.sh \ --mount=type=bind,source=deps_packages.lst,target=/root/deps_packages.lst \ --mount=type=cache,from=dnf-cache,source=/var/lib/dnf,target=/var/lib/dnf,sharing=private \ diff --git a/.gitlab/ci/docker/fedora41/deps_packages.lst b/.gitlab/ci/docker/fedora41/deps_packages.lst index 13bb1d111a..eb148f0913 100644 --- a/.gitlab/ci/docker/fedora41/deps_packages.lst +++ b/.gitlab/ci/docker/fedora41/deps_packages.lst @@ -111,6 +111,7 @@ pypy2 pypy2-devel pypy3 pypy3-devel python3 python3-devel python3-numpy python3-jsmin python3-jsonschema +rbenv ruby-build-rbenv ruby rubygems ruby-devel SDL-devel sqlite-devel diff --git a/.gitlab/ci/docker/fedora41/install_deps.sh b/.gitlab/ci/docker/fedora41/install_deps.sh index 72d0a3fa5c..2ed50251c5 100755 --- a/.gitlab/ci/docker/fedora41/install_deps.sh +++ b/.gitlab/ci/docker/fedora41/install_deps.sh @@ -17,6 +17,10 @@ done # Remove some other packages tests find /usr/lib64/python3.13/site-packages/breezy -type d -a -name tests -exec rm -rf {} + +# Ruby rbenv +rbenv install 3.1.2 +rbenv global 3.1.2 + # Perforce curl -L https://www.perforce.com/downloads/perforce/r21.2/bin.linux26x86_64/helix-core-server.tgz -o - \ | tar -C /usr/local/bin -xvzf - -- p4 p4d diff --git a/.gitlab/os-linux.yml b/.gitlab/os-linux.yml index c51a2ba230..6aa36fc3ef 100644 --- a/.gitlab/os-linux.yml +++ b/.gitlab/os-linux.yml @@ -41,7 +41,7 @@ ### Debian .debian12: - image: "kitware/cmake:ci-debian12-x86_64-2024-08-27" + image: "kitware/cmake:ci-debian12-x86_64-2025-01-23" variables: GIT_CLONE_PATH: "$CI_BUILDS_DIR/cmake ci" @@ -65,7 +65,7 @@ ### Fedora .fedora41: - image: "kitware/cmake:ci-fedora41-x86_64-2025-01-21" + image: "kitware/cmake:ci-fedora41-x86_64-2025-01-23" variables: GIT_CLONE_PATH: "$CI_BUILDS_DIR/cmake ci/long file name for testing purposes"