Skip to content
Permalink
Browse files

Use Github actions for cross os builds

  • Loading branch information
ibauersachs committed Nov 9, 2019
1 parent 43e59ed commit cb30bfa57a55d179526d14d80a0eacbad113e245
Showing with 38 additions and 0 deletions.
  1. +38 −0 .github/workflows/build.yml
@@ -0,0 +1,38 @@
name: dnsjava CI

on: [push]

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

strategy:
matrix:
os: [ ubuntu-16.04, ubuntu-latest, windows-latest ]
java: [ '1.8', '11' ]
arch: [ 'x86', 'x64' ]
exclude:
- os: ubuntu-16.04
arch: x86
- os: ubuntu-latest
arch: x86

name: Java ${{ matrix.java }}/${{ matrix.arch }}/${{ matrix.os }}

steps:
- uses: actions/checkout@v1

- name: Cache Maven dependencies
uses: actions/cache@v1
with:
path: ~/.m2
key: m2

- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
architecture: ${{ matrix.arch }}

- name: Build with Maven
run: mvn test jacoco:report -B -"Dgpg.skip"

0 comments on commit cb30bfa

Please sign in to comment.
You can’t perform that action at this time.