From 93a745683b5c5b67c8eecfaffee45db782e457e1 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Mon, 28 Sep 2020 09:55:42 -0400 Subject: sccache: use a different port for CMake builds This avoids server reuse between different projects on the same machine. --- .gitlab/os-macos.yml | 2 ++ .gitlab/os-windows.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.gitlab/os-macos.yml b/.gitlab/os-macos.yml index 96ec264..47e81d1 100644 --- a/.gitlab/os-macos.yml +++ b/.gitlab/os-macos.yml @@ -8,6 +8,8 @@ # TODO: Factor this out so that each job selects the Xcode version to # use so that different versions can be tested in a single pipeline. DEVELOPER_DIR: "/Applications/Xcode-11.7.app/Contents/Developer" + # Avoid conflicting with other projects running on the same machine. + SCCACHE_SERVER_PORT: 4227 ### Build and test diff --git a/.gitlab/os-windows.yml b/.gitlab/os-windows.yml index 63b8758..61a2018 100644 --- a/.gitlab/os-windows.yml +++ b/.gitlab/os-windows.yml @@ -5,6 +5,8 @@ .windows: variables: GIT_CLONE_PATH: "$CI_BUILDS_DIR\\cmake ci ext\\$CI_CONCURRENT_ID" + # Avoid conflicting with other projects running on the same machine. + SCCACHE_SERVER_PORT: 4227 ### Build and test -- cgit v0.12