File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed
Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,53 @@ steps:
4545 soft_fail :
4646 - exit_status : 3
4747
48+ - label : " AMDGPU.jl"
49+ plugins :
50+ - JuliaCI/julia#v1:
51+ version : " 1.10"
52+ - JuliaCI/julia-coverage#v1:
53+ codecov : true
54+ command : |
55+ julia -e 'using Pkg
56+
57+ gpuarrays = pwd()
58+ gpuarrayscore = joinpath(gpuarrays, "lib", "GPUArraysCore")
59+ devdir = mktempdir()
60+ package = joinpath(devdir, "AMDPU")
61+
62+ println("--- :julia: Installing TestEnv")
63+ Pkg.activate(; temp=true)
64+ Pkg.add("TestEnv")
65+ using TestEnv
66+
67+ println("--- :julia: Installing AMDGPU.jl")
68+ withenv("JULIA_PKG_PRECOMPILE_AUTO" => 0,
69+ "JULIA_PKG_DEVDIR" => devdir) do
70+ Pkg.develop("AMDGPU")
71+ Pkg.activate(package)
72+
73+ try
74+ Pkg.develop([PackageSpec(path=gpuarrays), PackageSpec(path=gpuarrayscore)])
75+ TestEnv.activate()
76+ catch err
77+ @error "Could not install AMDGPU.jl" exception=(err,catch_backtrace())
78+ exit(3)
79+ finally
80+ Pkg.activate(package)
81+ end
82+ end
83+
84+ println("+++ :julia: Running tests")
85+ Pkg.test(; coverage=true)'
86+ agents :
87+ queue : " juliagpu"
88+ rocm : " *"
89+ rocmgpu : " *"
90+ if : build.message !~ /\[skip tests\]/
91+ timeout_in_minutes : 120
92+ soft_fail :
93+ - exit_status : 3
94+
4895 - label : " oneAPI.jl"
4996 plugins :
5097 - JuliaCI/julia#v1:
You can’t perform that action at this time.
0 commit comments