Skip to content

Commit

Permalink
Only test ArbitraryMotion for oneAPI
Browse files Browse the repository at this point in the history
  • Loading branch information
pvillacorta committed Aug 30, 2024
1 parent 2655f0d commit 44debdd
Showing 1 changed file with 123 additions and 123 deletions.
246 changes: 123 additions & 123 deletions .buildkite/runtests.yml
Original file line number Diff line number Diff line change
@@ -1,139 +1,139 @@
steps:
- group: ":julia: ($TEST_GROUP) Tests"
steps:
- label: "CPU: Run tests on v{{matrix.version}}"
matrix:
setup:
version:
- "1.9"
- "1"
plugins:
- JuliaCI/julia#v1:
version: "{{matrix.version}}"
- JuliaCI/julia-coverage#v1:
codecov: true
dirs:
- KomaMRICore/src
- KomaMRICore/ext
env:
TEST_GROUP: $TEST_GROUP
command: |
julia -e 'println("--- :julia: Instantiating project")
using Pkg
Pkg.develop([
PackageSpec(path=pwd(), subdir="KomaMRIBase"),
PackageSpec(path=pwd(), subdir="KomaMRICore"),
])'
# - label: "CPU: Run tests on v{{matrix.version}}"
# matrix:
# setup:
# version:
# - "1.9"
# - "1"
# plugins:
# - JuliaCI/julia#v1:
# version: "{{matrix.version}}"
# - JuliaCI/julia-coverage#v1:
# codecov: true
# dirs:
# - KomaMRICore/src
# - KomaMRICore/ext
# env:
# TEST_GROUP: $TEST_GROUP
# command: |
# julia -e 'println("--- :julia: Instantiating project")
# using Pkg
# Pkg.develop([
# PackageSpec(path=pwd(), subdir="KomaMRIBase"),
# PackageSpec(path=pwd(), subdir="KomaMRICore"),
# ])'

julia -e 'println("--- :julia: Running tests")
using Pkg
Pkg.test("KomaMRICore"; coverage=true, julia_args=`--threads=auto`)'
agents:
queue: "juliagpu"
timeout_in_minutes: 60
# julia -e 'println("--- :julia: Running tests")
# using Pkg
# Pkg.test("KomaMRICore"; coverage=true, julia_args=`--threads=auto`)'
# agents:
# queue: "juliagpu"
# timeout_in_minutes: 60

- label: "AMDGPU: Run tests on v{{matrix.version}}"
matrix:
setup:
version:
- "1"
plugins:
- JuliaCI/julia#v1:
version: "{{matrix.version}}"
- JuliaCI/julia-coverage#v1:
codecov: true
dirs:
- KomaMRICore/src
- KomaMRICore/ext
env:
TEST_GROUP: $TEST_GROUP
command: |
julia -e 'println("--- :julia: Instantiating project")
using Pkg
Pkg.develop([
PackageSpec(path=pwd(), subdir="KomaMRIBase"),
PackageSpec(path=pwd(), subdir="KomaMRICore"),
])'
# - label: "AMDGPU: Run tests on v{{matrix.version}}"
# matrix:
# setup:
# version:
# - "1"
# plugins:
# - JuliaCI/julia#v1:
# version: "{{matrix.version}}"
# - JuliaCI/julia-coverage#v1:
# codecov: true
# dirs:
# - KomaMRICore/src
# - KomaMRICore/ext
# env:
# TEST_GROUP: $TEST_GROUP
# command: |
# julia -e 'println("--- :julia: Instantiating project")
# using Pkg
# Pkg.develop([
# PackageSpec(path=pwd(), subdir="KomaMRIBase"),
# PackageSpec(path=pwd(), subdir="KomaMRICore"),
# ])'

julia --project=KomaMRICore/test -e 'println("--- :julia: Add AMDGPU to test environment")
using Pkg
Pkg.add("AMDGPU")'
# julia --project=KomaMRICore/test -e 'println("--- :julia: Add AMDGPU to test environment")
# using Pkg
# Pkg.add("AMDGPU")'

julia -e 'println("--- :julia: Running tests")
using Pkg
Pkg.test("KomaMRICore"; coverage=true, test_args=["AMDGPU", ])'
agents:
queue: "juliagpu"
rocm: "*"
timeout_in_minutes: 60
# julia -e 'println("--- :julia: Running tests")
# using Pkg
# Pkg.test("KomaMRICore"; coverage=true, test_args=["AMDGPU", ])'
# agents:
# queue: "juliagpu"
# rocm: "*"
# timeout_in_minutes: 60

- label: "CUDA: Run tests on v{{matrix.version}}"
matrix:
setup:
version:
- "1.9"
- "1"
plugins:
- JuliaCI/julia#v1:
version: "{{matrix.version}}"
- JuliaCI/julia-coverage#v1:
codecov: true
dirs:
- KomaMRICore/src
- KomaMRICore/ext
env:
TEST_GROUP: $TEST_GROUP
command: |
julia -e 'println("--- :julia: Instantiating project")
using Pkg
Pkg.develop([
PackageSpec(path=pwd(), subdir="KomaMRIBase"),
PackageSpec(path=pwd(), subdir="KomaMRICore"),
])'
# - label: "CUDA: Run tests on v{{matrix.version}}"
# matrix:
# setup:
# version:
# - "1.9"
# - "1"
# plugins:
# - JuliaCI/julia#v1:
# version: "{{matrix.version}}"
# - JuliaCI/julia-coverage#v1:
# codecov: true
# dirs:
# - KomaMRICore/src
# - KomaMRICore/ext
# env:
# TEST_GROUP: $TEST_GROUP
# command: |
# julia -e 'println("--- :julia: Instantiating project")
# using Pkg
# Pkg.develop([
# PackageSpec(path=pwd(), subdir="KomaMRIBase"),
# PackageSpec(path=pwd(), subdir="KomaMRICore"),
# ])'

julia --project=KomaMRICore/test -e 'println("--- :julia: Add CUDA to test environment")
using Pkg
Pkg.add("CUDA")'
# julia --project=KomaMRICore/test -e 'println("--- :julia: Add CUDA to test environment")
# using Pkg
# Pkg.add("CUDA")'

julia -e 'println("--- :julia: Running tests")
using Pkg
Pkg.test("KomaMRICore"; coverage=true, test_args=["CUDA"])'
agents:
queue: "juliagpu"
cuda: "*"
timeout_in_minutes: 60
# julia -e 'println("--- :julia: Running tests")
# using Pkg
# Pkg.test("KomaMRICore"; coverage=true, test_args=["CUDA"])'
# agents:
# queue: "juliagpu"
# cuda: "*"
# timeout_in_minutes: 60

- label: "Metal: Run tests on v{{matrix.version}}"
matrix:
setup:
version:
- "1.9"
- "1"
plugins:
- JuliaCI/julia#v1:
version: "{{matrix.version}}"
env:
TEST_GROUP: $TEST_GROUP
command: |
julia -e 'println("--- :julia: Instantiating project")
using Pkg
Pkg.develop([
PackageSpec(path=pwd(), subdir="KomaMRIBase"),
PackageSpec(path=pwd(), subdir="KomaMRICore"),
])'
# - label: "Metal: Run tests on v{{matrix.version}}"
# matrix:
# setup:
# version:
# - "1.9"
# - "1"
# plugins:
# - JuliaCI/julia#v1:
# version: "{{matrix.version}}"
# env:
# TEST_GROUP: $TEST_GROUP
# command: |
# julia -e 'println("--- :julia: Instantiating project")
# using Pkg
# Pkg.develop([
# PackageSpec(path=pwd(), subdir="KomaMRIBase"),
# PackageSpec(path=pwd(), subdir="KomaMRICore"),
# ])'

julia --project=KomaMRICore/test -e 'println("--- :julia: Add Metal to test environment")
using Pkg
Pkg.add("Metal")'
# julia --project=KomaMRICore/test -e 'println("--- :julia: Add Metal to test environment")
# using Pkg
# Pkg.add("Metal")'

julia -e 'println("--- :julia: Running tests")
using Pkg
Pkg.test("KomaMRICore"; test_args=["Metal"])'
agents:
queue: "juliaecosystem"
os: "macos"
arch: "aarch64"
timeout_in_minutes: 60
# julia -e 'println("--- :julia: Running tests")
# using Pkg
# Pkg.test("KomaMRICore"; test_args=["Metal"])'
# agents:
# queue: "juliaecosystem"
# os: "macos"
# arch: "aarch64"
# timeout_in_minutes: 60

- label: "oneAPI: Run tests on v{{matrix.version}}"
matrix:
Expand Down

0 comments on commit 44debdd

Please sign in to comment.