summaryrefslogtreecommitdiff
path: root/deps/fff/.github/workflows/verify_pr.yaml
blob: 588afacc82009fec71a2c0081fa8d1b2ebed32f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
name: Check PR

on:
  pull_request:
    branches:
      - master
  push:


jobs:
  check-pr:
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [ubuntu-latest, windows-latest, macos-latest]
    steps:
      - uses: actions/checkout@v3
      - uses: seanmiddleditch/gha-setup-ninja@master
      - name: Build
        run: |
          mkdir build
          cmake -GNinja -B build
          cmake --build build
          ctest --test-dir build --output-on-failure