From 5ed80df56a64fdd9bf22b2f240a608e77be8262c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gon=C3=A7alo=20Almeida?= Date: Fri, 3 Nov 2023 08:48:35 +0000 Subject: [PATCH] Added github workflow to build the project in Ubuntu, Windows, and macOS (#62) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Configure actions * Added github workflow to build the project in Ubuntu, Windows, and macOS --------- Co-authored-by: Gonçalo Almeida --- .github/workflows/maven.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/maven.yml diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml new file mode 100644 index 0000000..2f5408a --- /dev/null +++ b/.github/workflows/maven.yml @@ -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