aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/clang_linux
diff options
context:
space:
mode:
authorMike Taves <mwtoews@gmail.com>2022-01-24 00:45:14 +1300
committerGitHub <noreply@github.com>2022-01-24 00:45:14 +1300
commit93a533906e855a19ab5e64849df91e6fe9940712 (patch)
tree93216e4c071bfaf79beaf9c4e0874d79f39a2db6 /.github/workflows/clang_linux
parent93c3a165126ac4c7caf4d2ffa2f7dd71633e7be3 (diff)
downloadPROJ-93a533906e855a19ab5e64849df91e6fe9940712.tar.gz
PROJ-93a533906e855a19ab5e64849df91e6fe9940712.zip
CI: transition tests from autotools to cmake (#3023)
Diffstat (limited to '.github/workflows/clang_linux')
-rwxr-xr-x.github/workflows/clang_linux/start.sh7
1 files changed, 2 insertions, 5 deletions
diff --git a/.github/workflows/clang_linux/start.sh b/.github/workflows/clang_linux/start.sh
index 286fdb69..3cb07c44 100755
--- a/.github/workflows/clang_linux/start.sh
+++ b/.github/workflows/clang_linux/start.sh
@@ -8,6 +8,7 @@ DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
sqlite3 libsqlite3-dev libtiff-dev libcurl4-openssl-dev jq python3-pip nlohmann-json3-dev
python3 -m pip install --user jsonschema
+export PATH=$HOME/.local/bin:$PATH
cd "$WORK_DIR"
@@ -16,16 +17,12 @@ if test -f "$WORK_DIR/ccache.tar.gz"; then
(cd $HOME && tar xzf "$WORK_DIR/ccache.tar.gz")
fi
-export CCACHE_CPP2=yes
export PROJ_DB_CACHE_DIR="$HOME/.ccache"
ccache -M 500M
-ccache -s
# -fno-use-cxa-atexit is needed to build with -coverage
-CC="ccache clang-10" CXX="ccache clang++-10" CFLAGS="-Werror -fsanitize=address -fno-use-cxa-atexit" CXXFLAGS="-Werror -fsanitize=address -fno-use-cxa-atexit" LDFLAGS="-fsanitize=address" ./travis/install.sh
-
-ccache -s
+CC="clang-10" CXX="clang++-10" CFLAGS="-Werror -fsanitize=address -fno-use-cxa-atexit" CXXFLAGS="-Werror -fsanitize=address -fno-use-cxa-atexit" LDFLAGS="-fsanitize=address" ./travis/install.sh
echo "Saving ccache..."
rm -f "$WORK_DIR/ccache.tar.gz"