Skip to content
This repository was archived by the owner on May 27, 2021. It is now read-only.

Commit a0cf604

Browse files
committed
Check-out packages from master.
1 parent b59014d commit a0cf604

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

docs/make.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
using Documenter, CUDAnative
1+
using Documenter
22

33
using Pkg
44
if haskey(ENV, "GITLAB_CI")
55
Pkg.add([PackageSpec(name = x; rev = "master") for x in ["CUDAdrv", "LLVM"]])
66
end
77

8+
using CUDAnative
9+
810
makedocs(
911
modules = [CUDAnative],
1012
format = Documenter.HTML(prettyurls = get(ENV, "CI", nothing) == "true"),

test/runtests.jl

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,20 @@
1+
using Test
2+
3+
# development often happens in lockstep with other packages,
4+
# so check-out the master branch of those packages.
5+
using Pkg
6+
if haskey(ENV, "GITLAB_CI")
7+
Pkg.add([PackageSpec(name = x; rev = "master")
8+
for x in ["CUDAdrv", "LLVM", "CuArrays"]])
9+
end
10+
111
using CUDAnative, CUDAdrv
212
import LLVM
313

4-
using Test
14+
include("util.jl")
515

616
@testset "CUDAnative" begin
717

8-
include("util.jl")
9-
1018
include("base.jl")
1119
include("pointer.jl")
1220
include("codegen.jl")

0 commit comments

Comments
 (0)