Skip to content

Add emscripten workflow #141

Add emscripten workflow

Add emscripten workflow #141

Workflow file for this run

name: gcc
on: pull_request
jobs:
test_cxx:
runs-on: ubuntu-latest
strategy:
matrix:
CXX_STD: [ 11, 14, 17, 20 ]
BUILD_TYPE: [ Debug, Release ]
fail-fast: false
steps:
- uses: actions/checkout@v2
- run: g++ --version
- name: Configure CMake
env:
CXX: g++
run: >
cmake -B ${{ github.workspace }}/build
-DCMAKE_BUILD_TYPE=${{ matrix.BUILD_TYPE }}
-DCMAKE_CXX_STANDARD=${{ matrix.CXX_STD }}
-DSS_TEST=ON
-DSS_TEST_MATRIX=ON
- name: Build Test
run: cmake --build ${{ github.workspace }}/build --target all -- -j 9
- name: Run Test
working-directory: ${{ github.workspace }}/build
run: ctest -C ${{ matrix.BUILD_TYPE }} --extra-verbose --output-on-failure -j9