-
Notifications
You must be signed in to change notification settings - Fork 13
73 lines (68 loc) · 2.2 KB
/
ci_check.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# This workflow will build a Java project with Gradle
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
name: test
on: [push, pull_request]
jobs:
build1:
name: default
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, macos-latest]
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 5
- uses: codecov/codecov-action@v1
- name: install macOS dependencies
if: runner.os == 'macOS'
run: brew install [email protected] openjdk
- name: install Ubuntu dependencies
if: runner.os == 'Linux'
run: sudo apt-get update && sudo apt install -y git curl libssl-dev default-jdk build-essential
- name: run integration testing
run: /bin/bash .ci/ci_check.sh
build2:
name: jdk8
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, macos-latest]
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 5
- uses: codecov/codecov-action@v1
- uses: actions/setup-java@v1
with:
java-version: 8
- name: install macOS dependencies
if: runner.os == 'macOS'
run: brew install [email protected] openjdk
- name: install Ubuntu dependencies
if: runner.os == 'Linux'
run: sudo apt-get update && sudo apt install -y git curl libssl-dev default-jdk build-essential
- name: run integration testing
run: /bin/bash .ci/ci_check.sh
build3:
name: jdk11
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, macos-latest]
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 5
- uses: actions/setup-java@v1
with:
java-version: 11
- uses: codecov/codecov-action@v1
- name: install macOS dependencies
if: runner.os == 'macOS'
run: brew install [email protected] openjdk
- name: install Ubuntu dependencies
if: runner.os == 'Linux'
run: sudo apt-get update && sudo apt install -y git curl libssl-dev default-jdk build-essential
- name: run integration testing
run: /bin/bash .ci/ci_check.sh