This is an automated email from the ASF dual-hosted git repository. pnoltes pushed a commit to branch gitbub-workflow-test in repository https://gitbox.apache.org/repos/asf/celix.git
commit 8fae7d3a537d1c5c61c89c2ec8e6752ed1ace63a Author: Pepijn Noltes <[email protected]> AuthorDate: Thu Aug 29 18:51:42 2019 +0200 Initial setup for a GitHub Ci flow --- .github/workflows/build_and_test.yml | 42 ++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml new file mode 100644 index 0000000..db7744a --- /dev/null +++ b/.github/workflows/build_and_test.yml @@ -0,0 +1,42 @@ +name: Build and Test Celix CI + +on: [push, pull_request] + +jobs: + build_and_test: + name: Build And test + runs-on: ubuntu-18.04, or ubuntu-16.04, macOS-10.14 + + steps: + - name: Build + env: + CMAKE_BUILD_OPTIONS: -DBUILD_PUBSUB=ON + run: | + mkdir build + cd build + cmake ${CMAKE_BUILD_OPTIONS} .. + make -J + steps: + - name: Test + run: | + make test + +jobs: + build_and_test_with_asan: + name: Build and test with address sanitizer + runs-on: ubuntu-18.04 + + steps: + - name: Build + env: + CMAKE_BUILD_OPTIONS: -DBUILD_PUBSUB=ON + run: | + mkdir build + cd build + cmake ${CMAKE_BUILD_OPTIONS} .. + make -J + steps: + - name: Test + run: | + make test -DENABLE_ADDRESS_SANITIZER=ON + make test
