forked from corda/CSDE-cordapp-template-kotlin
-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (40 loc) · 1.2 KB
/
ci.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: CI
on:
push:
branches: [ feature-integration-testing, main, 'release/corda-5-0', citest ]
pull_request:
branches: [ feature-integration-testing, main, 'release/corda-5-0', citest ]
# This allows a subsequently queued workflow run to interrupt previous runs
concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true
jobs:
ci:
name: CI
strategy:
matrix:
java-version:
- 17
os:
- ubuntu-latest
# - windows-2019
# in case one combination fails, we still want to see results from others
fail-fast: false
runs-on: ${{ matrix.os }}
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java-version }}
distribution: 'zulu'
- name: Setup Corda CLI
uses: manosbatsis/corda5-cli-action@v2.0.1
with:
cli-version: '5.0.1'
- name: Build with Gradle
uses: gradle/gradle-build-action@v2
with:
arguments: build integrationTest