From 89b25e835e6a18d7f3c2b3b063b7dc0e2afbaa42 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Fri, 6 Dec 2019 22:01:07 +0100 Subject: [PATCH] Create gwion.yml --- .github/workflows/gwion.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/gwion.yml diff --git a/.github/workflows/gwion.yml b/.github/workflows/gwion.yml new file mode 100644 index 00000000..e9caf0b4 --- /dev/null +++ b/.github/workflows/gwion.yml @@ -0,0 +1,32 @@ + +name: C/C++ CI + +on: [push] + +jobs: + build: + + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, macos-latest, windows-latest] + cc: [gcc, clang] + double: [0, 1] + + steps: + - uses: actions/checkout@v1 + - name: submodules + run: git submodule update --init util ast + - name: make + env: + USE_DOUBLE: ${{ matrix.double }} + CFLAGS: -fsanitize=address -fno-omit-frame-pointer + LDFLAGS: -fsanitize=address -fno-omit-frame-pointer + run: make CC=${{ matrix.cc }} USE_DOUBLE=${{ matrix.double }} + - name: make test + env: + GWION_TEST_DIR: /home/runner/work/Gwion/Gwion/tmp_test + VALGRIND: NO_VALGRIND + USE_MEMCHECK: 0 + SEVERITY: 3 + run: mkdir tmp_test && echo $PWD && make test -- 2.43.0