Marc Kupietz | af02e90 | 2020-07-03 08:07:51 +0200 | [diff] [blame] | 1 | name: CI Test |
2 | |||||
Marc Kupietz | cd46893 | 2023-02-18 09:50:06 +0100 | [diff] [blame] | 3 | on: |
4 | push: | ||||
5 | branches-ignore: | ||||
6 | - 'dependabot/**' | ||||
7 | pull_request: | ||||
8 | paths-ignore: | ||||
9 | - '**.md' | ||||
Marc Kupietz | af02e90 | 2020-07-03 08:07:51 +0200 | [diff] [blame] | 10 | |
11 | jobs: | ||||
12 | build: | ||||
13 | runs-on: ubuntu-latest | ||||
14 | steps: | ||||
15 | - name: Checkout Kustvakt | ||||
margaretha | 5988978 | 2024-01-24 09:18:46 +0100 | [diff] [blame] | 16 | uses: actions/checkout@v4 |
Marc Kupietz | 270d293 | 2020-07-03 08:29:39 +0200 | [diff] [blame] | 17 | with: |
18 | path: Kustvakt | ||||
Marc Kupietz | af02e90 | 2020-07-03 08:07:51 +0200 | [diff] [blame] | 19 | |
20 | - name: Checkout Krill | ||||
margaretha | 5988978 | 2024-01-24 09:18:46 +0100 | [diff] [blame] | 21 | uses: actions/checkout@v4 |
Marc Kupietz | 270d293 | 2020-07-03 08:29:39 +0200 | [diff] [blame] | 22 | with: |
23 | repository: KorAP/Krill | ||||
24 | path: Krill | ||||
Marc Kupietz | af02e90 | 2020-07-03 08:07:51 +0200 | [diff] [blame] | 25 | |
26 | - name: Checkout Koral | ||||
margaretha | 5988978 | 2024-01-24 09:18:46 +0100 | [diff] [blame] | 27 | uses: actions/checkout@v4 |
Marc Kupietz | 270d293 | 2020-07-03 08:29:39 +0200 | [diff] [blame] | 28 | with: |
29 | repository: KorAP/Koral | ||||
30 | path: Koral | ||||
Marc Kupietz | af02e90 | 2020-07-03 08:07:51 +0200 | [diff] [blame] | 31 | |
margaretha | 4276b98 | 2023-11-14 09:26:10 +0100 | [diff] [blame] | 32 | - name: Set up JDK 17 |
margaretha | 5988978 | 2024-01-24 09:18:46 +0100 | [diff] [blame] | 33 | uses: actions/setup-java@v4 |
Marc Kupietz | 270d293 | 2020-07-03 08:29:39 +0200 | [diff] [blame] | 34 | with: |
margaretha | 5988978 | 2024-01-24 09:18:46 +0100 | [diff] [blame] | 35 | distribution: 'temurin' |
margaretha | 4276b98 | 2023-11-14 09:26:10 +0100 | [diff] [blame] | 36 | java-version: 17 |
Marc Kupietz | af02e90 | 2020-07-03 08:07:51 +0200 | [diff] [blame] | 37 | |
38 | - name: Build and install Krill | ||||
Marc Kupietz | 270d293 | 2020-07-03 08:29:39 +0200 | [diff] [blame] | 39 | run: mvn --file Krill/pom.xml install |
Marc Kupietz | af02e90 | 2020-07-03 08:07:51 +0200 | [diff] [blame] | 40 | |
41 | - name: Build and install Koral | ||||
Marc Kupietz | 270d293 | 2020-07-03 08:29:39 +0200 | [diff] [blame] | 42 | run: mvn --file Koral/pom.xml install |
Marc Kupietz | 508caeb | 2024-01-20 10:14:17 +0100 | [diff] [blame] | 43 | |
Marc Kupietz | af02e90 | 2020-07-03 08:07:51 +0200 | [diff] [blame] | 44 | - name: Build and package Kustvakt full |
Marc Kupietz | 508caeb | 2024-01-20 10:14:17 +0100 | [diff] [blame] | 45 | run: mvn clean --file Kustvakt/pom.xml package |
46 | |||||
margaretha | f7d9fb2 | 2023-09-21 12:28:25 +0200 | [diff] [blame] | 47 | - name: Build and package Kustvakt lite |
Marc Kupietz | 508caeb | 2024-01-20 10:14:17 +0100 | [diff] [blame] | 48 | run: mvn clean --file Kustvakt/pom.xml package -P lite -DskipTests=true |