-
Notifications
You must be signed in to change notification settings - Fork 395
44 lines (42 loc) · 1.26 KB
/
manual.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
name: Manual
on:
workflow_dispatch:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- nickname: win
os: windows-latest
graal: 22.3.0
musl: false
- nickname: macos
os: macos-latest
graal: 22.3.0
musl: false
- nickname: linux
os: ubuntu-latest
graal: 22.3.0
musl: true
name: Build ${{ matrix.nickname }}
steps:
- uses: actions/checkout@v3
- uses: graalvm/setup-graalvm@v1
with:
version: ${{ matrix.graal }}
java-version: 17
components: native-image
native-image-musl: ${{ matrix.musl }}
github-token: ${{ secrets.GITHUB_TOKEN }}
- run: |
./gradlew build nativeCompile -PspringShellSampleMusl=${{ matrix.musl }} -x test
- uses: actions/upload-artifact@v3
with:
name: spring-shell-samples-${{ matrix.nickname }}
retention-days: 1
path: |
spring-shell-samples/build/libs/*.jar
spring-shell-samples/build/native/nativeCompile/spring-shell-samples
spring-shell-samples/build/native/nativeCompile/spring-shell-samples.exe