Skip to content

Commit 8200cec

Browse files
committed
making bk more dynamic
1 parent d9f7a1c commit 8200cec

File tree

3 files changed

+25
-2
lines changed

3 files changed

+25
-2
lines changed

.buildkite/example.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
steps:
2+
3+
- label: ":wave: hello!"
4+
command: |
5+
echo "hello"

.buildkite/jobscript.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/bash
2+
3+
pwd; hostname; date
4+
5+
module load julia
6+
7+
echo "Running Tests..."
8+
julia --project -t 16 -e 'using Pkg; Pkg.status(); Pkg.test()'
9+
10+
echo "Building Documentation..."
11+
julia --project=docs -t 16 -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.status(); Pkg.instantiate(); include("docs/make.jl")'

.buildkite/pipeline.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
1+
# you may replace the default AlgebraicJulia pipeline with your own. Just move
2+
# your pipeline into the .buildkite directory and rename the file being checked
3+
# below to your pipeline. More documentation to come.
14
steps:
25

36
- label: ":arrow_down: Load AlgebraicJulia pipeline"
47
command: |
5-
curl -s https://raw.githubusercontent.com/AlgebraicJulia/.github/main/buildkite/pipeline.yml | buildkite-agent pipeline upload
6-
8+
if [ -f ".buildkite/example.yml.bak" ]; then
9+
buildkite-agent pipeline upload .buildkite/example.yml
10+
else
11+
curl -s https://raw.githubusercontent.com/AlgebraicJulia/.github/main/buildkite/pipeline.yml | buildkite-agent pipeline upload
12+
fi
13+
714
- wait

0 commit comments

Comments
 (0)