summaryrefslogtreecommitdiff
path: root/ci/cmake_install_test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ci/cmake_install_test.sh')
-rwxr-xr-xci/cmake_install_test.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/ci/cmake_install_test.sh b/ci/cmake_install_test.sh
index 55fb4f12..b31e4b8c 100755
--- a/ci/cmake_install_test.sh
+++ b/ci/cmake_install_test.sh
@@ -16,10 +16,13 @@
set -euox pipefail
-if [ -z ${ABSEIL_ROOT:-} ]; then
+if [[ -z ${ABSEIL_ROOT:-} ]]; then
ABSEIL_ROOT="$(realpath $(dirname ${0})/..)"
fi
+source "${ABSEIL_ROOT}/ci/linux_docker_containers.sh"
+readonly DOCKER_CONTAINER=${LINUX_GCC_LATEST_CONTAINER}
+
time docker run \
--volume="${ABSEIL_ROOT}:/abseil-cpp:ro" \
--workdir=/abseil-cpp \
@@ -28,5 +31,5 @@ time docker run \
--rm \
-e CFLAGS="-Werror" \
-e CXXFLAGS="-Werror" \
- gcr.io/google.com/absl-177019/linux_gcc-latest:20200106 \
+ ${DOCKER_CONTAINER} \
/bin/bash CMake/install_test_project/test.sh $@