Skip to content

Commit

Permalink
dynamic pipeline + build matrices
Browse files Browse the repository at this point in the history
  • Loading branch information
quffaro committed Oct 25, 2024
1 parent e88f132 commit ea73033
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 16 deletions.
23 changes: 23 additions & 0 deletions .buildkite/build_docs.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/bin/bash

#SBATCH --job-name=diagrammatic_equations_CI_docs # Job name
#SBATCH --mail-type=END,FAIL # Mail events (NONE, BEGIN, END, FAIL, ALL)
#SBATCH [email protected] # Where to send mail
#SBATCH --ntasks=1 # Run on a single CPU
#SBATCH --mem=8gb # Job memory request
#SBATCH --time=00:15:00 # Time limit hrs:min:sec

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")'
11 changes: 0 additions & 11 deletions .buildkite/jobscript.sh

This file was deleted.

5 changes: 0 additions & 5 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
env:
JULIA_VERSION: "1.10.2"
JULIA_DEPOT_PATH: "$DEPOT"


steps:

- label: ":arrow_down: Load AlgebraicJulia pipeline"
Expand Down
22 changes: 22 additions & 0 deletions .buildkite/run_tests.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/bin/bash
#SBATCH --job-name=diagrammatic_equations_CI_test # Job name
#SBATCH --mail-type=END,FAIL # Mail events (NONE, BEGIN, END, FAIL, ALL)
#SBATCH [email protected] # Where to send mail
#SBATCH --ntasks=1 # Run on a single CPU
#SBATCH --mem=8gb # Job memory request
#SBATCH --time=00:15:00 # Time limit hrs:min:sec

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()"

0 comments on commit ea73033

Please sign in to comment.