blob: 42ec0579beaeccd59ae5ad67c9eaa3efe4d3bb06 [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
abcpro155ea1e02022-11-09 22:04:17 +000026 - name: Set up JDK 11
Marc Kupietz270d2932020-07-03 08:29:39 +020027 uses: actions/setup-java@v1
28 with:
abcpro155ea1e02022-11-09 22:04:17 +000029 java-version: 11
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