-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #159 from OceanBioME/jsw/auto-gpu-testing
(0.9.1) Move testing and docs to buildkite (+ minor GPU bug fix)
- Loading branch information
Showing
6 changed files
with
64 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
env: | ||
JULIA_VERSION: "1.9.4" | ||
JULIA_MINOR_VERSION: "1.9" | ||
JULIA_PATH: /var/lib/buildkite-agent/julia | ||
DATADEPS_ALWAYS_ACCEPT: true | ||
|
||
steps: | ||
- label: ":building_construction: initialize environment" | ||
key: "init" | ||
commands: | ||
- "wget -N -P $JULIA_PATH https://julialang-s3.julialang.org/bin/linux/x64/$JULIA_MINOR_VERSION/julia-$JULIA_VERSION-linux-x86_64.tar.gz" | ||
- "tar xf $JULIA_PATH/julia-$JULIA_VERSION-linux-x86_64.tar.gz -C $JULIA_PATH" | ||
- "$JULIA_PATH/julia-$JULIA_VERSION/bin/julia -O0 --color=yes --project -e 'using Pkg; Pkg.instantiate(; verbose=true)'" | ||
- "$JULIA_PATH/julia-$JULIA_VERSION/bin/julia -O0 --color=yes --project -e 'using Pkg; Pkg.build()'" | ||
- "$JULIA_PATH/julia-$JULIA_VERSION/bin/julia -O0 --color=yes --project -e 'using Pkg; Pkg.precompile()'" | ||
- "$JULIA_PATH/julia-$JULIA_VERSION/bin/julia -O0 --color=yes --project -e 'using Pkg; Pkg.status()'" | ||
notify: | ||
- github_commit_status: | ||
context: "Initialise enviroment" | ||
|
||
- label: ":speedboat: GPU unit tests" | ||
commands: | ||
- "$JULIA_PATH/julia-$JULIA_VERSION/bin/julia -O0 --color=yes --project -e 'using Pkg; Pkg.test()'" | ||
depends_on: "init" | ||
notify: | ||
- github_commit_status: | ||
context: "GPU tests" | ||
|
||
- label: ":rowboat: CPU unit tests" | ||
env: | ||
CUDA_VISIBLE_DEVICES: "-1" | ||
commands: | ||
- "$JULIA_PATH/julia-$JULIA_VERSION/bin/julia -O0 --color=yes --project -e 'using Pkg; Pkg.test()'" | ||
depends_on: "init" | ||
notify: | ||
- github_commit_status: | ||
context: "CPU tests" | ||
|
||
- label: ":docusaurus: Documentation" | ||
env: | ||
CUDA_VISIBLE_DEVICES: "-1" | ||
JULIA_DEBUG: "Documenter" | ||
TMPDIR: "/var/lib/buildkite-agent/tmp" | ||
commands: | ||
- "$JULIA_PATH/julia-$JULIA_VERSION/bin/julia --color=yes --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'" | ||
- "$JULIA_PATH/julia-$JULIA_VERSION/bin/julia --color=yes --project=docs/ docs/make.jl" | ||
depends_on: "init" | ||
notify: | ||
- github_commit_status: | ||
context: "Documentation" | ||
|
||
- wait: ~ | ||
continue_on_failure: true | ||
|
||
- label: ":skeleton-dance: clean up environment" | ||
command: "rm -rf $JULIA_PATH" | ||
notify: | ||
- github_commit_status: | ||
context: "Clean up" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
name = "OceanBioME" | ||
uuid = "a49af516-9db8-4be4-be45-1dad61c5a376" | ||
authors = ["Jago Strong-Wright <[email protected]> and contributors"] | ||
version = "0.9.0" | ||
version = "0.9.1" | ||
|
||
[deps] | ||
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
e7d5d0d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuliaRegistrator register
e7d5d0d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Registration pull request created: JuliaRegistries/General/95366
Tip: Release Notes
Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.
To add them here just re-invoke and the PR will be updated.
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
e7d5d0d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@navidcy
do you have any idea why Documenter isn't pushing a v0.9.1 version and setting that as stable? It's deploying docs since the dev version has the spelling corrected and the gh-pages branch has been updated.Never mind, this is an issue with tagbot failing https://github.com/OceanBioME/OceanBioME.jl/actions/runs/6876601212/job/18704349101, I had to change one of the keys but forgot to update the secret so should be fixed now