-
Notifications
You must be signed in to change notification settings - Fork 1
51 lines (49 loc) · 1.28 KB
/
libxtracfg.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
name: libxtracfg
on: [push]
jobs:
build:
strategy:
matrix:
os:
#- runner: ubuntu-latest
# type: linux
# platform: linux-amd64
#- runner: buildjet-2vcpu-ubuntu-2204-arm
# type: linux
# platform: linux-arm64
- runner: macos-latest
type: macos
platform: darwin-arm64
runs-on: ${{ matrix.os.runner }}
defaults:
run:
working-directory: ./libxtracfg/c
steps:
- uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
java-version: "21"
distribution: "graalvm"
native-image-job-reports: true
cache: gradle
cache-dependency-path: |
xtracfg/*.gradle*
xtracfg/**/gradle-wrapper.properties
- name: native-image
working-directory: ./xtracfg
run: |
./gradlew nativeCompile -PLIB=true
- name: log
run: |
ls -l ./build
- name: wrapper
run: |
./build.sh
- name: log2
run: |
ls -l ./build
- uses: actions/upload-artifact@v4
with:
name: libxtracfg-${{ matrix.os.platform }}
path: ./libxtracfg/c/build/libxtracfg.a
retention-days: 1