summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorAlan Antonuk <alan.antonuk@gmail.com>2020-12-10 20:11:43 -0800
committerAlan Antonuk <alan.antonuk@gmail.com>2020-12-24 09:41:41 -0800
commit521a4dbe03f37b4bc1284cf6ad752c5277c8dacd (patch)
tree64d303b42477c6aa2cc7cb0ab80fe00443d21556 /.github
parent52a6c129eba1b8840dde43cfbbe2137796e793b6 (diff)
downloadrabbitmq-c-521a4dbe03f37b4bc1284cf6ad752c5277c8dacd.tar.gz
ci: add github actions config
Adds a github actions config that builds using cmake.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml30
1 files changed, 30 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..348776e
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,30 @@
+name: CI
+
+on: [push]
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ include:
+ - compiler: gcc
+ config: cmake
+ - compiler: clang
+ config: cmake
+ - compiler: clang
+ config: asan
+ - compiler: clang
+ config: tsan
+
+ steps:
+ - uses: actions/checkout@v2
+ with:
+ submodules: true
+
+ - name: Configure Build & Test
+ shell: bash
+ env:
+ CC: ${{ matrix.compiler }}
+ run: ./travis.sh ${{ matrix.config }} \ No newline at end of file