mirror of https://gitlab.com/pamhyr/pamhyr2
ci: Add mage documentation.
parent
797a853b36
commit
e36206b436
|
|
@ -29,6 +29,20 @@ stages:
|
||||||
variables:
|
variables:
|
||||||
MAGE_VERSION: "v8.3.3"
|
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:
|
dl-mage-linux:
|
||||||
stage: downloads
|
stage: downloads
|
||||||
tags:
|
tags:
|
||||||
|
|
@ -209,6 +223,8 @@ build-linux:
|
||||||
needs:
|
needs:
|
||||||
- job: dl-mage-linux
|
- job: dl-mage-linux
|
||||||
artifacts: true
|
artifacts: true
|
||||||
|
- job: dl-mage-doc
|
||||||
|
artifacts: true
|
||||||
- job: set-version
|
- job: set-version
|
||||||
artifacts: true
|
artifacts: true
|
||||||
- job: build-lang
|
- job: build-lang
|
||||||
|
|
@ -264,6 +280,7 @@ build-linux:
|
||||||
- mkdir -p pamhyr/doc/html/
|
- mkdir -p pamhyr/doc/html/
|
||||||
# - cp ../doc/users/documentation.pdf pamhyr/doc/Pamhyr2-users.pdf
|
# - cp ../doc/users/documentation.pdf pamhyr/doc/Pamhyr2-users.pdf
|
||||||
# - cp ../doc/users/documentation.html pamhyr/doc/Pamhyr2-users.html
|
# - 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.pdf pamhyr/doc/Pamhyr2-dev.pdf
|
||||||
- cp ../doc/dev/documentation.html pamhyr/doc/Pamhyr2-dev.html
|
- cp ../doc/dev/documentation.html pamhyr/doc/Pamhyr2-dev.html
|
||||||
#- cp ../doc/users/images/* pamhyr/doc/images
|
#- cp ../doc/users/images/* pamhyr/doc/images
|
||||||
|
|
@ -297,6 +314,8 @@ build-windows:
|
||||||
needs:
|
needs:
|
||||||
- job: dl-mage-windows
|
- job: dl-mage-windows
|
||||||
artifacts: true
|
artifacts: true
|
||||||
|
- job: dl-mage-doc
|
||||||
|
artifacts: true
|
||||||
- job: set-version
|
- job: set-version
|
||||||
artifacts: true
|
artifacts: true
|
||||||
- job: build-lang
|
- job: build-lang
|
||||||
|
|
|
||||||
|
|
@ -55,6 +55,7 @@ mkdir pamhyr\doc
|
||||||
mkdir pamhyr\doc\images
|
mkdir pamhyr\doc\images
|
||||||
rem copy /y ..\doc\users\documentation.pdf pamhyr\doc\Pamhyr2-users.pdf
|
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\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
|
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\dev\documentation.html pamhyr\doc\Pamhyr2-dev.html
|
||||||
copy /y ..\doc\users\images\* pamhyr\doc\images
|
copy /y ..\doc\users\images\* pamhyr\doc\images
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue