1
0
mirror of https://gitlab.com/Anson-Projects/projects.git synced 2025-06-15 14:36:47 +00:00

lets fight the build system

This commit is contained in:
Anson Biggs 2024-02-29 07:50:55 +00:00
parent 8b6c81f64d
commit f3ceab4e11

View File

@ -4,7 +4,9 @@ stages:
- build
- deploy
before_script:
build_project:
stage: build
script:
- apt-get update
- apt-get -y install --no-install-recommends apt-utils dialog 2>&1
- apt-get -y install git iproute2 procps lsb-release
@ -12,20 +14,16 @@ before_script:
- apt-get -y install r-base
- apt-get -y install julia
- python3 -m pip install jupyter
build_project:
stage: build
script:
- julia -e "using Pkg; Pkg.instantiate(); Pkg.precompile()"
- cp Project.toml /root/.julia/environments/v1.4/Project.toml
- cp Manifest.toml /root/.julia/environments/v1.4/Manifest.toml
- julia -e "using Pkg; Pkg.instantiate(); Pkg.precompile()"
- echo "Building the project with Quarto..."
- quarto render --to html --output-dir public
- julia -e "using Pkg; Pkg.instantiate(); Pkg.precompile()"
- cp Project.toml /root/.julia/environments/v1.4/Project.toml
- cp Manifest.toml /root/.julia/environments/v1.4/Manifest.toml
- julia -e "using Pkg; Pkg.instantiate(); Pkg.precompile()"
- echo "Building the project with Quarto..."
- quarto render --to html --output-dir public
artifacts:
paths:
- public
pages:
stage: deploy
script: