From 7173a1b23d943a91367d30711cd226c1ad3a599e Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Wed, 1 Jan 2020 22:49:00 +0100 Subject: Add android-x86 --- .../start-ssh-jenkins-linux.sh | 48 ++++++++++++++++++++++ 1 file changed, 48 insertions(+) (limited to 'jenkins-server-slave-setup/nodes') diff --git a/jenkins-server-slave-setup/nodes/sgothel-linuxARMv7l-030.androidARMv7l-040/start-ssh-jenkins-linux.sh b/jenkins-server-slave-setup/nodes/sgothel-linuxARMv7l-030.androidARMv7l-040/start-ssh-jenkins-linux.sh index 5521b4d..2b31ee3 100755 --- a/jenkins-server-slave-setup/nodes/sgothel-linuxARMv7l-030.androidARMv7l-040/start-ssh-jenkins-linux.sh +++ b/jenkins-server-slave-setup/nodes/sgothel-linuxARMv7l-030.androidARMv7l-040/start-ssh-jenkins-linux.sh @@ -171,6 +171,51 @@ function connect_41 { done } +function connect_42 { + . ./profile.ant + . ./profile.amd64.j2se11 + + export ANDROID_HOME=/opt-linux-x86_64/android-sdk-linux_x86_64 + export ANDROID_API_LEVEL=24 + export ANDROID_HOST_TAG=linux-x86_64 + export ANDROID_ABI=x86 + + if [ -e ${JENKINS_NODE_STARTUP_DIR}/setenv-android-tools.sh ] ; then + . ${JENKINS_NODE_STARTUP_DIR}/setenv-android-tools.sh + else + echo "${JENKINS_NODE_STARTUP_DIR}/setenv-android-tools.sh doesn't exist!" + exit 1 + fi + + export GLUEGEN_CPPTASKS_FILE=make/lib/gluegen-cpptasks-android-x86.xml + export GLUEGEN_PROPERTIES_FILE=/home/jogamp/android/gluegen.properties # for key signing props + + export PATH_VANILLA=$PATH + export PATH=${ANDROID_TOOLCHAIN_ROOT}/${ANDROID_TOOLCHAIN_NAME}/bin:${ANDROID_TOOLCHAIN_ROOT}/bin:${ANDROID_HOME}/platform-tools:${ANDROID_BUILDTOOLS_ROOT}:${PATH} + echo PATH ${PATH} 2>&1 | tee -a ${LOGF} + echo clang `which clang` 2>&1 | tee -a ${LOGF} + + export SOURCE_LEVEL=1.8 + export TARGET_LEVEL=1.8 + export TARGET_RT_JAR=/opt-share/jre1.8.0_212/lib/rt.jar + + export JOGAMP_JAR_CODEBASE="Codebase: *.jogamp.org" + + #export JUNIT_DISABLED="true" + #export JUNIT_RUN_ARG0="-Dnewt.test.Screen.disableScreenMode" + + java -version + sshpid= + while true ; do + if [ ! -z "$sshpid" ] ; then + kill -9 $sshpid + fi + ssh -o "ServerAliveInterval 30" -o "ServerAliveCountMax 5" -o "TCPKeepAlive yes" chuckslave@jogamp.org -L 6042:localhost:5555 -N & + sshpid=$! + java -server -Xmx512m -XX:+UseCompressedOops -jar agent.jar -jnlpUrl https://jogamp.org/chuck/computer/androidX86-jogamp-i686-sgothel-042/slave-agent.jnlp + done +} + connect_31 > linuxARMv7hf-jogamp-arm32hf-sgothel-031.log 2>&1 & disown $! @@ -183,3 +228,6 @@ disown $! connect_41 > androidArm64-jogamp-aarch64-sgothel-041.log 2>&1 & disown $! +connect_42 > androidX86-jogamp-i686-sgothel-042.log 2>&1 & +disown $! + -- cgit v1.2.3