File tree 2 files changed +40
-0
lines changed
2 files changed +40
-0
lines changed Original file line number Diff line number Diff line change
1
+ steps :
2
+ - label : " :runner: Launch matrix of jobs"
3
+ commands : |
4
+ AGENT_OS_AND_ARCH=( linux-x86_64 windows-x86_64 macos-aarch64 )
5
+ JULIA_VERSIONS=( 1.6 1.8 1.9 nightly )
6
+ JULIA_TEST_COVERAGE=false
7
+
8
+ for AGENT_OS_AND_ARCH in "$${AGENT_OS_AND_ARCH[@]}"; do
9
+ IFS=- read AGENT_OS AGENT_ARCH <<<"$${AGENT_OS_AND_ARCH}"
10
+ for JULIA_VERSION in "$${JULIA_VERSIONS[@]}"; do
11
+ # Skip julia versions that do not exist
12
+ if [[ "$${AGENT_OS_AND_ARCH}" == "macos-aarch64" ]] && [[ "$${JULIA_VERSION}" == "1.6" ]]; then
13
+ continue
14
+ fi
15
+
16
+ # Template `runtests.yml` with the values from our matrix
17
+ export AGENT_OS AGENT_ARCH JULIA_VERSION JULIA_TEST_COVERAGE
18
+ buildkite-agent pipeline upload .buildkite/runtests.yml
19
+
20
+ # For 1.9, we need a `coverage=false` build due to pkgimages
21
+ if [[ "$${JULIA_VERSION}" == "1.9" ]]; then
22
+ JULIA_TEST_COVERAGE=true buildkite-agent pipeline upload .buildkite/runtests.yml
23
+ fi
24
+ done
25
+ done
26
+ agents :
27
+ queue : " juliaecosystem"
Original file line number Diff line number Diff line change
1
+ steps :
2
+ - label : " :test_tube: :${AGENT_OS}: Julia ${JULIA_VERSION}, ${AGENT_OS} ${AGENT_ARCH}, coverage=${JULIA_TEST_COVERAGE}"
3
+ plugins :
4
+ - JuliaCI/julia#v1:
5
+ version : " ${JULIA_VERSION}"
6
+ # This buildkite plugin has a `command` hook inside of it,
7
+ # so we don't need to specify a `commands` block for this step.
8
+ - JuliaCI/julia-test#v1:
9
+ coverage : " ${JULIA_TEST_COVERAGE}"
10
+ agents :
11
+ queue : " juliaecosystem"
12
+ os : " ${AGENT_OS}"
13
+ arch : " ${AGENT_ARCH}"
You can’t perform that action at this time.
0 commit comments