Skip to content

Conversation

@thazhemadam
Copy link
Member

Use buildkite's build matrix instead of having duplicated CI steps.

@thazhemadam thazhemadam marked this pull request as draft October 17, 2022 04:40
@thazhemadam thazhemadam force-pushed the at/ci-build-matrix branch 2 times, most recently from ead9852 to 86e22fb Compare October 17, 2022 05:01
Buildkite doesn't support specifying `adjustments` for
`timeout_in_minutes` [1].

We can't specify the default value of `240` for a variable, say
`timeout`, in the matrix, add an `adjustment` step for `timeout`'s value
and interpolate it into `timeout_in_minutes`
(as `timeout_in_minutes: {{matrix.timeout}}) either, since trying to
interpolate matrix values into "top-level" throws a splice error [2].

So, explicitly run the job(s) that need to be run with a timeout of
`360` mins as a completely different step instead.

[1] https://buildkite.com/julialang/stochasticdiffeq-dot-jl/builds/444#0183e442-c5fc-4d94-a3a3-70e9636f735c/53-58
[2] https://buildkite.com/julialang/stochasticdiffeq-dot-jl/builds/447#0183e451-e4f6-4d47-bb3c-e2086d73405a/54-59
@thazhemadam thazhemadam force-pushed the at/ci-build-matrix branch 2 times, most recently from a5bccd3 to 2bcac52 Compare October 17, 2022 05:24
@thazhemadam thazhemadam marked this pull request as ready for review October 17, 2022 05:38
There's no need to have a `matrix.setup` defined since we need (and use)
only the values in `matrix.group`; which we can access using `matrix`
alone.
So, remove the `matrix.version` and replace `matrix.setup` with
`matrix`.
@ChrisRackauckas ChrisRackauckas merged commit 119f70d into SciML:master Oct 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants