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 | ||||
Marc Kupietz | 270d293 | 2020-07-03 08:29:39 +0200 | [diff] [blame] | 16 | uses: actions/checkout@v2 |
17 | with: | ||||
18 | path: Kustvakt | ||||
Marc Kupietz | af02e90 | 2020-07-03 08:07:51 +0200 | [diff] [blame] | 19 | |
20 | - name: Checkout Krill | ||||
Marc Kupietz | 270d293 | 2020-07-03 08:29:39 +0200 | [diff] [blame] | 21 | uses: actions/checkout@v2 |
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 | ||||
Marc Kupietz | 270d293 | 2020-07-03 08:29:39 +0200 | [diff] [blame] | 27 | uses: actions/checkout@v2 |
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 |
Marc Kupietz | 270d293 | 2020-07-03 08:29:39 +0200 | [diff] [blame] | 33 | uses: actions/setup-java@v1 |
34 | with: | ||||
margaretha | 4276b98 | 2023-11-14 09:26:10 +0100 | [diff] [blame] | 35 | java-version: 17 |
Marc Kupietz | af02e90 | 2020-07-03 08:07:51 +0200 | [diff] [blame] | 36 | |
37 | - name: Build and install Krill | ||||
Marc Kupietz | 270d293 | 2020-07-03 08:29:39 +0200 | [diff] [blame] | 38 | run: mvn --file Krill/pom.xml install |
Marc Kupietz | af02e90 | 2020-07-03 08:07:51 +0200 | [diff] [blame] | 39 | |
40 | - name: Build and install Koral | ||||
Marc Kupietz | 270d293 | 2020-07-03 08:29:39 +0200 | [diff] [blame] | 41 | run: mvn --file Koral/pom.xml install |
Marc Kupietz | 508caeb | 2024-01-20 10:14:17 +0100 | [diff] [blame] | 42 | |
Marc Kupietz | af02e90 | 2020-07-03 08:07:51 +0200 | [diff] [blame] | 43 | - name: Build and package Kustvakt full |
Marc Kupietz | 508caeb | 2024-01-20 10:14:17 +0100 | [diff] [blame] | 44 | run: mvn clean --file Kustvakt/pom.xml package |
45 | |||||
margaretha | f7d9fb2 | 2023-09-21 12:28:25 +0200 | [diff] [blame] | 46 | - name: Build and package Kustvakt lite |
Marc Kupietz | 508caeb | 2024-01-20 10:14:17 +0100 | [diff] [blame] | 47 | run: mvn clean --file Kustvakt/pom.xml package -P lite -DskipTests=true |