-
Notifications
You must be signed in to change notification settings - Fork 18
51 lines (46 loc) · 1.16 KB
/
gradle.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: CI with Gradle
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [17, 21]
name: Java ${{ matrix.java }} sample
steps:
- name: Checkout calimero-core
uses: actions/checkout@v4
with:
repository: calimero-project/calimero-core
path: calimero-core
- name: Checkout calimero-device
uses: actions/checkout@v4
with:
repository: calimero-project/calimero-device
path: calimero-device
- name: Checkout calimero-rxtx
uses: actions/checkout@v4
with:
repository: calimero-project/calimero-rxtx
path: calimero-rxtx
- name: Checkout calimero-server
uses: actions/checkout@v4
with:
path: calimero-server
- name: setup
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: ${{ matrix.java }}
- name: Grant execute permission for gradlew
run: |
cd calimero-server
chmod +x gradlew
- name: Build with Gradle
run: |
cd calimero-server
./gradlew build