summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorArnaud Bienner <abien@dolby.com>2020-07-13 22:59:29 +0200
committerArnaud Bienner <abien@dolby.com>2020-07-13 22:59:29 +0200
commit4e0ecbaaa77c886137ff36f6911e5d7476b60b8e (patch)
treeb91e34ae66b1cc0c76bfbe295a1ebb188b506bbe /.github
parent1b64c426f5bb727217984d353c5c3671f9bc4eed (diff)
Add Github actions for continuous integration
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml39
1 files changed, 39 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..8a2da82
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,39 @@
+name: CI
+
+on:
+ push:
+ branches: [ master ]
+ pull_request:
+ branches: [ master ]
+
+jobs:
+ build_ubuntu_autoconf:
+
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v2
+ - name: autoreconf
+ run: autoreconf -if
+ - name: configure
+ run: ./configure --enable-as-02
+ - name: make
+ run: make
+
+ build_ubuntu_cmake:
+
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v2
+ - name: dependencies
+ run: sudo apt-get update && sudo apt-get install -y
+ libxerces-c-dev
+ - name: Create build dir
+ run: mkdir build
+ - name: cmake
+ working-directory: build
+ run: cmake ..
+ - name: make
+ working-directory: build
+ run: make