Skip to content

Commit

Permalink
Add GitHub Action CI as a backup CI instance (#986)
Browse files Browse the repository at this point in the history
  • Loading branch information
jetersen committed Sep 12, 2019
1 parent 6e42372 commit da737fe
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: CI

on: [push, pull_request]

jobs:
build:
name: Build on Jenkins ${{ matrix.jenkins-version }}, JDK ${{ matrix.java }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
java: [1.8, 11]
jenkins-version: [2.60.3, 2.176.3]
os: [ubuntu-latest, windows-latest]
include:
- jenkins-version: '2.176.3'
flags: '-Djenkins.version=2.176.3'
exclude:
- java: '11'
jenkins-version: '2.60.3'

steps:
- uses: actions/checkout@v1
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: Build with Maven
run: |
mvn install -B -V --no-transfer-progress ${{ matrix.flags }}

0 comments on commit da737fe

Please sign in to comment.