Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
monticore
EmbeddedMontiArc
simulators
basic-simulator
Commits
0ecfd3bd
Commit
0ecfd3bd
authored
Oct 05, 2020
by
Jean Meurice
Browse files
CI Fix
parent
899dd353
Pipeline
#338726
failed with stage
in 8 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
0ecfd3bd
...
...
@@ -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
scripts/awt_locate.sh
0 → 100644
View file @
0ecfd3bd
#!/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
scripts/before_script.sh
0 → 100644
View file @
0ecfd3bd
#!/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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment