-
-
Notifications
You must be signed in to change notification settings - Fork 188
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
e6217b6
commit 04b45e4
Showing
2 changed files
with
40 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
steps: | ||
- label: ":runner: Launch matrix of jobs" | ||
commands: | | ||
AGENT_OS_AND_ARCH=( linux-x86_64 windows-x86_64 macos-aarch64 ) | ||
JULIA_VERSIONS=( 1.6 1.8 1.9 nightly ) | ||
JULIA_TEST_COVERAGE=false | ||
for AGENT_OS_AND_ARCH in "$${AGENT_OS_AND_ARCH[@]}"; do | ||
IFS=- read AGENT_OS AGENT_ARCH <<<"$${AGENT_OS_AND_ARCH}" | ||
for JULIA_VERSION in "$${JULIA_VERSIONS[@]}"; do | ||
# Skip julia versions that do not exist | ||
if [[ "$${AGENT_OS_AND_ARCH}" == "macos-aarch64" ]] && [[ "$${JULIA_VERSION}" == "1.6" ]]; then | ||
continue | ||
fi | ||
# Template `runtests.yml` with the values from our matrix | ||
export AGENT_OS AGENT_ARCH JULIA_VERSION JULIA_TEST_COVERAGE | ||
buildkite-agent pipeline upload .buildkite/runtests.yml | ||
# For 1.9, we need a `coverage=false` build due to pkgimages | ||
if [[ "$${JULIA_VERSION}" == "1.9" ]]; then | ||
JULIA_TEST_COVERAGE=true buildkite-agent pipeline upload .buildkite/runtests.yml | ||
fi | ||
done | ||
done | ||
agents: | ||
queue: "juliaecosystem" |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
steps: | ||
- label: ":test_tube: :${AGENT_OS}: Julia ${JULIA_VERSION}, ${AGENT_OS} ${AGENT_ARCH}, coverage=${JULIA_TEST_COVERAGE}" | ||
plugins: | ||
- JuliaCI/julia#v1: | ||
version: "${JULIA_VERSION}" | ||
# This buildkite plugin has a `command` hook inside of it, | ||
# so we don't need to specify a `commands` block for this step. | ||
- JuliaCI/julia-test#v1: | ||
coverage: "${JULIA_TEST_COVERAGE}" | ||
agents: | ||
queue: "juliaecosystem" | ||
os: "${AGENT_OS}" | ||
arch: "${AGENT_ARCH}" |