Bump @babel/traverse from 7.15.4 to 7.23.9 in /devices/wasm/web #122
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
cmake-args: | |
- -DCMAKE_BUILD_TYPE=Debug -DSINTER_DEBUG_LOGLEVEL=2 -DSINTER_DEBUG_MEMORY_CHECK=1 -DSINTER_COVERAGE=1 | |
- -DCMAKE_BUILD_TYPE=Debug -DSINTER_DEBUG_LOGLEVEL=2 -DSINTER_DEBUG_MEMORY_CHECK=1 | |
- -DCMAKE_BUILD_TYPE=Debug -DSINTER_DEBUG_LOGLEVEL=2 -DSINTER_DEBUG_MEMORY_CHECK=1 -DSINTER_TEST_SHORT_DOUBLE=1 | |
- -DCMAKE_C_COMPILER=clang -DCMAKE_BUILD_TYPE=Debug -DSINTER_DEBUG_LOGLEVEL=2 -DSINTER_DEBUG_MEMORY_CHECK=1 | |
- -DCMAKE_C_COMPILER=clang -DCMAKE_BUILD_TYPE=Debug -DSINTER_DEBUG_LOGLEVEL=2 -DSINTER_DEBUG_MEMORY_CHECK=1 -DSINTER_TEST_SHORT_DOUBLE=1 | |
- -DCMAKE_BUILD_TYPE=Release | |
- -DCMAKE_BUILD_TYPE=Release -DSINTER_TEST_SHORT_DOUBLE=1 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: install cpp-coveralls | |
run: pip install --user cpp-coveralls | |
if: github.event_name != 'pull_request' && contains(matrix.cmake-args, 'coverage') | |
- name: mkdir | |
run: mkdir build | |
- name: cmake | |
working-directory: build | |
run: cmake .. ${{ matrix.cmake-args }} | |
- name: make | |
working-directory: build | |
run: make -j4 | |
- name: test | |
working-directory: build | |
run: make CTEST_PARALLEL_LEVEL=$(nproc) CTEST_OUTPUT_ON_FAILURE=1 test | |
- name: coverage | |
working-directory: build | |
env: | |
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
TRAVIS_JOB_ID: ${{ github.run_id }} | |
run: ~/.local/bin/cpp-coveralls -r .. --include vm --include runner --gcov-options '\-lp' -y ../.coveralls.yml | |
if: github.event_name != 'pull_request' && contains(matrix.cmake-args, 'coverage') | |
check-headers: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: check if headers work in C++ | |
working-directory: vm/include | |
run: g++ -std=c++11 -fsyntax-only sinter/*.h sinter.h -I. -Wall -Wextra -pedantic |