From e9faaaf351b051cd2269d060236adb1dcf139158 Mon Sep 17 00:00:00 2001
From: Dominik Thoennes <dominik.thoennes@fau.de>
Date: Sat, 4 Jul 2020 09:09:26 +0200
Subject: [PATCH] Enable CI on github

---
 .github/workflows/basicTests.yml | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 .github/workflows/basicTests.yml

diff --git a/.github/workflows/basicTests.yml b/.github/workflows/basicTests.yml
new file mode 100644
index 000000000..d535a169f
--- /dev/null
+++ b/.github/workflows/basicTests.yml
@@ -0,0 +1,19 @@
+name: waLBerla Tests
+
+on: push
+
+jobs:
+  build:
+
+    runs-on: ubuntu-latest
+
+    steps:
+    - uses: actions/checkout@v2
+    - name: create build directory
+      run: mkdir build
+    - name: CMake
+      run: cmake -S . -B build -DWALBERLA_BUILD_WITH_MPI=OFF -DWALBERLA_BUILD_TESTS=ON -DWALBERLA_BUILD_WITH_OPENMP=ON
+    - name: make
+      run: cmake --build build -j 2
+    - name: ctest
+      run: cd build; ctest
-- 
GitLab