Add Event2 stop handling test. #395
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: [main] | |
paths-ignore: | |
- "docs/**" | |
- "**/README.md" | |
pull_request: | |
branches: [main] | |
paths-ignore: | |
- "docs/**" | |
- "**/README.md" | |
jobs: | |
macos-build: | |
name: macOS Build | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Setup Ninja | |
run: | | |
brew install ninja cairo pango | |
- name: Build | |
run: | | |
cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -S. -Bbuild -G Ninja | |
cmake --build build --config Debug --target all | |
- name: Test | |
working-directory: build | |
run: | | |
ctest -C Debug -T test --output-on-failure | |
windows-build: | |
name: Windows Build | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Setup Ninja | |
run: | | |
choco install ninja | |
- name: Build | |
run: | | |
. tools/Use-VC.ps1 | |
Use-VC | |
cmake -DCMAKE_BUILD_TYPE=Debug -S. -Bbuild -G Ninja | |
cmake --build build --config Debug --target all | |
- name: Test | |
working-directory: build | |
run: | | |
ctest -C Debug -T test --output-on-failure |