Skip to content

Commit

Permalink
ci: use sources for docs
Browse files Browse the repository at this point in the history
  • Loading branch information
avik-pal committed Nov 22, 2024
1 parent 132619c commit de89c74
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .buildkite/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ steps:
parallelism: 4
plugins:
- JuliaCI/julia#v1:
version: "1.10"
version: "1"
command: julia --code-coverage=user --color=yes --project=docs --threads=auto docs/tutorials.jl
env:
TUTORIAL_BACKEND_GROUP: "CUDA"
Expand All @@ -28,7 +28,7 @@ steps:
parallelism: 4
plugins:
- JuliaCI/julia#v1:
version: "1.10"
version: "1"
command: julia --code-coverage=user --color=yes --project=docs --threads=auto docs/tutorials.jl
env:
TUTORIAL_BACKEND_GROUP: "CPU"
Expand All @@ -50,7 +50,7 @@ steps:
- "tutorial-build-cpu"
plugins:
- JuliaCI/julia#v1:
version: "1.10"
version: "1"
- JuliaCI/julia-coverage#v1:
codecov: true
dirs:
Expand All @@ -69,11 +69,6 @@ steps:
julia --code-coverage=user --color=yes --project=docs -e '
println("--- :julia: Instantiating project")
using Pkg
dev_pkgs = Pkg.PackageSpec[]
for pkg in ("lib/LuxLib", "lib/LuxCore", "lib/MLDataDevices", "lib/LuxTestUtils", "lib/WeightInitializers", ".")
push!(dev_pkgs, Pkg.PackageSpec(path=pkg));
end
Pkg.develop(dev_pkgs)
Pkg.instantiate()
println("+++ :julia: Building documentation")
include("docs/make.jl")'
Expand Down
8 changes: 8 additions & 0 deletions docs/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,11 @@ StaticArrays = "1"
WeightInitializers = "1"
Zygote = "0.6.70"
julia = "1.10"

[sources]
Lux = { path = "../" }
LuxLib = { path = "../lib/LuxLib" }
LuxCore = { path = "../lib/LuxCore" }
MLDataDevices = { path = "../lib/MLDataDevices" }
LuxTestUtils = { path = "../lib/LuxTestUtils" }
WeightInitializers = { path = "../lib/WeightInitializers" }

0 comments on commit de89c74

Please sign in to comment.