Skip to content

Commit

Permalink
Build GraalVM native image
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Zalas <jakub@zalas.pl>
  • Loading branch information
jakzal committed Jun 2, 2021
1 parent 21bfc42 commit b6b7eb6
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,26 @@ jobs:
name: JARs
path: target/*.jar

- name: Set up GraalVM
uses: DeLaGuardo/setup-graalvm@4.0
with:
java: 'java8'

- name: Install the native-image component
run: gu install native-image

- name: Build with GraalVM
run: mvn --batch-mode -Pgithub-releases -Pnative-image clean install

- name: Publish GraalVM artifacts
uses: actions/upload-artifact@v2
with:
name: GraalVM
path: |
target/*.h
target/*.so
target/*.build_artifacts.txt
- name: Notify slack
if: always() && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')) && github.repository_owner == 'vlingo'
uses: rtCamp/action-slack-notify@v2
Expand Down

0 comments on commit b6b7eb6

Please sign in to comment.