Skip to content

Commit 7db5bbf

Browse files
committed
debug ci
1 parent 2044b24 commit 7db5bbf

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/build-artifact.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Build Native Image
2+
3+
on:
4+
push:
5+
branches:
6+
- debug-ci
7+
8+
jobs:
9+
build-native-image:
10+
name: HelloWorld on ${{ matrix.os }}
11+
runs-on: ${{ matrix.os }}
12+
strategy:
13+
matrix:
14+
os: [macos-latest]
15+
16+
steps:
17+
- name: Checkout Repository
18+
uses: actions/checkout@v4
19+
20+
- name: Set up GraalVM
21+
uses: graalvm/setup-graalvm@v1
22+
with:
23+
java-version: '21'
24+
distribution: 'graalvm'
25+
components: "native-image"
26+
27+
- name: Grant Execute Permissions for Gradlew
28+
run: chmod +x gradlew
29+
30+
- name: Build Native Image
31+
run: ./gradlew nativeCompile
32+
33+
- name: Upload Artifact
34+
uses: actions/upload-artifact@v3
35+
with:
36+
name: qmk-display-${{ matrix.os }}
37+
path: ./build/native/nativeCompile/qmk-display

0 commit comments

Comments
 (0)