generated from AlgebraicJulia/AlgebraicTemplate.jl
-
Notifications
You must be signed in to change notification settings - Fork 0
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 #174 from AlgebraicJulia/cm/docs
Fixed autodocs
- Loading branch information
Showing
8 changed files
with
70 additions
and
46 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,16 @@ | ||
#!/bin/bash | ||
|
||
pwd; hostname; date | ||
|
||
if [ $# -ne 1 ]; then | ||
echo "Usage: $0 VERSION" | ||
echo "Example: $0 1.10.0" | ||
exit 1 | ||
fi | ||
|
||
VERSION=$1 | ||
|
||
module load julia/$VERSION | ||
|
||
echo "Building documentation..." | ||
julia --project=docs -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.status(); Pkg.instantiate(); include("docs/make.jl")' |
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,24 +1,7 @@ | ||
env: | ||
JULIA_VERSION: "1.10.2" | ||
GATAS_HOME: "~/.gatas/buildkite/agents/$BUILDKITE_AGENT_NAME" | ||
|
||
steps: | ||
|
||
- label: ":hammer: Build Project" | ||
env: | ||
JULIA_DEPOT_PATH: "$GATAS_HOME" | ||
commands: | ||
- "module load julia" | ||
- "julia --project=docs --color=yes -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate(); Pkg.precompile()'" | ||
|
||
- wait | ||
|
||
- 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" | ||
- label: ":arrow_down: Load AlgebraicJulia pipeline" | ||
command: | | ||
curl -s https://raw.githubusercontent.com/AlgebraicJulia/.github/main/buildkite/pipeline.yml | buildkite-agent pipeline upload | ||
- wait | ||
|
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,15 @@ | ||
#!/bin/bash | ||
pwd; hostname; date | ||
|
||
if [ $# -ne 1 ]; then | ||
echo "Usage: $0 VERSION" | ||
echo "Example: $0 1.10.0" | ||
exit 1 | ||
fi | ||
|
||
VERSION=$1 | ||
|
||
module load julia/$VERSION | ||
|
||
echo "Running tests..." | ||
julia --project -e "using Pkg; Pkg.status(); Pkg.test()" |
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
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
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