blob: 4899835b5bd6a68a6e13909eea416425bf294da2 [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
margaretha59889782024-01-24 09:18:46 +010016 uses: actions/checkout@v4
Marc Kupietz270d2932020-07-03 08:29:39 +020017 with:
18 path: Kustvakt
Marc Kupietzaf02e902020-07-03 08:07:51 +020019
20 - name: Checkout Krill
margaretha59889782024-01-24 09:18:46 +010021 uses: actions/checkout@v4
Marc Kupietz270d2932020-07-03 08:29:39 +020022 with:
23 repository: KorAP/Krill
24 path: Krill
Marc Kupietzaf02e902020-07-03 08:07:51 +020025
26 - name: Checkout Koral
margaretha59889782024-01-24 09:18:46 +010027 uses: actions/checkout@v4
Marc Kupietz270d2932020-07-03 08:29:39 +020028 with:
29 repository: KorAP/Koral
30 path: Koral
Marc Kupietzaf02e902020-07-03 08:07:51 +020031
margaretha4276b982023-11-14 09:26:10 +010032 - name: Set up JDK 17
margaretha59889782024-01-24 09:18:46 +010033 uses: actions/setup-java@v4
Marc Kupietz270d2932020-07-03 08:29:39 +020034 with:
margaretha59889782024-01-24 09:18:46 +010035 distribution: 'temurin'
margaretha4276b982023-11-14 09:26:10 +010036 java-version: 17
Marc Kupietzaf02e902020-07-03 08:07:51 +020037
38 - name: Build and install Krill
Marc Kupietz270d2932020-07-03 08:29:39 +020039 run: mvn --file Krill/pom.xml install
Marc Kupietzaf02e902020-07-03 08:07:51 +020040
41 - name: Build and install Koral
Marc Kupietz270d2932020-07-03 08:29:39 +020042 run: mvn --file Koral/pom.xml install
Marc Kupietz508caeb2024-01-20 10:14:17 +010043
Marc Kupietzaf02e902020-07-03 08:07:51 +020044 - name: Build and package Kustvakt full
Marc Kupietz508caeb2024-01-20 10:14:17 +010045 run: mvn clean --file Kustvakt/pom.xml package
46
margarethaf7d9fb22023-09-21 12:28:25 +020047 - name: Build and package Kustvakt lite
Marc Kupietz508caeb2024-01-20 10:14:17 +010048 run: mvn clean --file Kustvakt/pom.xml package -P lite -DskipTests=true