-
Notifications
You must be signed in to change notification settings - Fork 1
60 lines (60 loc) · 1.61 KB
/
graal.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
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
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