Upgrade to gradle 8.11-rc-2 #160
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | |
repository: calimero-project/calimero-server | |
path: calimero-server | |
- name: Checkout calimero-testnetwork | |
uses: actions/checkout@v4 | |
with: | |
repository: calimero-project/calimero-testnetwork | |
path: calimero-testnetwork | |
- name: Checkout calimero-core | |
uses: actions/checkout@v4 | |
with: | |
path: calimero-core | |
- name: setup | |
uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: ${{ matrix.java }} | |
- name: Grant execute permission for gradlew | |
run: | | |
chmod +x calimero-testnetwork/gradlew | |
chmod +x calimero-core/gradlew | |
- name: Start testnetwork | |
run: | | |
cd calimero-testnetwork | |
./gradlew build | |
./gradlew run --args "../calimero-core/test/testnetwork-launcher/server-config.xml" & | |
- name: Build with Gradle | |
run: | | |
cd calimero-core | |
./gradlew build |