Skip to content

Commit

Permalink
Revert "Fix GraalVM integration test on GitHub Actions (#3626)"
Browse files Browse the repository at this point in the history
This reverts commit 89ae123.
  • Loading branch information
marcphilipp committed Jan 4, 2024
1 parent 89ae123 commit b6e90a1
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
distribution: graalvm-community
version: 'latest'
java-version: '21'
set-java-home: false
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Build
uses: ./.github/actions/main-build
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ org.gradle.jvmargs=-Xmx1g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryEr
--add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED
org.gradle.caching=true
org.gradle.parallel=true
org.gradle.java.installations.fromEnv=JDK8,JDK18,JDK19,JDK20,JDK21,JDK22
org.gradle.java.installations.fromEnv=JDK8,JDK18,JDK19,JDK20,JDK21,JDK22,GRAALVM_HOME
org.gradle.kotlin.dsl.allWarningsAsErrors=true

# Test Distribution
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
org.gradle.java.installations.fromEnv=GRAALVM_HOME
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ void runsTestsInNativeImage() {
.setProject("graalvm-starter") //
.addArguments("-Dmaven.repo=" + MavenRepo.dir()) //
.addArguments("javaToolchains", "nativeTest", "--no-daemon", "--stacktrace") //
.addArguments("-Porg.gradle.java.installations.fromEnv=GRAALVM_HOME") //
.setTimeout(Duration.ofMinutes(5)) //
.build();

Expand Down

0 comments on commit b6e90a1

Please sign in to comment.