Skip to content

Commit 15e5df6

Browse files
authored
Use Github Actions for build TNG#362
Use Github actions to check whether the build runs on all OS.
2 parents e56b693 + cf69c4d commit 15e5df6

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/build.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: CI
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
strategy:
8+
matrix:
9+
os:
10+
- ubuntu-latest
11+
- macos-latest
12+
- windows-latest
13+
java_version:
14+
- 11
15+
16+
runs-on: ${{ matrix.os }}
17+
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v2
21+
- name: Set up Java
22+
uses: actions/setup-java@v1
23+
with:
24+
java-version: ${{ matrix.java_version }}
25+
- name: Build
26+
uses: eskatos/gradle-command-action@v1
27+
with:
28+
arguments: build -PallTests

0 commit comments

Comments
 (0)