Merge branch 'PolynomialDivision-feature/add_workflow' master
authorPhilipp Borgers <borgers@mi.fu-berlin.de>
Thu, 18 Jun 2020 10:09:17 +0000 (12:09 +0200)
committerPhilipp Borgers <borgers@mi.fu-berlin.de>
Thu, 18 Jun 2020 10:09:17 +0000 (12:09 +0200)
.github/workflows/build.yml [new file with mode: 0644]

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644 (file)
index 0000000..56b98be
--- /dev/null
@@ -0,0 +1,17 @@
+name: Build olsrd
+on:
+  push:
+  pull_request:
+    types: [opened, synchronize, reopened]
+jobs:
+  build:
+    name: build
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v2
+        with:
+          path: olsrd
+      - name: Install dependencies
+        run: sudo apt-get install build-essential dpkg-dev bison flex libgps-dev
+      - name: Compile olsrd
+        run: cd olsrd && make build_all
\ No newline at end of file