Skip to content

Commit

Permalink
Test on more julia versions
Browse files Browse the repository at this point in the history
  • Loading branch information
staticfloat committed Jan 30, 2025
1 parent dc17eea commit 9773d82
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
15 changes: 9 additions & 6 deletions .buildkite/commands/runtests.sh
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
4 changes: 2 additions & 2 deletions .buildkite/runtests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ self_test_setup: &self_test_setup
cp -Ra hooks lib plugin.yml README.md .buildkite/plugins/jack/
steps:
- label: #@ ":{}: :bucket: Test jack".format(data.values.os)
- label: #@ ":{}: :bucket: Test jack (julia :{}:)".format(data.values.os, data.values.julia_version)
agents:
arch: #@ data.values.arch
os: #@ data.values.os
Expand All @@ -22,7 +22,7 @@ steps:

plugins:
- JuliaCI/julia#v1:
version: 1
version: #@ data.values.julia_version

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

0 comments on commit 9773d82

Please sign in to comment.