Files
histogram/.github/workflows/fast.yml
2025-06-12 21:19:03 +02:00

48 lines
936 B
YAML

name: Fast tests (cmake)
on:
pull_request:
branches:
- master
- develop
paths-ignore:
- '.github/workflows/cov.yml'
- '.github/workflows/doc.yml'
- '.github/workflows/slow.yml'
- 'doc/**'
- 'examples/**'
- 'tools/**'
- '*.md'
push:
branches:
- master
- develop
paths-ignore:
- 'doc/**'
- 'examples/**'
- 'tools/**'
- '*.md'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
jobs:
cmake:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
fail-fast: true
steps:
- uses: actions/checkout@v4
- name: prepare build
run: |
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Debug ..
- name: test
run: |
cd build
cmake --build . --target check -j3