Skip to content

Commit

Permalink
Trigger CI
Browse files Browse the repository at this point in the history
  • Loading branch information
pxl-th committed Apr 3, 2023
1 parent 2ad588e commit fb3da33
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,15 @@ include("test_utils.jl")
end

if get(ENV, "NNLIB_TEST_AMDGPU", "false") == "true"
# Hack to add MIOpen_jll to AMDGPU.
import Pkg
test_info = Pkg.project()

# Add MIOpen_jll to AMDGPU.
Pkg.develop("AMDGPU")
Pkg.activate(joinpath(Pkg.devdir(), "AMDGPU"))
Pkg.add("MIOpen_jll")
Pkg.update()
# Update test project.
Pkg.activate(test_info.path)
Pkg.update()

Expand Down

0 comments on commit fb3da33

Please sign in to comment.