Skip to content

update Sat 11/16/2024 #366

update Sat 11/16/2024

update Sat 11/16/2024 #366

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
build-and-test:
name: ${{ matrix.toolchain }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
toolchain:
- linux-gcc
- windows-msvc
configuration:
- Debug
include:
- toolchain: linux-gcc
os: ubuntu-latest
compiler: gcc
- toolchain: windows-msvc
os: windows-latest
compiler: msvc
steps:
- name: Install dependencies UBUNTU
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get update && sudo apt-get install -y build-essential #webview: libgtk-3-dev libwebkit2gtk-4.0-dev xvfb
- name: Checkout Code
uses: actions/checkout@v2
- name: Configure ubuntu-latest
if: matrix.os == 'ubuntu-latest'
run: cmake -S . -Bbuild -DCMAKE_BUILD_TYPE=${{ matrix.configuration }}
- name: Configure windows-latest
if: matrix.os == 'windows-latest'
run: cmake -S . -Bbuild -DCMAKE_BUILD_TYPE=${{ matrix.configuration }}
- name: Build with ${{ matrix.compiler }}
run: cmake --build build
- name: Test
working-directory: build
env:
CTEST_OUTPUT_ON_FAILURE: 1
run: ctest -C ${{ matrix.configuration }}