[CI] base on pregenerated docker

This commit is contained in:
Edouard DUPIN 2020-08-28 14:20:18 +02:00
parent de619e6d5d
commit 672e37844e
5 changed files with 29 additions and 13 deletions

View File

@ -1,14 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" output="test/bin" path="test/src">
<classpathentry kind="src" output="target/classes" path="src">
<attributes>
<attribute name="test" value="true"/>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER">
<classpathentry including="**/*.java" kind="src" output="target/test-classes" path="test/src">
<attributes>
<attribute name="module" value="true"/>
<attribute name="test" value="true"/>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-14">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/5">
@ -21,5 +28,10 @@
<attribute name="test" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="bin/"/>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes"/>
</classpath>

1
.gitignore vendored
View File

@ -10,3 +10,4 @@ ScenariumConfig.txt
*~
*.bck
/target/

View File

@ -1,11 +1,8 @@
image: bellsoft/liberica-openjdk-alpine:latest
image: heeroyui/scenarium-gitlabci:latest
before_script:
- apk update && apk add apache-ant unzip wget openssh-client git
- wget -O ~/javaFXSDK.zip http://gluonhq.com/download/javafx-14-sdk-linux/ -P ~
- unzip ~/javaFXSDK.zip -d ~/javaFXSDK
- ls ~/javaFXSDK/javafx-sdk-14/lib
- wget https://repo1.maven.org/maven2/org/junit/platform/junit-platform-console-standalone/1.5.2/junit-platform-console-standalone-1.5.2.jar -P ~
- ls ~
stages:
- style
@ -16,7 +13,6 @@ style_job:
stage: style
script:
- export JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8
- wget https://github.com/checkstyle/checkstyle/releases/download/checkstyle-8.34/checkstyle-8.34-all.jar -O checkstyle.jar
- java -jar checkstyle.jar -c CheckStyle.xml `find src/ -name "*.java"`
- java -jar checkstyle.jar -c CheckStyle.xml `find test/src/ -name "*.java"`

View File

@ -16,8 +16,14 @@
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>net.sf.eclipsecs.core.CheckstyleNature</nature>
</natures>

View File

@ -3,7 +3,8 @@
Any modifications will be overwritten.
To include a user specific buildfile here, simply create one in the same
directory with the processing instruction <?eclipse.ant.import?>
as the first entry and export the buildfile again. --><project basedir="." default="build" name="scenarium-logger">
as the first entry and export the buildfile again. -->
<project basedir="." default="build" name="scenarium-logger">
<property environment="env"/>
<property name="beanmanager.location" value="../beanmanager"/>
<property name="plugin-manager.location" value="../plugin-manager"/>