File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,20 +2,42 @@ name: Verify branch
22on :
33 push
44jobs :
5- container-test-job :
5+ build :
66 runs-on : ubuntu-latest
77 container :
88 image : basilevs/ubuntu-rcptt:3.7.1
99 env :
1010 DISPLAY : :1
11- ports :
12- - 80
1311 volumes :
14- - my_docker_volume:/volume_mount
15- options : --cpus 1
12+ - artifacts:/mnt/artifacts
13+ options : --cpus 2
1614 steps :
1715 - uses : actions/checkout@v4
1816 - name : VNC
1917 run : vncserver $DISPLAY -localhost=0 -noxstartup -PasswordFile /root/.vnc/passwd
2018 - name : Build
21- run : ./build.sh -DforceContextQualifier=`date '+%Y%M%d%H%M'` -DbuildUrl=file:///`pwd`
19+ run : ./build.sh -DforceContextQualifier=`date '+%Y%M%d%H%M'` -DbuildUrl=file://`pwd`
20+ - name : Share artifacts
21+ run : cp runner/product/target/products/org.eclipse.rcptt.runner.headless-linux.gtk.x86_64.zip repository/full/target/products/org.eclipse.rcptt.platform.product-linux.gtk.x86_64.zip /mnt/artifacts/
22+ - name : Archive update site
23+ uses : actions/upload-artifact@v4
24+ with :
25+ if-no-files-found : error
26+ name : repository
27+ path : ' org.eclipse.rcptt/repository/rcptt/target/repository/'
28+ test :
29+ runs-on : ubuntu-latest
30+ needs : build
31+ container :
32+ image : basilevs/ubuntu-rcptt:3.7.1
33+ env :
34+ DISPLAY : :1
35+ volumes :
36+ - my_docker_volume:/volume_mount
37+ options : --cpus 2
38+ steps :
39+ - uses : actions/checkout@v4
40+ - name : VNC
41+ run : vncserver $DISPLAY -localhost=0 -noxstartup -PasswordFile /root/.vnc/passwd
42+ - name : RCPTT Tests
43+ run : mvn clean verify --file rcpttTests -DexplicitRunner=/mnt/artifacts/org.eclipse.rcptt.runner.headless-linux.gtk.x86_64.zip -DrcpttPath=/mnt/artifacts/org.eclipse.rcptt.platform.product-linux.gtk.x86_64.zip
Original file line number Diff line number Diff line change 1212export MAVEN_OPTS=" -Xms512m -Xmx1024m"
1313
1414OPTIONS=" -Dtycho.localArtifacts=ignore $@ "
15+ set -x
1516
1617mvn clean verify -f releng/core/pom.xml $OPTIONS || exit 101
1718mvn clean verify -f releng/runtime/pom.xml -P runtime4x $OPTIONS || exit 103
You can’t perform that action at this time.
0 commit comments