1
0
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:
Anson Biggs 2024-02-29 07:50:55 +00:00
parent 8b6c81f64d
commit f3ceab4e11

View File

@ -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,9 +14,6 @@ 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:
stage: build
script:
- 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 - cp Project.toml /root/.julia/environments/v1.4/Project.toml
- cp Manifest.toml /root/.julia/environments/v1.4/Manifest.toml - cp Manifest.toml /root/.julia/environments/v1.4/Manifest.toml
@ -25,7 +24,6 @@ build_project:
paths: paths:
- public - public
pages: pages:
stage: deploy stage: deploy
script: script: