Skip to content

Commit

Permalink
Update Buildkite pipeline to be more maintainable (#147)
Browse files Browse the repository at this point in the history
* changing pipeline to be more maintainable

* adding github actions docs support
  • Loading branch information
quffaro authored Aug 23, 2024
1 parent ef770f3 commit 4ba78ca
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 1 addition & 4 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
env:
JULIA_VERSION: "1.10.2"
GATAS_HOME: "~/.gatas/buildkite/agents/$BUILDKITE_AGENT_NAME"
JULIA_DEPOT_PATH: "$DEPOT"

steps:

- label: ":hammer: Build Project"
env:
JULIA_DEPOT_PATH: "$GATAS_HOME"
command:
- "module load julia"
- "julia --project=docs --color=yes -e 'using Pkg; Pkg.update(); Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate(); Pkg.precompile()'"
Expand All @@ -15,7 +13,6 @@ steps:

- label: ":scroll: Build docs and run tests"
env:
JULIA_DEPOT_PATH: "$GATAS_HOME"
JULIA_PROJECT: "docs/"
command:
- "srun --cpus-per-task=16 --mem=64G --time=1:00:00 --output=.buildkite/build_%j.log --unbuffered .buildkite/jobscript.sh"
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/julia_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ on:
version:
description: "Tag and release version:"
required: false
docs:
description: "Whether or not to build and deploy Documenter.jl docs"
default: true
required: false
type: boolean

permissions:
actions: read
Expand Down

0 comments on commit 4ba78ca

Please sign in to comment.