Skip to content

Commit

Permalink
ci: use buildkite's build matrix instead of having duplicated CI steps
Browse files Browse the repository at this point in the history
  • Loading branch information
thazhemadam committed Oct 15, 2022
1 parent 57c549f commit 79ee6eb
Showing 1 changed file with 16 additions and 191 deletions.
207 changes: 16 additions & 191 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,206 +16,31 @@ steps:
# Don't run Buildkite if the commit message includes the text [skip tests]
if: build.message !~ /\[skip tests\]/

- label: "Regression_I"
plugins:
- JuliaCI/julia#v1:
version: "1"
- JuliaCI/julia-test#v1:
coverage: false
julia_args: "--threads=auto"
agents:
os: "linux"
queue: "juliaecosystem"
arch: "x86_64"
- label: "{{matrix.group}} v{{matrix.version}}"
matrix:
setup:
version:
- "1.6"
- "1"
group:
- "Regression_I"
- "Regression_II"
- "Multithreading"
- "Integrators_II"
- "InterfaceIV"
- "InterfaceV"
env:
GROUP: 'Regression_I'
timeout_in_minutes: 240
# Don't run Buildkite if the commit message includes the text [skip tests]
if: build.message !~ /\[skip tests\]/

- label: "Regression_I LTS"
BUILDKITE_PLUGIN_JULIA_VERSION: "{{matrix.version}}"
GROUP: "{{matrix.group}}"
plugins:
- JuliaCI/julia#v1:
version: "1.6"
- JuliaCI/julia#v1
- JuliaCI/julia-test#v1:
coverage: false
julia_args: "--threads=auto"
agents:
os: "linux"
queue: "juliaecosystem"
arch: "x86_64"
env:
GROUP: 'Regression_I'
timeout_in_minutes: 240
# Don't run Buildkite if the commit message includes the text [skip tests]
if: build.message !~ /\[skip tests\]/

- label: "Regression_II"
plugins:
- JuliaCI/julia#v1:
version: "1"
- JuliaCI/julia-test#v1:
coverage: false
julia_args: "--threads=auto"
agents:
os: "linux"
queue: "juliaecosystem"
arch: "x86_64"
env:
GROUP: 'Regression_II'
timeout_in_minutes: 240
# Don't run Buildkite if the commit message includes the text [skip tests]
if: build.message !~ /\[skip tests\]/

- label: "Regression_II LTS"
plugins:
- JuliaCI/julia#v1:
version: "1.6"
- JuliaCI/julia-test#v1:
coverage: false
julia_args: "--threads=auto"
agents:
os: "linux"
queue: "juliaecosystem"
arch: "x86_64"
env:
GROUP: 'Regression_II'
timeout_in_minutes: 240
# Don't run Buildkite if the commit message includes the text [skip tests]
if: build.message !~ /\[skip tests\]/

- label: "Multithreading"
plugins:
- JuliaCI/julia#v1:
version: "1"
- JuliaCI/julia-test#v1:
coverage: false
julia_args: "--threads=auto"
agents:
os: "linux"
queue: "juliaecosystem"
arch: "x86_64"
env:
GROUP: 'Multithreading'
timeout_in_minutes: 240
# Don't run Buildkite if the commit message includes the text [skip tests]
if: build.message !~ /\[skip tests\]/

- label: "Multithreading LTS"
plugins:
- JuliaCI/julia#v1:
version: "1.6"
- JuliaCI/julia-test#v1:
coverage: false
julia_args: "--threads=auto"
agents:
os: "linux"
queue: "juliaecosystem"
arch: "x86_64"
env:
GROUP: 'Multithreading'
timeout_in_minutes: 240
# Don't run Buildkite if the commit message includes the text [skip tests]
if: build.message !~ /\[skip tests\]/

- label: "Integrators_II"
plugins:
- JuliaCI/julia#v1:
version: "1"
- JuliaCI/julia-test#v1:
coverage: false
julia_args: "--threads=auto"
agents:
os: "linux"
queue: "juliaecosystem"
arch: "x86_64"
env:
GROUP: 'Integrators_II'
timeout_in_minutes: 240
# Don't run Buildkite if the commit message includes the text [skip tests]
if: build.message !~ /\[skip tests\]/

- label: "Integrators_II LTS"
plugins:
- JuliaCI/julia#v1:
version: "1.6"
- JuliaCI/julia-test#v1:
coverage: false
julia_args: "--threads=auto"
agents:
os: "linux"
queue: "juliaecosystem"
arch: "x86_64"
env:
GROUP: 'Integrators_II'
timeout_in_minutes: 240
# Don't run Buildkite if the commit message includes the text [skip tests]
if: build.message !~ /\[skip tests\]/

- label: "InterfaceIV"
plugins:
- JuliaCI/julia#v1:
version: "1"
- JuliaCI/julia-test#v1:
coverage: false
julia_args: "--threads=auto"
agents:
os: "linux"
queue: "juliaecosystem"
arch: "x86_64"
env:
GROUP: 'InterfaceIV'
timeout_in_minutes: 240
# Don't run Buildkite if the commit message includes the text [skip tests]
if: build.message !~ /\[skip tests\]/

- label: "InterfaceIV LTS"
plugins:
- JuliaCI/julia#v1:
version: "1.6"
- JuliaCI/julia-test#v1:
coverage: false
julia_args: "--threads=auto"
agents:
os: "linux"
queue: "juliaecosystem"
arch: "x86_64"
env:
GROUP: 'InterfaceIV'
timeout_in_minutes: 240
# Don't run Buildkite if the commit message includes the text [skip tests]
if: build.message !~ /\[skip tests\]/

- label: "InterfaceV"
plugins:
- JuliaCI/julia#v1:
version: "1"
- JuliaCI/julia-test#v1:
coverage: false
julia_args: "--threads=auto"
agents:
os: "linux"
queue: "juliaecosystem"
arch: "x86_64"
env:
GROUP: 'InterfaceV'
timeout_in_minutes: 240
# Don't run Buildkite if the commit message includes the text [skip tests]
if: build.message !~ /\[skip tests\]/

- label: "InterfaceV LTS"
plugins:
- JuliaCI/julia#v1:
version: "1.6"
- JuliaCI/julia-test#v1:
coverage: false
julia_args: "--threads=auto"
agents:
os: "linux"
queue: "juliaecosystem"
arch: "x86_64"
env:
GROUP: 'InterfaceV'
timeout_in_minutes: 240
# Don't run Buildkite if the commit message includes the text [skip tests]
if: build.message !~ /\[skip tests\]/

0 comments on commit 79ee6eb

Please sign in to comment.