diff options
| author | Matt Cooper <mattc@xbox.com> | 2020-03-10 13:46:39 -0400 |
|---|---|---|
| committer | Matt Cooper <mattc@xbox.com> | 2020-03-10 13:46:39 -0400 |
| commit | ec7010a1a8ae59a7538e649218665497306eb8b1 (patch) | |
| tree | 96a3b3f6be5196cb069f4277c534bd505712b169 /src/ci/scripts | |
| parent | dd155df0a69338757ca39a2a606a6accb7b8d342 (diff) | |
| download | rust-ec7010a1a8ae59a7538e649218665497306eb8b1.tar.gz rust-ec7010a1a8ae59a7538e649218665497306eb8b1.zip | |
establish immutable source for RUST_CONFIGURE_ARGS
Diffstat (limited to 'src/ci/scripts')
| -rwxr-xr-x | src/ci/scripts/setup-environment.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ci/scripts/setup-environment.sh b/src/ci/scripts/setup-environment.sh index e126a06edab..9fd07a37fcc 100755 --- a/src/ci/scripts/setup-environment.sh +++ b/src/ci/scripts/setup-environment.sh @@ -8,6 +8,13 @@ IFS=$'\n\t' source "$(cd "$(dirname "$0")" && pwd)/../shared.sh" +# Since matrix variables are readonly in Azure Pipelines, we take +# INITIAL_RUST_CONFIGURE_ARGS and establish RUST_CONFIGURE_ARGS +# which downstream steps can alter +if [[ -n "${INITIAL_RUST_CONFIGURE_ARGS}" ]]; then + ciCommandSetEnv RUST_CONFIGURE_ARGS "${INITIAL_RUST_CONFIGURE_ARGS}" +fi + # Builders starting with `dist-` are dist builders, but if they also end with # `-alt` they are alternate dist builders. if [[ "${CI_JOB_NAME}" = dist-* ]]; then |
