-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dc17eea
commit 9773d82
Showing
2 changed files
with
11 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,15 @@ | ||
#!/bin/bash | ||
OS=("windows" "linux" "macos") | ||
TARGET_WORKFLOW="${1}" | ||
JULIA_VERSIONS=(1.10 1.11 nightly) | ||
|
||
for os in ${OS[@]}; do | ||
ytt -f "${TARGET_WORKFLOW}" --data-value os="${os}" --data-value arch="x86_64" | buildkite-agent pipeline upload | ||
for julia_version in ${JULIA_VERSIONS[@]}; do | ||
for os in ${OS[@]}; do | ||
ytt -f "${TARGET_WORKFLOW}" --data-value os="${os}" --data-value arch="x86_64" --data-value julia_version="${julia_version}" | buildkite-agent pipeline upload | ||
|
||
if [[ $os == "windows" ]]; then | ||
continue | ||
fi | ||
ytt -f "${TARGET_WORKFLOW}" --data-value os="${os}" --data-value arch="aarch64" | buildkite-agent pipeline upload | ||
if [[ $os == "windows" ]]; then | ||
continue | ||
fi | ||
ytt -f "${TARGET_WORKFLOW}" --data-value os="${os}" --data-value arch="aarch64" --data-value julia_version="${julia_version}" | buildkite-agent pipeline upload | ||
done | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters