IR WIP #117
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: graal | |
on: [push] | |
jobs: | |
linux-amd64: | |
runs-on: ubuntu-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-linux-amd64 | |
path: tool/build/native/nativeCompile/pork | |
- name: Archive Pork Runtime Executable | |
uses: actions/upload-artifact@v3 | |
with: | |
name: pork-rt-linux-amd64 | |
path: minimal/build/native/nativeCompile/pork-rt | |
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 | |
- name: Archive Pork Runtime Executable | |
uses: actions/upload-artifact@v3 | |
with: | |
name: pork-rt-darwin-amd64 | |
path: minimal/build/native/nativeCompile/pork-rt | |
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 | |
- name: Archive Pork Runtime Executable | |
uses: actions/upload-artifact@v3 | |
with: | |
name: pork-rt-windows-amd64 | |
path: minimal/build/native/nativeCompile/pork-rt.exe |