Commit b7350bc1 authored by Ben Boeckel's avatar Ben Boeckel
Browse files

gitlab-ci: avoid collisions with other projects' sccache servers

Shell runners might be running multiple projects in parallel. Avoid
conflicting with their sccache servers by using different port
selections.
parent 30b05726
Pipeline #196822 failed with stages
in 11 minutes and 53 seconds
...@@ -9,6 +9,8 @@ ...@@ -9,6 +9,8 @@
# TODO: Factor this out so that each job selects the Xcode version to # 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. # use so that different versions can be tested in a single pipeline.
DEVELOPER_DIR: "/Applications/Xcode-11.5.app/Contents/Developer" DEVELOPER_DIR: "/Applications/Xcode-11.5.app/Contents/Developer"
# Avoid conflicting with other projects running on the same machine.
SCCACHE_SERVER_PORT: 4231
### Build and test ### Build and test
......
...@@ -6,6 +6,8 @@ ...@@ -6,6 +6,8 @@
variables: variables:
GIT_SUBMODULE_STRATEGY: recursive GIT_SUBMODULE_STRATEGY: recursive
GIT_CLONE_PATH: "$CI_BUILDS_DIR\\cmb-ci-ext\\$CI_CONCURRENT_ID" GIT_CLONE_PATH: "$CI_BUILDS_DIR\\cmb-ci-ext\\$CI_CONCURRENT_ID"
# Avoid conflicting with other projects running on the same machine.
SCCACHE_SERVER_PORT: 4231
### Build and test ### Build and test
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment