Skip to content

Commit

Permalink
Temporarily disable other tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
maleadt committed Oct 11, 2022
1 parent 801105d commit adc863f
Showing 1 changed file with 1 addition and 337 deletions.
338 changes: 1 addition & 337 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,230 +1,6 @@
steps:

# Julia versions

- label: "Julia 1.6"
plugins:
- JuliaCI/julia#v1:
version: 1.6
- JuliaCI/julia-test#v1:
test_args: "--quickfail"
- JuliaCI/julia-coverage#v1:
codecov: true
dirs:
- src
- lib
- examples
agents:
queue: "juliagpu"
cuda: "*"
if: build.message !~ /\[skip tests\]/
timeout_in_minutes: 120

- label: "Julia 1.7"
plugins:
- JuliaCI/julia#v1:
version: 1.7
- JuliaCI/julia-test#v1: ~
- JuliaCI/julia-coverage#v1:
codecov: true
dirs:
- src
- lib
- examples
agents:
queue: "juliagpu"
cuda: "*"
if: build.message !~ /\[skip tests\]/ && !build.pull_request.draft
timeout_in_minutes: 120

- label: "Julia 1.8"
plugins:
- JuliaCI/julia#v1:
version: 1.8
- JuliaCI/julia-test#v1: ~
- JuliaCI/julia-coverage#v1:
codecov: true
dirs:
- src
- lib
- examples
agents:
queue: "juliagpu"
cuda: "*"
if: build.message !~ /\[skip tests\]/ && !build.pull_request.draft
timeout_in_minutes: 120

- label: "Julia nightly"
plugins:
- JuliaCI/julia#v1:
version: nightly
- JuliaCI/julia-test#v1: ~
- JuliaCI/julia-coverage#v1:
codecov: true
dirs:
- src
- lib
- examples
agents:
queue: "juliagpu"
cuda: "*"
if: build.message !~ /\[skip tests\]/ && !build.pull_request.draft
timeout_in_minutes: 120
soft_fail:
- exit_status: 1


# CUDA versions (from artifacts)

# NOTE: we support those CUDA versions for which the latest cuDNN is available
# https://developer.nvidia.com/rdp/cudnn-archive

- label: "CUDA {{matrix}}"
plugins:
- JuliaCI/julia#v1:
version: 1.6
- JuliaCI/julia-test#v1:
test_args: "--thorough"
- JuliaCI/julia-coverage#v1:
codecov: true
dirs:
- src
- lib
- examples
agents:
queue: "juliagpu"
cuda: "11.0"
cap: "sm_80"
env:
JULIA_CUDA_VERSION: "{{matrix}}"
JULIA_CUDA_USE_BINARYBUILDER: 'true'
if: build.message !~ /\[skip tests\]/ && !build.pull_request.draft
timeout_in_minutes: 120
matrix:
- "11.8"
- "11.7"
- "11.6"
- "11.5"
- "11.4"
- "11.3"
- "11.2"
- "11.1"
- "11.0"

- label: "CUDA 10.2"
plugins:
- JuliaCI/julia#v1:
version: 1.6
- JuliaCI/julia-test#v1:
test_args: "--thorough"
- JuliaCI/julia-coverage#v1:
codecov: true
dirs:
- src
- lib
- examples
agents:
queue: "juliagpu"
cuda: "10.2"
cap: "sm_75"
env:
JULIA_CUDA_VERSION: '10.2'
JULIA_CUDA_USE_BINARYBUILDER: 'true'
if: build.message !~ /\[skip tests\]/ && !build.pull_request.draft
timeout_in_minutes: 120


# special tests

# - label: "Windows"
# plugins:
# - JuliaCI/julia#v1:
# version: 1.6
# - JuliaCI/julia-test#v1: ~
# # XXX: no coverage, as no secrets on Windows
# agents:
# queue: "juliagpu-windows"
# cuda: "*"
# if: build.message !~ /\[skip tests\]/ && !build.pull_request.draft
# timeout_in_minutes: 120

- label: "GPU-less environment"
plugins:
- JuliaCI/julia#v1:
version: 1.6
- JuliaCI/julia-coverage#v1:
codecov: true
dirs:
- src
- lib
- examples
- JuliaCI/julia-test#v1:
run_tests: false
command: |
julia --project -e 'using CUDA;
@assert !CUDA.functional();
CUDA.download_artifacts()'
env:
CUDA_VISIBLE_DEVICES: ''
JULIA_CUDA_VERSION: '11.6'
agents:
queue: "juliagpu"
cuda: "*"
if: build.message !~ /\[skip tests\]/ && !build.pull_request.draft
timeout_in_minutes: 60

- label: "NNlibCUDA.jl"
plugins:
- JuliaCI/julia#v1:
version: 1.6
- JuliaCI/julia-coverage#v1:
codecov: true
dirs:
- src
- lib
- examples
command: |
julia -e 'using Pkg;
println("--- :julia: Instantiating project");
Pkg.develop(PackageSpec(path=pwd()));
Pkg.add(PackageSpec(name="NNlibCUDA", rev="master"));
Pkg.instantiate();
println("+++ :julia: Running tests");
Pkg.test("NNlibCUDA"; coverage=true);'
agents:
queue: "juliagpu"
cuda: "*"
if: build.message !~ /\[skip tests\]/ && !build.pull_request.draft
timeout_in_minutes: 60

- label: "Compute Sanitizer"
plugins:
- JuliaCI/julia#v1:
version: 1.6
- JuliaCI/julia-test#v1:
julia_args: "-g2"
test_args: "--sanitize --quickfail --jobs=1"
- JuliaCI/julia-coverage#v1:
codecov: true
dirs:
- src
- lib
- examples
agents:
queue: "juliagpu"
cuda: "11.0"
cap: "sm_80"
env:
JULIA_CUDA_VERSION: '11.6'
JULIA_CUDA_USE_COMPAT: 'false' # NVIDIA bug #3418723: injection tools prevent probing libcuda
JULIA_CUDA_USE_BINARYBUILDER: 'true'
if: build.message !~ /\[skip tests\]/ &&
build.branch =~ /^master$$/
timeout_in_minutes: 240

- label: "{{matrix.package}} on CUDA {{matrix.cuda}}"
- label: "{{matrix.package}}.jl using CUDA {{matrix.cuda}}"
matrix:
setup:
package:
Expand Down Expand Up @@ -259,118 +35,6 @@ steps:
julia -e 'import Pkg; Pkg.precompile()'
julia -e 'import Pkg; Pkg.test(ENV["PACKAGE"])'
# other tasks

# we want to benchmark every commit on the master branch, even if it failed CI
- wait: ~
continue_on_failure: true

# if we will submit results, use the benchmark queue so that we will
# be running on the same system each time
- label: "Benchmarks on 1.6"
plugins:
- JuliaCI/julia#v1:
version: 1.6
env:
BENCHMARKS: "true"
CODESPEED_PROJECT: "$BUILDKITE_PIPELINE_NAME"
CODESPEED_BRANCH: "$BUILDKITE_BRANCH"
CODESPEED_COMMIT: "$BUILDKITE_COMMIT"
CODESPEED_EXECUTABLE: "Julia 1.6"
command: |
julia --project -e '
ENV["CODESPEED_ENVIRONMENT"] = ENV["BUILDKITE_AGENT_NAME"]
println("--- :julia: Instantiating project")
using Pkg
Pkg.instantiate()
Pkg.activate("perf")
Pkg.instantiate()
push!(LOAD_PATH, @__DIR__)
println("+++ :julia: Benchmarking")
include("perf/runbenchmarks.jl")'
agents:
queue: "benchmark"
cuda: "*"
if: build.message !~ /\[skip benchmarks\]/ &&
build.branch =~ /^master$$/
timeout_in_minutes: 30

- label: "Benchmarks on 1.7"
plugins:
- JuliaCI/julia#v1:
version: 1.7
env:
BENCHMARKS: "true"
CODESPEED_PROJECT: "$BUILDKITE_PIPELINE_NAME"
CODESPEED_BRANCH: "$BUILDKITE_BRANCH"
CODESPEED_COMMIT: "$BUILDKITE_COMMIT"
CODESPEED_EXECUTABLE: "Julia 1.7"
command: |
julia --project -e '
ENV["CODESPEED_ENVIRONMENT"] = ENV["BUILDKITE_AGENT_NAME"]
println("--- :julia: Instantiating project")
using Pkg
Pkg.instantiate()
Pkg.activate("perf")
Pkg.instantiate()
push!(LOAD_PATH, @__DIR__)
println("+++ :julia: Benchmarking")
include("perf/runbenchmarks.jl")'
agents:
queue: "benchmark"
cuda: "*"
if: build.message !~ /\[skip benchmarks\]/ &&
build.branch =~ /^master$$/
timeout_in_minutes: 30

- wait

# benchmarks outside of the master branch don't submit their results,
# so they can run on any system in the juliagpu queue.
- label: "Benchmarks (dry run)"
plugins:
- JuliaCI/julia#v1:
version: 1.6
command: |
julia --project -e '
println("--- :julia: Instantiating project")
using Pkg
Pkg.instantiate()
Pkg.activate("perf")
Pkg.instantiate()
push!(LOAD_PATH, @__DIR__)
println("+++ :julia: Benchmarking")
include("perf/runbenchmarks.jl")'
agents:
queue: "juliagpu"
cuda: "*"
if: build.message !~ /\[skip benchmarks\]/ &&
build.branch !~ /^master$$/ &&
!build.pull_request.draft
timeout_in_minutes: 30

- label: "Documentation"
plugins:
- JuliaCI/julia#v1:
version: 1.6
command: |
julia --project -e '
println("--- :julia: Instantiating project")
using Pkg
Pkg.instantiate()
Pkg.activate("docs")
Pkg.instantiate()
push!(LOAD_PATH, @__DIR__)
println("+++ :julia: Building documentation")
include("docs/make.jl")'
agents:
queue: "juliagpu"
cuda: "*"
if: build.message !~ /\[skip docs\]/ && !build.pull_request.draft
timeout_in_minutes: 30

env:
Expand Down

0 comments on commit adc863f

Please sign in to comment.