-
Notifications
You must be signed in to change notification settings - Fork 13.4k
establish immutable source for RUST_CONFIGURE_ARGS #69894
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -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 [[ -v INITIAL_RUST_CONFIGURE_ARGS ]]; then | ||||||||||||||||||||||||||||||||||||||
ciCommandSetEnv RUST_CONFIGURE_ARGS "${INITIAL_RUST_CONFIGURE_ARGS}" | ||||||||||||||||||||||||||||||||||||||
fi | ||||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Confirmed through testing that this block works with Linux, Mac, and Windows builds! There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Shamelessly stealing now! |
||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||
# 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 | ||||||||||||||||||||||||||||||||||||||
|
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.