From: Jérémie Astor Date: Sat, 7 Dec 2019 00:05:33 +0000 (+0100) Subject: :art: Update X-Git-Tag: nightly~2061 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=5456c5dcdbacab76633b4ed06e7ece3269539834;p=gwion.git :art: Update --- diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml new file mode 100644 index 00000000..49d7ff4d --- /dev/null +++ b/.github/workflows/linux.yml @@ -0,0 +1,30 @@ + +name: Linux + +on: [push] + +jobs: + build: + name: ${{ matrix.cc }} ${{ matrix.double && 'double' || ''}} + runs-on: ubuntu-latest + strategy: + matrix: + 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 ${{ runner.temp }} + env: + VALGRIND: NO_VALGRIND + USE_MEMCHECK: 0 + SEVERITY: 3 + run: export GWION_TEST_DIR=${{ runner.tmp }}/tmp/test; mkdir $GWION_TEST_DIR && make test diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml new file mode 100644 index 00000000..5c334709 --- /dev/null +++ b/.github/workflows/macos.yml @@ -0,0 +1,30 @@ + +name: MacOS + +on: [push] + +jobs: + build: + name: ${{ matrix.cc }} ${{ matrix.double && 'double' || ''}} + runs-on: macos-latest + strategy: + matrix: + 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 ${{ runner.temp }} + env: + VALGRIND: NO_VALGRIND + USE_MEMCHECK: 0 + SEVERITY: 3 + run: export GWION_TEST_DIR=${{ runner.tmp }}/tmp/test; mkdir $GWION_TEST_DIR && make test