1010 steps :
1111 - uses : actions/checkout@v4
1212
13- - uses : actions/setup-java@v4
14- with :
15- distribution : ' temurin'
16- java-version : ' 21'
17- cache : ' maven'
18-
1913 - name : Build maven artifacts
2014 run : |
2115 sudo apt-get update
@@ -29,26 +23,24 @@ jobs:
2923 mx --dy /vm build
3024 mx --dy /vm maven-deploy --validate none --all-suites --suppress-javadoc --all-distribution-types --licenses UPL,MIT,GPLv2-CPE,BSD-new,PSF-License,ICU python-local-snapshots file://$(pwd)/m2repo
3125
32- - uses : docker/setup-qemu-action@v3
33-
34- - name : Test on ubi8 (RHEL 8 ppc64le) via QEMU
35- uses : addnab/docker-run-action@v3
26+ - uses : uraimo/run-on-arch-action@v3
3627 with :
37- image : ppc64le/ubi8:latest
38- options : >-
39- --platform=linux/ppc64le
40- -v ${{ github.workspace }}:/workspace
41- shell : bash
28+ arch : ppc64le
29+ distro : ubuntu_latest
30+ dockerRunArgs : |
31+ --volume "${GITHUB_WORKSPACE}:/workspace"
4232 run : |
43- microdnf install -y python3 git wget tar gzip cmake gcc gcc-c++ maven
33+ apt-get update
34+ apt-get install -y python3 git wget tar gzip cmake build-essential maven
4435
4536 # Install IBM Semeru OpenJ9 Java 21 (ppc64le)
4637 wget https://github.com/ibmruntimes/semeru21-binaries/releases/download/jdk-21.0.8%2B9_openj9-0.53.0/ibm-semeru-open-jdk_ppc64le_linux_21.0.8_9_openj9-0.53.0.tar.gz
4738 mkdir -p /opt/java/openjdk-21-openj9
48- tar -C /opt/java/openjdk-21-openj9 --strip-components=1 -xzf ibm-semeru-open-jdk_ppc64le_linux_21.0.0_35_openj9-0.41.0 .tar.gz
39+ tar -C /opt/java/openjdk-21-openj9 --strip-components=1 -xzf ibm-semeru* .tar.gz
4940 export JAVA_HOME=/opt/java/openjdk-21-openj9
5041 export PATH=$JAVA_HOME/bin:$PATH
5142
5243 # Run some basic smoke tests
5344 cd /workspace
54- mvn -f graalpython/com.oracle.graal.python.test.integration/pom.xml -Dcom.oracle.graal.python.test.polyglot.version=26.0.0-SNAPSHOT -Dcom.oracle.graal.python.test.polyglot_repo=file:///$(pwd)/m2repo --batch-mode -U -Dpolyglot.python.UnsupportedPlatformEmulates=linux test -Dtest=HelloWorldTests,AttributeTests,BuiltinSubclassTest,ComplexTexts,CreateClassTest,AsyncActionThreadingTest,JavaInteropTest
45+ mkdir /user_resource_cache
46+ mvn -f graalpython/com.oracle.graal.python.test.integration/pom.xml -Dcom.oracle.graal.python.test.polyglot.version=26.0.0-SNAPSHOT -Dcom.oracle.graal.python.test.polyglot_repo=file:///$(pwd)/m2repo --batch-mode -U -Dtruffle.UseFallbackRuntime=true -Dpolyglot.engine.allowUnsupportedPlatform=true -Dpolyglot.engine.userResourceCache=/user_resource_cache -Dpolyglot.python.UnsupportedPlatformEmulates=linux -Dorg.graalvm.python.resources.exclude=native.files test -Dtest=HelloWorldTests,AttributeTests,BuiltinSubclassTest,ComplexTexts,CreateClassTest,AsyncActionThreadingTest,JavaInteropTest
0 commit comments