blob: 398af8f8bfc29b5a819786dd04722d1c3b82421e [file] [log] [blame]
Marc Kupietzaf02e902020-07-03 08:07:51 +02001name: CI Test
2
Marc Kupietzcd468932023-02-18 09:50:06 +01003on:
4 push:
5 branches-ignore:
6 - 'dependabot/**'
7 pull_request:
8 paths-ignore:
9 - '**.md'
Marc Kupietzaf02e902020-07-03 08:07:51 +020010
11jobs:
12 build:
13 runs-on: ubuntu-latest
14 steps:
15 - name: Checkout Kustvakt
Marc Kupietz270d2932020-07-03 08:29:39 +020016 uses: actions/checkout@v2
17 with:
18 path: Kustvakt
Marc Kupietzaf02e902020-07-03 08:07:51 +020019
20 - name: Checkout Krill
Marc Kupietz270d2932020-07-03 08:29:39 +020021 uses: actions/checkout@v2
22 with:
23 repository: KorAP/Krill
24 path: Krill
Marc Kupietzaf02e902020-07-03 08:07:51 +020025
26 - name: Checkout Koral
Marc Kupietz270d2932020-07-03 08:29:39 +020027 uses: actions/checkout@v2
28 with:
29 repository: KorAP/Koral
30 path: Koral
Marc Kupietzaf02e902020-07-03 08:07:51 +020031
abcpro155ea1e02022-11-09 22:04:17 +000032 - name: Set up JDK 11
Marc Kupietz270d2932020-07-03 08:29:39 +020033 uses: actions/setup-java@v1
34 with:
abcpro155ea1e02022-11-09 22:04:17 +000035 java-version: 11
Marc Kupietzaf02e902020-07-03 08:07:51 +020036
37 - name: Build and install Krill
Marc Kupietz270d2932020-07-03 08:29:39 +020038 run: mvn --file Krill/pom.xml install
Marc Kupietzaf02e902020-07-03 08:07:51 +020039
40 - name: Build and install Koral
Marc Kupietz270d2932020-07-03 08:29:39 +020041 run: mvn --file Koral/pom.xml install
margarethaf7d9fb22023-09-21 12:28:25 +020042
Marc Kupietzaf02e902020-07-03 08:07:51 +020043 - name: Build and package Kustvakt full
margarethaf7d9fb22023-09-21 12:28:25 +020044 run: mvn clean --file Kustvakt/full/pom.xml package
45
46 - name: Build and package Kustvakt lite
47 run: mvn clean --file Kustvakt/full/pom.xml package -P lite -DskipTests=true