Skip to content

Update vendored vector-of-bool/cmrc to 952ffdd #415

Update vendored vector-of-bool/cmrc to 952ffdd

Update vendored vector-of-bool/cmrc to 952ffdd #415

Workflow file for this run

# Lint the project using cpplint
name: Lint
on:
push:
branches:
- '**'
paths:
- "**"
- "!.github/**"
- ".github/workflows/Lint.yml"
pull_request:
defaults:
run:
shell: bash
jobs:
cpplint:
runs-on: ${{ matrix.cudacxx.os }}
name: "cpplint (${{ matrix.cudacxx.cuda }}, ${{ matrix.cudacxx.os }})"
strategy:
fail-fast: false
# Multiplicative build matrix
# optional exclude: can be partial, include: must be specific
matrix:
cudacxx:
- cuda: "11.0"
os: ubuntu-20.04
env:
# Define constants
BUILD_DIR: "build"
BUILD_TESTS: "ON"
# Port matrix options to environment, for more portability.
CUDA: ${{ matrix.cudacxx.cuda }}
OS: ${{ matrix.cudacxx.os }}
steps:
- uses: actions/checkout@v3
- name: Install cpplint
run: |
python3 -m pip install cpplint
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Add custom problem matchers for annotations
run: echo "::add-matcher::.github/problem-matchers.json"
- name: Configure cmake
run: >
cmake . -B "${{ env.BUILD_DIR }}"
-DFLAMEGPU_ALLOW_LINT_ONLY=ON
- name: Lint
working-directory: ${{ env.BUILD_DIR }}
run: cmake --build . --target all_lint --verbose -j `nproc`