git: Add submodule mage.

This commit is contained in:
Pierre-Antoine Rouby committed 2023-07-31 11:28:20 +02:00
1 parent a3f3fca6b6
commit 216bb3dd4c
4 files changed
+31

No files matched your search

+23
View File
@@ -8,6 +8,27 @@ stages:
# 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:
stage: build
tags:
@@ -53,6 +74,8 @@ linux-package:
artifacts: true
- job: build
artifacts: true
- job: build-mage
artifacts: true
rules:
- if: $CI_COMMIT_BRANCH == 'master' || $CI_COMMIT_TAG
artifacts:
+3
View File
@@ -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.
+4
View File
@@ -38,6 +38,10 @@ cp -r ../src/lang/*.qm dist/pamhyr/lang/
cp ../VERSION 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"
OLD_PWD=$PWD