From 3ed9350cd21a7eeb2d125b72f6286f79a316fd83 Mon Sep 17 00:00:00 2001 From: Alex Zenla Date: Sun, 10 Sep 2023 03:18:52 -0400 Subject: [PATCH] github: graal windows and darwin builds --- .github/workflows/graal.yml | 38 +++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/.github/workflows/graal.yml b/.github/workflows/graal.yml index 5f43c93..57791f2 100644 --- a/.github/workflows/graal.yml +++ b/.github/workflows/graal.yml @@ -20,3 +20,41 @@ jobs: with: name: pork-linux-amd64 path: tool/build/native/nativeCompile/pork + darwin-amd64: + runs-on: macos-latest + steps: + - name: Checkout Repository + uses: actions/checkout@v3 + - name: Set up GraalVM + uses: graalvm/setup-graalvm@v1 + with: + java-version: '17' + distribution: 'graalvm' + - name: Build with Gradle + uses: gradle/gradle-build-action@v2 + with: + arguments: nativeCompile + - name: Archive Pork Executable + uses: actions/upload-artifact@v3 + with: + name: pork-darwin-amd64 + path: tool/build/native/nativeCompile/pork + windows-amd64: + runs-on: windows-latest + steps: + - name: Checkout Repository + uses: actions/checkout@v3 + - name: Set up GraalVM + uses: graalvm/setup-graalvm@v1 + with: + java-version: '17' + distribution: 'graalvm' + - name: Build with Gradle + uses: gradle/gradle-build-action@v2 + with: + arguments: nativeCompile + - name: Archive Pork Executable + uses: actions/upload-artifact@v3 + with: + name: pork-windows-amd64 + path: tool/build/native/nativeCompile/pork.exe