.gitlab-ci.yml 736 Bytes
Newer Older
Ahmed's avatar
Ahmed committed
1 2 3
# (c) https://github.com/MontiCore/monticore  

stages:
Ahmed's avatar
Ahmed committed
4
- linux
Ahmed's avatar
Ahmed committed
5

Ahmed's avatar
Ahmed committed
6 7 8
TestJobLinux:
  stage: linux
  image: registry.git.rwth-aachen.de/monticore/embeddedmontiarc/applications/gans/mnist-infogan/gans_mxnet:latest
Ahmed Diab's avatar
Ahmed Diab committed
9

Ahmed's avatar
Ahmed committed
10
  script:
Ahmed Diab's avatar
Ahmed Diab committed
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
  - git clone https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMADL2CPP.git
  - cd EMADL2CPP
  - mvn clean install -s settings.xml -DskipTests
  - cd ..

  - rm -rf target 
  - find ./EMADL2CPP/target -name "*SNAPSHOT-jar-with-dependencies.jar" -exec java -jar {} -m src/main/emam/ -r ba.ballTracking -o target -flag-generate-cmake \;

  - rm -rf build
  - mkdir build && cd build

  - echo "Building BallTracking.."
  - cmake ..
  - make

Ahmed's avatar
Ahmed committed
26
  except:
Ahmed's avatar
Ahmed committed
27 28
    changes:
      - README.md
Ahmed Diab's avatar
Ahmed Diab committed
29
      - .gitignore