blob: 635eccd9272a12f153333cb819d60d379475f99c [file] [log] [blame]
Marc Kupietzaf02e902020-07-03 08:07:51 +02001name: CI Test
2
3on: [push, pull_request]
4
5jobs:
6 build:
7 runs-on: ubuntu-latest
8 steps:
9 - name: Checkout Kustvakt
Marc Kupietz270d2932020-07-03 08:29:39 +020010 uses: actions/checkout@v2
11 with:
12 path: Kustvakt
Marc Kupietzaf02e902020-07-03 08:07:51 +020013
14 - name: Checkout Krill
Marc Kupietz270d2932020-07-03 08:29:39 +020015 uses: actions/checkout@v2
16 with:
17 repository: KorAP/Krill
18 path: Krill
Marc Kupietzaf02e902020-07-03 08:07:51 +020019
20 - name: Checkout Koral
Marc Kupietz270d2932020-07-03 08:29:39 +020021 uses: actions/checkout@v2
22 with:
23 repository: KorAP/Koral
24 path: Koral
Marc Kupietzaf02e902020-07-03 08:07:51 +020025
26 - name: Set up JDK 1.8
Marc Kupietz270d2932020-07-03 08:29:39 +020027 uses: actions/setup-java@v1
28 with:
29 java-version: 1.8
Marc Kupietzaf02e902020-07-03 08:07:51 +020030
31 - name: Build and install Krill
Marc Kupietz270d2932020-07-03 08:29:39 +020032 run: mvn --file Krill/pom.xml install
Marc Kupietzaf02e902020-07-03 08:07:51 +020033
34 - name: Build and install Koral
Marc Kupietz270d2932020-07-03 08:29:39 +020035 run: mvn --file Koral/pom.xml install
Marc Kupietzaf02e902020-07-03 08:07:51 +020036
37 - name: Build and install Kustvakt core
Marc Kupietz270d2932020-07-03 08:29:39 +020038 run: mvn --file Kustvakt/core/pom.xml install
Marc Kupietzaf02e902020-07-03 08:07:51 +020039
40 - name: Build and package Kustvakt lite
Marc Kupietz270d2932020-07-03 08:29:39 +020041 run: mvn --file Kustvakt/lite/pom.xml package
Marc Kupietzaf02e902020-07-03 08:07:51 +020042
43 - name: Build and package Kustvakt full
Marc Kupietz270d2932020-07-03 08:29:39 +020044 run: mvn --file Kustvakt/full/pom.xml package