Skip to content

Switch to std::ranges #968

Switch to std::ranges

Switch to std::ranges #968

Workflow file for this run

name: style
on:
push:
branches: [master]
pull_request:
branches: [master]
defaults:
run:
shell: bash
env:
BUILD_TYPE: Release
jobs:
check-style:
name: Check Style
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Configure CMake
working-directory: ${{github.workspace}}
run: cmake -Bbuild -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -Dfintamath_enable_clangformat=ON
env:
CC: gcc
CXX: g++
- name: Run clang-format
working-directory: ${{github.workspace}}
run: cmake --build build --target clangformat_check