Skip to content

Commit

Permalink
Added github workflow to build the project in Ubuntu, Windows, and ma…
Browse files Browse the repository at this point in the history
…cOS (#62)

* Configure actions

* Added github workflow to build the project in Ubuntu, Windows, and macOS

---------

Co-authored-by: Gonçalo Almeida <Goncalo.Almeida@ctw.bmwgroup.com>
  • Loading branch information
goncaloalmeida and Gonçalo Almeida authored Nov 3, 2023
1 parent 4f12264 commit 5ed80df
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Set up JDK 8
uses: actions/setup-java@v1
with:
java-version: 8
- name: Build and package project
run: mvn -f org.genivi.commonapi.core.releng/pom.xml -D target.id=org.genivi.commonapi.core.target clean verify

0 comments on commit 5ed80df

Please sign in to comment.