Skip to content

chore: 警告を増やし、警告発生時にエラーになるように変更 #565

chore: 警告を増やし、警告発生時にエラーになるように変更

chore: 警告を増やし、警告発生時にエラーになるように変更 #565

Workflow file for this run

name: Testing With CMake and CTest
on:
push:
branches:
- "main"
paths:
- "**/CMakeLists.txt"
- "**.h"
- "**.cpp"
- "**/cmake-test.yml"
- "!platform/**"
pull_request:
paths:
- "**/CMakeLists.txt"
- "**.h"
- "**.cpp"
- "**/cmake-test.yml"
- "!platform/**"
workflow_dispatch:
jobs:
build-and-test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v3
- name: Build
run: |
cmake -S . -B build
cmake --build build
- name: Test
run: |
cd build
ctest --output-on-failure --verbose