From 893e7dd929f0cf777fcd9df63c3804d737e058d6 Mon Sep 17 00:00:00 2001 From: Frank Hossfeld Date: Sat, 5 Dec 2020 11:41:09 +0100 Subject: [PATCH] add GitHub action --- .github/workflows/build.yaml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/build.yaml diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 0000000..2c1a271 --- /dev/null +++ b/.github/workflows/build.yaml @@ -0,0 +1,31 @@ +# +# Copyright © 2019 The GWT Project Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +name: CI + +on: [push, pull_request] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + # TODO: cache dependencies (taking into accounts: Maven plugins, snapshots, etc.) + + - name: Build with Maven + run: JAVA_HOME=$JAVA_HOME_8_X64 mvn -V -B -ntp -U -e verify \ No newline at end of file