Skip to content

Commit

Permalink
Update graalvm-build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ashr123 authored Nov 2, 2023
1 parent b01ecdd commit 4cbc8c5
Showing 1 changed file with 19 additions and 5 deletions.
24 changes: 19 additions & 5 deletions .github/workflows/graalvm-build.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,26 @@
name: GraalVM Native Image builds
on: [push, pull_request]
on: [ push, pull_request ]
jobs:
build:
name: HelloWorld on ${{ matrix.os }}
name: Red Alert Listener Builder on ${{ matrix.os }}-${{ matrix.architecture }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
include:
- os: macos-latest
architecture: AARCH64
- os: macos-latest
architecture: AMD64
- os: windows-latest
architecture: AARCH64
- os: windows-latest
architecture: AMD64
- os: ubuntu-latest
architecture: AARCH64
- os: ubuntu-latest
architecture: AMD64
- os: ubuntu-latest
architecture: RISCV64
steps:
- uses: actions/[email protected]

Expand All @@ -22,9 +36,9 @@ jobs:

- name: Creating native image
run: native-image -jar target/red-alert-listener-*-jar-with-dependencies.jar

- name: Upload binary
uses: actions/upload-artifact@v2
with:
name: red-alert-listener-${{ matrix.os }}
name: red-alert-listener-${{ matrix.os }}-${{ matrix.architecture }}
path: red-alert-listener*

0 comments on commit 4cbc8c5

Please sign in to comment.