mirror of https://gitlab.com/pamhyr/pamhyr2
git: Add submodule mage.
parent
a3f3fca6b6
commit
216bb3dd4c
|
|
@ -8,6 +8,27 @@ stages:
|
||||||
# BUILD #
|
# BUILD #
|
||||||
#########
|
#########
|
||||||
|
|
||||||
|
build-mage:
|
||||||
|
stage: build
|
||||||
|
tags:
|
||||||
|
- linux
|
||||||
|
rules:
|
||||||
|
- if: $CI_COMMIT_BRANCH == 'master' || $CI_COMMIT_TAG
|
||||||
|
variables:
|
||||||
|
GIT_SUBMODULE_STRATEGY: recursive
|
||||||
|
GIT_SUBMODULE_DEPTH: 1
|
||||||
|
script:
|
||||||
|
- cd mage/src/
|
||||||
|
- mkdir -p build
|
||||||
|
- cd build
|
||||||
|
- cmake ..
|
||||||
|
- make
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- mage/src/build/mage
|
||||||
|
- mage/src/build/mage_extraire
|
||||||
|
- mage/src/build/mailleurPF
|
||||||
|
|
||||||
build:
|
build:
|
||||||
stage: build
|
stage: build
|
||||||
tags:
|
tags:
|
||||||
|
|
@ -53,6 +74,8 @@ linux-package:
|
||||||
artifacts: true
|
artifacts: true
|
||||||
- job: build
|
- job: build
|
||||||
artifacts: true
|
artifacts: true
|
||||||
|
- job: build-mage
|
||||||
|
artifacts: true
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_BRANCH == 'master' || $CI_COMMIT_TAG
|
- if: $CI_COMMIT_BRANCH == 'master' || $CI_COMMIT_TAG
|
||||||
artifacts:
|
artifacts:
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
[submodule "mage"]
|
||||||
|
path = mage
|
||||||
|
url = https://gitlab.irstea.fr/jean-baptiste.faure/mage.git
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 18aa9a7e0f8415a94a40fe647d329268c6932663
|
||||||
|
|
@ -38,6 +38,10 @@ cp -r ../src/lang/*.qm dist/pamhyr/lang/
|
||||||
cp ../VERSION dist/pamhyr/
|
cp ../VERSION dist/pamhyr/
|
||||||
cp ../AUTHORS dist/pamhyr/
|
cp ../AUTHORS dist/pamhyr/
|
||||||
|
|
||||||
|
cp ../mage/src/build/mage dist/pamhyr/
|
||||||
|
cp ../mage/src/build/mage_extraire dist/pamhyr/
|
||||||
|
cp ../mage/src/build/mailleurPF dist/pamhyr/
|
||||||
|
|
||||||
echo " *** MAKE SRC PACKAGE"
|
echo " *** MAKE SRC PACKAGE"
|
||||||
|
|
||||||
OLD_PWD=$PWD
|
OLD_PWD=$PWD
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue