Skip to content

Commit

Permalink
Test GraalVM on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
3arthqu4ke committed Jan 21, 2025
1 parent 2441e10 commit ebdf8f0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/graal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ on:
jobs:
build:

runs-on: ubuntu-latest
# runs-on: ubuntu-latest
runs-on: windows-latest

steps:
- uses: actions/checkout@v4
Expand All @@ -26,15 +27,15 @@ jobs:
java --version
native-image --version
- name: Grant execute permission for gradlew
run: chmod +x gradlew
#- name: Grant execute permission for gradlew
# run: chmod +x gradlew

- name: Build with Gradle
run: |
./gradlew -Phmc_graal_build=true headlessmc-launcher:nativeCompile
- name: List files
run: ls headlessmc-launcher/build/native/nativeCompile
#- name: List files
# run: ls headlessmc-launcher/build/native/nativeCompile

- name: Publish Artifact
uses: actions/upload-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion headlessmc-modlauncher/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
if (!JavaVersion.current().isJava9Compatible()) {
if (!rootProject.hmc_graal_build) {
sourceSets {
java9stub
main {
Expand Down

0 comments on commit ebdf8f0

Please sign in to comment.