mirror of
https://gitlab.com/Anson-Projects/projects.git
synced 2025-06-16 06:56:46 +00:00
lets fight the build system
This commit is contained in:
parent
8b6c81f64d
commit
f3ceab4e11
@ -4,7 +4,9 @@ stages:
|
|||||||
- build
|
- build
|
||||||
- deploy
|
- deploy
|
||||||
|
|
||||||
before_script:
|
build_project:
|
||||||
|
stage: build
|
||||||
|
script:
|
||||||
- apt-get update
|
- apt-get update
|
||||||
- apt-get -y install --no-install-recommends apt-utils dialog 2>&1
|
- apt-get -y install --no-install-recommends apt-utils dialog 2>&1
|
||||||
- apt-get -y install git iproute2 procps lsb-release
|
- 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 r-base
|
||||||
- apt-get -y install julia
|
- apt-get -y install julia
|
||||||
- python3 -m pip install jupyter
|
- python3 -m pip install jupyter
|
||||||
build_project:
|
- julia -e "using Pkg; Pkg.instantiate(); Pkg.precompile()"
|
||||||
stage: build
|
- cp Project.toml /root/.julia/environments/v1.4/Project.toml
|
||||||
script:
|
- cp Manifest.toml /root/.julia/environments/v1.4/Manifest.toml
|
||||||
- julia -e "using Pkg; Pkg.instantiate(); Pkg.precompile()"
|
- julia -e "using Pkg; Pkg.instantiate(); Pkg.precompile()"
|
||||||
- cp Project.toml /root/.julia/environments/v1.4/Project.toml
|
- echo "Building the project with Quarto..."
|
||||||
- cp Manifest.toml /root/.julia/environments/v1.4/Manifest.toml
|
- quarto render --to html --output-dir public
|
||||||
- julia -e "using Pkg; Pkg.instantiate(); Pkg.precompile()"
|
|
||||||
- echo "Building the project with Quarto..."
|
|
||||||
- quarto render --to html --output-dir public
|
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- public
|
- public
|
||||||
|
|
||||||
|
|
||||||
pages:
|
pages:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
script:
|
script:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user