summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Hurst <jhurst@cinecert.com>2020-07-16 16:30:52 -0700
committerGitHub <noreply@github.com>2020-07-16 16:30:52 -0700
commit474dfebead4e815d5ca374eeccb1c05360b31962 (patch)
tree28cddd09a21f4b6dd96a3fab48537eb2a62256cc
parent9b855940c107e68b1782bb04fa9540e944d70002 (diff)
parent27a39da1c7f928f5a290750fa23adfe944a56737 (diff)
Merge pull request #51 from DolbyLaboratories/dolby/ci
Dolby/Add GitHub continuous integration
-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