Skip to content

Commit aad291f

Browse files
Merge pull request #3695 from CliMA/ck/bk_pipeline
Test that ClimaAtmos is developed in buildkite pipeline
2 parents 4510ae5 + c41e2f6 commit aad291f

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.buildkite/pipeline.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,14 @@ steps:
2323
command:
2424
- "echo $$JULIA_DEPOT_PATH"
2525

26+
- echo "--- Check that ClimaAtmos is developed in Manifest"
27+
- julia --check-bounds=yes -e 'using TOML; @assert TOML.parsefile(".buildkite/Manifest-v1.11.toml")["deps"]["ClimaAtmos"][1]["path"] == ".."'
28+
2629
- echo "--- Instantiate project"
27-
- "julia --project -e 'using Pkg; Pkg.instantiate(;verbose=true)'"
28-
- "julia --project -e 'using Pkg; Pkg.precompile()'"
29-
- "julia --project -e 'using Pkg; Pkg.status()'"
30+
- "julia --project -e 'using Pkg; Pkg.instantiate(;verbose=true); Pkg.precompile(); Pkg.status()'"
3031

3132
- echo "--- Instantiate .buildkite"
32-
- "julia --project=.buildkite -e 'using Pkg; Pkg.instantiate(;verbose=true)'"
33-
- "julia --project=.buildkite -e 'using Pkg; Pkg.precompile()'"
34-
- "julia --project=.buildkite -e 'using CUDA; CUDA.precompile_runtime()'"
35-
- "julia --project=.buildkite -e 'using Pkg; Pkg.status()'"
33+
- "julia --project=.buildkite -e 'using Pkg; Pkg.instantiate(;verbose=true); Pkg.precompile(;strict=true); using CUDA; CUDA.precompile_runtime(); Pkg.status()'"
3634

3735
agents:
3836
slurm_cpus_per_task: 8

0 commit comments

Comments
 (0)