Skip to content

Testing2

Testing2 #691

Workflow file for this run

name: Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ${{matrix.os-type}}
strategy:
matrix:
os-type: [ubuntu-latest]
configuration: [Release]
steps:
- uses: actions/checkout@v2
- name: Install
run: |
sudo apt update
sudo apt install gcc-13 g++-13
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-13 100 --slave /usr/bin/g++ g++ /usr/bin/g++-13 --slave /usr/bin/gcov gcov /usr/bin/gcov-13
sudo update-alternatives --set gcc /usr/bin/gcc-13
- name: Configure
working-directory: ${{github.workspace}}/src/wasm
run: cmake -B ${{github.workspace}}/src/wasm/Build -DCMAKE_BUILD_TYPE=${{matrix.configuration}}
- name: Build
working-directory: ${{github.workspace}}/src/wasm
run: cmake --build ${{github.workspace}}/src/wasm/Build --config ${{matrix.configuration}}
- name: Test
working-directory: ${{github.workspace}}/src/wasm/Build
run: ctest -VV -C ${{matrix.configuration}} -L web-ifc