aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/mac/install.sh
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/mac/install.sh')
-rwxr-xr-x.github/workflows/mac/install.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/.github/workflows/mac/install.sh b/.github/workflows/mac/install.sh
new file mode 100755
index 00000000..ed27150f
--- /dev/null
+++ b/.github/workflows/mac/install.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+set -e
+
+export CCACHE_CPP2=yes
+export PROJ_DB_CACHE_DIR="$HOME/.ccache"
+
+ccache -M 200M
+ccache -s
+
+CC="ccache clang" CXX="ccache clang++" CFLAGS="-Werror -O2" CXXFLAGS="-Werror -O2" ./travis/install.sh
+
+ccache -s