Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
darkevilmac committed Jul 28, 2024
2 parents 069220c + b1dccfb commit d0c28e0
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/graal.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: GraalVM build
on: [push, pull_request]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
java-version: '21'
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Print Environment State
run: |
echo "GRAALVM_HOME: $GRAALVM_HOME"
echo "JAVA_HOME: $JAVA_HOME"
java --version
native-image --version
- name: Build
run: ./gradlew.bat nativeCompile
- name: Archive production artifacts
uses: actions/upload-artifact@v4
with:
name: executable
path: ./build/native/nativeCompile/**.exe
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: ./build/native/nativeCompile/**.exe

0 comments on commit d0c28e0

Please sign in to comment.