mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
git: Add submodule mage.
This commit is contained in:
1 parent
a3f3fca6b6
commit
216bb3dd4c
4 files changed
+31
No files matched your search
@@ -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
|
||||||
Submodule
+1
Submodule mage added at 18aa9a7e0f.
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user