mirror of
https://github.com/boostorg/histogram.git
synced 2026-01-19 04:12:12 +00:00
48 lines
936 B
YAML
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
|