Commit 0ecfd3bd authored by Jean Meurice's avatar Jean Meurice
Browse files

CI Fix

parent 899dd353
Pipeline #338726 failed with stage
in 8 seconds
...@@ -3,22 +3,26 @@ ...@@ -3,22 +3,26 @@
# #
stages: stages:
- build - maven
linux_maven_master:
build_linux: stage: maven
stage: build
image: maven:3-jdk-8 image: maven:3-jdk-8
before_script: before_script:
- apt update - scripts/before_script.sh
- apt --assume-yes install libxext6
- apt --assume-yes install libxrender1
- apt --assume-yes install libxtst6
script: script:
- "JAWT_LIB=$(find / -name libjawt.so -print -quit)" - scripts/awt_locate.sh
- "echo JAWT_LIB: $JAWT_LIB" - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B clean deploy -s settings.xml
- "JAWT_FOLDER=$(dirname ${JAWT_LIB})" only:
- "echo JAWT_FOLDER: $JAWT_FOLDER" - master
- "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${JAWT_FOLDER}"
- mvn clean install -s settings.xml linux_maven_branch:
stage: maven
\ No newline at end of file image: maven:3-jdk-8
before_script:
- scripts/before_script.sh
script:
- scripts/awt_locate.sh
- mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B clean install -s settings.xml
except:
- master
#!/bin/bash
#
# (c) https://github.com/MontiCore/monticore
#
JAWT_LIB=$(find / -name libjawt.so -print -quit)
AWT_LIB=$(find / -name libawt.so -print -quit)
echo JAWT_LIB: $JAWT_LIB
echo AWT_LIB: $AWT_LIB
JAWT_FOLDER=$(dirname ${JAWT_LIB})
AWT_FOLDER=$(dirname ${AWT_LIB})
echo JAWT_FOLDER: $JAWT_FOLDER
echo AWT_FOLDER: $AWT_FOLDER
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${JAWT_FOLDER}:${AWT_FOLDER}
\ No newline at end of file
#!/bin/bash
#
# (c) https://github.com/MontiCore/monticore
#
apt update
apt --assume-yes install libxext6
apt --assume-yes install libxrender1
apt --assume-yes install libxtst6
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