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 @@
#
stages:
- build
- maven
build_linux:
stage: build
linux_maven_master:
stage: maven
image: maven:3-jdk-8
before_script:
- apt update
- apt --assume-yes install libxext6
- apt --assume-yes install libxrender1
- apt --assume-yes install libxtst6
- scripts/before_script.sh
script:
- "JAWT_LIB=$(find / -name libjawt.so -print -quit)"
- "echo JAWT_LIB: $JAWT_LIB"
- "JAWT_FOLDER=$(dirname ${JAWT_LIB})"
- "echo JAWT_FOLDER: $JAWT_FOLDER"
- "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${JAWT_FOLDER}"
- mvn clean install -s settings.xml
\ No newline at end of file
- scripts/awt_locate.sh
- mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B clean deploy -s settings.xml
only:
- master
linux_maven_branch:
stage: maven
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