Commit fcf52f36 authored by Ahmed Diab's avatar Ahmed Diab
Browse files

make new stage for building the generator in ci

parent 2937f8e7
Pipeline #360878 failed with stages
in 13 seconds
# (c) https://github.com/MontiCore/monticore # (c) https://github.com/MontiCore/monticore
stages: stages:
- build
- linux - linux
TestJobLinux: EMAM2CppBuild:
stage: linux stage: build
image: registry.git.rwth-aachen.de/monticore/embeddedmontiarc/applications/gans/mnist-infogan/gans_mxnet:latest image: maven:3-jdk-8
before_script: script:
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )' - 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
- eval $(ssh-agent -s) - eval $(ssh-agent -s)
- ssh-add <(echo "$GITHUB_SSH_PRIV_KEY") - ssh-add <(echo "$GITHUB_SSH_PRIV_KEY")
...@@ -19,6 +20,11 @@ TestJobLinux: ...@@ -19,6 +20,11 @@ TestJobLinux:
- git clone git@github.com:MontiCore/EmbeddedMontiArc/tree/master/generators/EMAM2Cpp.git - git clone git@github.com:MontiCore/EmbeddedMontiArc/tree/master/generators/EMAM2Cpp.git
- cd EMAM2Cpp - cd EMAM2Cpp
- mvn clean install -s settings.xml -DskipTests - mvn clean install -s settings.xml -DskipTests
TestJobLinux:
stage: linux
image: registry.git.rwth-aachen.de/monticore/embeddedmontiarc/applications/gans/mnist-infogan/gans_mxnet:latest
script: script:
- rm -rf target - rm -rf target
- java -jar EMAM2Cpp/target/embedded-montiarc-math-generator-0.4.0-SNAPSHOT-jar-with-dependencies.jar -m src/main/emam/ -r ba.ballTracking -o target -flag-generate-cmake - java -jar EMAM2Cpp/target/embedded-montiarc-math-generator-0.4.0-SNAPSHOT-jar-with-dependencies.jar -m src/main/emam/ -r ba.ballTracking -o target -flag-generate-cmake
......
Markdown is supported
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