summaryrefslogtreecommitdiff
path: root/.gitlab
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2020-09-28 09:55:42 -0400
committerBen Boeckel <ben.boeckel@kitware.com>2020-09-28 09:55:42 -0400
commit93a745683b5c5b67c8eecfaffee45db782e457e1 (patch)
tree848ec60845254b289e1bf6a1c787155784e632bf /.gitlab
parent1b03ac7da76c05bfa60e5fcf95aa2bfdf64f27cf (diff)
downloadcmake-93a745683b5c5b67c8eecfaffee45db782e457e1.tar.gz
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 96ec264de5..47e81d1a4e 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 63b87583f5..61a201881b 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