This moves the CMake version available on this platform from 3.10.2 to 3.24.2.
The new CMake floor is 3.16.3, determined by Ubuntu 20.04.
Gitlab: #2290
artifacts: false
before_script:
- export build_system="cmake"
+ - export PATH=/opt/cmake/bin:${PATH}
# fail on any compiler warnings
- export CFLAGS=-Werror
- export CXXFLAGS=-Werror
<<: *linux_test_definition
before_script:
- export build_system="cmake"
+ - export PATH=/opt/cmake/bin:${PATH}
- python3 gen_version.py --output GRAPHVIZ_VERSION
needs:
- job: "ubuntu-18.04-cmake-build"
&& apt-get install --no-install-recommends -y \
# Development tools
build-essential \
-cmake \
git \
pkg-config \
autoconf \
ksh \
python3-pip \
python3-setuptools \
+wget \
# install Python dependencies
&& python3 -m pip install --user --upgrade pip \
&& python3 -m pip install --user --requirement requirements.txt \
+&& wget https://github.com/Kitware/CMake/releases/download/v3.24.2/cmake-3.24.2-linux-x86_64.sh \
+&& mkdir -p /opt/cmake \
+&& /bin/sh ./cmake-3.24.2-linux-x86_64.sh --exclude-subdir --prefix=/opt/cmake --skip-license \
+&& rm cmake-3.24.2-linux-x86_64.sh \
# Clean up
&& rm -rf /var/lib/apt/lists/*