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

git: Add submodule mage.

Showing with 31 additions and 0 deletions
+31 -0
...@@ -8,6 +8,27 @@ stages: ...@@ -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: ...@@ -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:
......
.gitmodules 0 → 100644
[submodule "mage"]
path = mage
url = https://gitlab.irstea.fr/jean-baptiste.faure/mage.git
Subproject commit 18aa9a7e0f8415a94a40fe647d329268c6932663
...@@ -38,6 +38,10 @@ cp -r ../src/lang/*.qm dist/pamhyr/lang/ ...@@ -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
......
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