CI: simplify Julia jobs by creating Artifacts.toml on eris

issue#70
Sébastien Villemot 2021-04-02 18:04:12 +02:00
parent 35a66f22fb
commit 77cc649365
No known key found for this signature in database
GPG Key ID: 2CECE9350ECEBE4A
1 changed files with 4 additions and 22 deletions

View File

@ -7,7 +7,6 @@ variables:
stages:
- build
- aggregate
- deploy
build_linux_32:
@ -85,29 +84,8 @@ build_macOS:
paths:
- $CI_COMMIT_SHA/macos-x86_64/*
aggregate_julia:
stage: aggregate
dependencies:
- build_linux_32
- build_linux_64
- build_windows_32
- build_windows_64
- build_macOS
script:
- PATH=$PATH:/usr/local/julia/$JULIA_VERSION/bin scripts/create-julia-artifacts-toml $CI_COMMIT_SHA https://www.dynare.org/preprocessor
artifacts:
paths:
- $CI_COMMIT_SHA/Artifacts.toml
deploy_julia:
stage: deploy
dependencies:
- build_linux_32
- build_linux_64
- build_windows_32
- build_windows_64
- build_macOS
- aggregate_julia
tags:
- restricted
rules:
@ -116,4 +94,8 @@ deploy_julia:
allow_failure: true
- when: never
script:
- PATH=$PATH:/usr/local/julia/$JULIA_VERSION/bin scripts/create-julia-artifacts-toml $CI_COMMIT_SHA https://www.dynare.org/preprocessor
- cp -R $CI_COMMIT_SHA /srv/www.dynare.org/preprocessor/
artifacts:
paths:
- $CI_COMMIT_SHA/Artifacts.toml