Add CI Test github action
Change-Id: I4450fe313877d7fd92816619c333fbc57dcce302
diff --git a/.github/workflows/ci_test.yml b/.github/workflows/ci_test.yml
new file mode 100644
index 0000000..f28ceb5
--- /dev/null
+++ b/.github/workflows/ci_test.yml
@@ -0,0 +1,44 @@
+name: CI Test
+
+on: [push, pull_request]
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout Kustvakt
+ uses: actions/checkout@v2
+ with:
+ path: Kustvakt
+
+ - name: Checkout Krill
+ uses: actions/checkout@v2
+ with:
+ repository: KorAP/Krill
+ path: Krill
+
+ - name: Checkout Koral
+ uses: actions/checkout@v2
+ with:
+ repository: KorAP/Koral
+ path: Koral
+
+ - name: Set up JDK 1.8
+ uses: actions/setup-java@v1
+ with:
+ java-version: 1.8
+
+ - name: Build and install Krill
+ run: mvn --file Krill/pom.xml install
+
+ - name: Build and install Koral
+ run: mvn --file Koral/pom.xml install
+
+ - name: Build and install Kustvakt core
+ run: mvn --file Kustvakt/core/pom.xml install
+
+ - name: Build and package Kustvakt lite
+ run: mvn --file Kustvakt/lite/pom.xml package
+
+ - name: Build and package Kustvakt full
+ run: mvn --file Kustvakt/full/pom.xml package