Skip to content

Commit

Permalink
Use Github Actions for build #362
Browse files Browse the repository at this point in the history
Use Github actions to check whether the build runs on all OS.
  • Loading branch information
codecholeric authored May 23, 2020
2 parents e56b693 + cf69c4d commit 15e5df6
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: CI

on: [push, pull_request]

jobs:
build:
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
java_version:
- 11

runs-on: ${{ matrix.os }}

steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Java
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java_version }}
- name: Build
uses: eskatos/gradle-command-action@v1
with:
arguments: build -PallTests

0 comments on commit 15e5df6

Please sign in to comment.