- master
paths: ['.github/workflows/**', '**/CMakeLists.txt', '**/Makefile', '**/*.h', '**/*.c', '**/*.cpp']
pull_request:
- types: [opened, synchronize, edited, reopened, review_requested, ready_for_review]
+ types: [opened, synchronize, reopened]
paths: ['**/CMakeLists.txt', '**/Makefile', '**/*.h', '**/*.c', '**/*.cpp']
env:
jobs:
ubuntu-latest-make:
- if: github.event.pull_request.draft == false
-
runs-on: ubuntu-latest
steps:
make
ubuntu-latest-cmake:
- if: github.event.pull_request.draft == false
-
runs-on: ubuntu-latest
steps:
ctest --verbose
ubuntu-latest-cmake-sanitizer:
- if: github.event.pull_request.draft == false
-
runs-on: ubuntu-latest
continue-on-error: true
ctest --verbose
macOS-latest-make:
- if: github.event.pull_request.draft == false
-
runs-on: macos-latest
steps:
make
macOS-latest-cmake:
- if: github.event.pull_request.draft == false
-
runs-on: macOS-latest
steps:
ctest --verbose
windows-latest-cmake:
- if: github.event.pull_request.draft == false
-
runs-on: windows-latest
strategy: