Skip to content

Commit b44dda3

Browse files
authored
Merge pull request #36 from 1c-syntax/feature/ga
Create check.yml
2 parents 5e0406a + 5be6877 commit b44dda3

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

.github/workflows/check.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Java CI
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ${{ matrix.os }}
8+
strategy:
9+
fail-fast: false
10+
matrix:
11+
java_version: ['11']
12+
os: [ubuntu-latest, windows-latest, macOS-latest]
13+
steps:
14+
- uses: actions/checkout@v1
15+
- name: Set up JDK ${{ matrix.java_version }}
16+
uses: actions/setup-java@v1
17+
with:
18+
java-version: ${{ matrix.java_version }}
19+
- name: Build with Gradle
20+
run: ./gradlew check --stacktrace
21+
- name: Archive test results
22+
if: failure()
23+
uses: actions/upload-artifact@v1
24+
with:
25+
name: junit_report_${{ matrix.os }}_${{ matrix.java_version }}
26+
path: build/reports/tests/test

0 commit comments

Comments
 (0)