From 42b8c2012d7648345502337087a64b73698f9f29 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Mon, 23 Nov 2020 18:39:36 +0100 Subject: GitHub action: add a Mac build --- .github/workflows/mac/install.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 .github/workflows/mac/install.sh (limited to '.github/workflows/mac/install.sh') 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 -- cgit v1.2.3