Skip to content

Commit 9773d82

Browse files
committed
Test on more julia versions
1 parent dc17eea commit 9773d82

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

.buildkite/commands/runtests.sh

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
#!/bin/bash
22
OS=("windows" "linux" "macos")
33
TARGET_WORKFLOW="${1}"
4+
JULIA_VERSIONS=(1.10 1.11 nightly)
45

5-
for os in ${OS[@]}; do
6-
ytt -f "${TARGET_WORKFLOW}" --data-value os="${os}" --data-value arch="x86_64" | buildkite-agent pipeline upload
6+
for julia_version in ${JULIA_VERSIONS[@]}; do
7+
for os in ${OS[@]}; do
8+
ytt -f "${TARGET_WORKFLOW}" --data-value os="${os}" --data-value arch="x86_64" --data-value julia_version="${julia_version}" | buildkite-agent pipeline upload
79

8-
if [[ $os == "windows" ]]; then
9-
continue
10-
fi
11-
ytt -f "${TARGET_WORKFLOW}" --data-value os="${os}" --data-value arch="aarch64" | buildkite-agent pipeline upload
10+
if [[ $os == "windows" ]]; then
11+
continue
12+
fi
13+
ytt -f "${TARGET_WORKFLOW}" --data-value os="${os}" --data-value arch="aarch64" --data-value julia_version="${julia_version}" | buildkite-agent pipeline upload
14+
done
1215
done

.buildkite/runtests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ self_test_setup: &self_test_setup
1111
cp -Ra hooks lib plugin.yml README.md .buildkite/plugins/jack/
1212
1313
steps:
14-
- label: #@ ":{}: :bucket: Test jack".format(data.values.os)
14+
- label: #@ ":{}: :bucket: Test jack (julia :{}:)".format(data.values.os, data.values.julia_version)
1515
agents:
1616
arch: #@ data.values.arch
1717
os: #@ data.values.os
@@ -22,7 +22,7 @@ steps:
2222

2323
plugins:
2424
- JuliaCI/julia#v1:
25-
version: 1
25+
version: #@ data.values.julia_version
2626

2727
#! In order to properly use the current repository as a plugin within a pipeline,
2828
#! we have to first install it into the "vendored plugin" location.

0 commit comments

Comments
 (0)