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