add aww-date support for common commandline flags #348
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: | |
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 }} |