summaryrefslogtreecommitdiffstats
path: root/.gitlab
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2020-09-28 13:55:42 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2020-09-28 13:55:42 (GMT)
commit93a745683b5c5b67c8eecfaffee45db782e457e1 (patch)
tree848ec60845254b289e1bf6a1c787155784e632bf /.gitlab
parent1b03ac7da76c05bfa60e5fcf95aa2bfdf64f27cf (diff)
downloadCMake-93a745683b5c5b67c8eecfaffee45db782e457e1.zip
CMake-93a745683b5c5b67c8eecfaffee45db782e457e1.tar.gz
CMake-93a745683b5c5b67c8eecfaffee45db782e457e1.tar.bz2
sccache: use a different port for CMake builds
This avoids server reuse between different projects on the same machine.
Diffstat (limited to '.gitlab')
-rw-r--r--.gitlab/os-macos.yml2
-rw-r--r--.gitlab/os-windows.yml2
2 files changed, 4 insertions, 0 deletions
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