Commit e36206b4 authored by Pierre-Antoine Rouby's avatar Pierre-Antoine Rouby
Browse files

ci: Add mage documentation.

Showing with 20 additions and 0 deletions
+20 -0
......@@ -29,6 +29,20 @@ stages:
variables:
MAGE_VERSION: "v8.3.3"
dl-mage-doc:
stage: downloads
tags:
- linux
rules:
- if: $CI_COMMIT_BRANCH == 'ci-test' || $CI_COMMIT_BRANCH == 'master' || $CI_COMMIT_TAG
script:
- mkdir -p doc
- cd doc
- curl -L -o mage8.pdf https://gitlab.irstea.fr/jean-baptiste.faure/mage/-/releases/$MAGE_VERSION/downloads/documents/Mage-8_Documentation.pdf
artifacts:
paths:
- doc/mage8.pdf
dl-mage-linux:
stage: downloads
tags:
......@@ -209,6 +223,8 @@ build-linux:
needs:
- job: dl-mage-linux
artifacts: true
- job: dl-mage-doc
artifacts: true
- job: set-version
artifacts: true
- job: build-lang
......@@ -264,6 +280,7 @@ build-linux:
- mkdir -p pamhyr/doc/html/
# - cp ../doc/users/documentation.pdf pamhyr/doc/Pamhyr2-users.pdf
# - cp ../doc/users/documentation.html pamhyr/doc/Pamhyr2-users.html
- cp ../doc/mage8.pdf pamhyr/doc/mage8.pdf
- cp ../doc/dev/documentation.pdf pamhyr/doc/Pamhyr2-dev.pdf
- cp ../doc/dev/documentation.html pamhyr/doc/Pamhyr2-dev.html
#- cp ../doc/users/images/* pamhyr/doc/images
......@@ -297,6 +314,8 @@ build-windows:
needs:
- job: dl-mage-windows
artifacts: true
- job: dl-mage-doc
artifacts: true
- job: set-version
artifacts: true
- job: build-lang
......
......@@ -55,6 +55,7 @@ mkdir pamhyr\doc
mkdir pamhyr\doc\images
rem copy /y ..\doc\users\documentation.pdf pamhyr\doc\Pamhyr2-users.pdf
copy /y ..\doc\dev\documentation.pdf pamhyr\doc\Pamhyr2-dev.pdf
copy /y ..\doc\mage8.pdf pamhyr\doc\mage8.pdf
rem copy /y ..\doc\users\documentation.html pamhyr\doc\Pamhyr2-users.html
copy /y ..\doc\dev\documentation.html pamhyr\doc\Pamhyr2-dev.html
copy /y ..\doc\users\images\* pamhyr\doc\images
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment