Skip to content

Commit

Permalink
Temporarily disable testing of NNlib.jl.
Browse files Browse the repository at this point in the history
x-ref JuliaLang/Pkg.jl#4028

[ci skip]
  • Loading branch information
maleadt committed Sep 25, 2024
1 parent 71ae06b commit a918cfc
Showing 1 changed file with 57 additions and 55 deletions.
112 changes: 57 additions & 55 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,61 +146,63 @@ steps:
- group: ":telescope: Downstream"
depends_on: "cuda"
steps:
- label: "NNlib.jl"
plugins:
- JuliaCI/julia#v1:
version: "1.10"
- JuliaCI/julia-coverage#v1:
dirs:
- src
- lib
- examples
command: |
julia --project -e '
using Pkg
cuda = pwd()
cudnn = joinpath(cuda, "lib", "cudnn")
nnlib = joinpath(DEPOT_PATH[1], "dev", "NNlib")
println("--- :julia: Installing TestEnv")
Pkg.activate()
Pkg.add("TestEnv")
using TestEnv
println("--- :julia: Installing NNlib")
withenv("JULIA_PKG_PRECOMPILE_AUTO" => 0) do
Pkg.develop("NNlib")
Pkg.activate(nnlib)
try
Pkg.develop([PackageSpec(path=cuda), PackageSpec(path=cudnn)])
TestEnv.activate()
catch err
@error "Could not install NNlib" exception=(err,catch_backtrace())
exit(3)
finally
Pkg.activate(nnlib)
end
end
println("+++ :julia: Running tests")
Pkg.test(; coverage=true)'
env:
NNLIB_TEST_CUDA: "true"
NNLIB_TEST_CPU: "false"
agents:
queue: "juliagpu"
cuda: "*"
if: |
build.message =~ /\[only tests\]/ ||
build.message =~ /\[only downstream\]/ ||
build.message !~ /\[only/ && !build.pull_request.draft &&
build.message !~ /\[skip tests\]/ &&
build.message !~ /\[skip downstream\]/
timeout_in_minutes: 30
soft_fail:
- exit_status: 3
#- label: "NNlib.jl"
# plugins:
# - JuliaCI/julia#v1:
# version: "1.10"
# - JuliaCI/julia-coverage#v1:
# dirs:
# - src
# - lib
# - examples
# command: |
# julia --project -e '
# using Pkg
#
# cuda = pwd()
# cudnn = joinpath(cuda, "lib", "cudnn")
# devdir = "/tmp/dev"; mktempdir()
# nnlib = joinpath(devdir, "NNlib")
#
# println("--- :julia: Installing TestEnv")
# Pkg.activate(; temp=true)
# Pkg.add("TestEnv")
# using TestEnv
#
# println("--- :julia: Installing NNlib")
# withenv("JULIA_PKG_PRECOMPILE_AUTO" => 0,
# "JULIA_PKG_DEVDIR" => devdir) do
# Pkg.develop("NNlib")
# Pkg.activate(nnlib)
#
# try
# Pkg.develop([PackageSpec(path=cuda), PackageSpec(path=cudnn)])
# TestEnv.activate()
# catch err
# @error "Could not install NNlib" exception=(err,catch_backtrace())
# exit(3)
# finally
# Pkg.activate(nnlib)
# end
# end
#
# println("+++ :julia: Running tests")
# Pkg.test(; coverage=true)'
# env:
# NNLIB_TEST_CUDA: "true"
# NNLIB_TEST_CPU: "false"
# agents:
# queue: "juliagpu"
# cuda: "*"
# if: |
# build.message =~ /\[only tests\]/ ||
# build.message =~ /\[only downstream\]/ ||
# build.message !~ /\[only/ && !build.pull_request.draft &&
# build.message !~ /\[skip tests\]/ &&
# build.message !~ /\[skip downstream\]/
# timeout_in_minutes: 30
# soft_fail:
# - exit_status: 3
- label: "Enzyme.jl"
plugins:
- JuliaCI/julia#v1:
Expand Down

0 comments on commit a918cfc

Please sign in to comment.