Skip to content

Expose player_eye_position and player_view_direction #515

Expose player_eye_position and player_view_direction

Expose player_eye_position and player_view_direction #515

Workflow file for this run

name: cpp_lint
# lint on c/cpp changes or workflow changes
on:
push:
branches:
- master
paths:
- 'lib/**.[ch]'
- 'lib/**.cpp'
- 'src/**.[ch]'
- 'src/**.cpp'
- 'irr/**.[ch]'
- 'irr/**.cpp'
- '**/CMakeLists.txt'
- 'cmake/Modules/**'
- 'util/ci/**'
- '.github/workflows/**.yml'
pull_request:
paths:
- 'lib/**.[ch]'
- 'lib/**.cpp'
- 'src/**.[ch]'
- 'src/**.cpp'
- 'irr/**.[ch]'
- 'irr/**.cpp'
- '**/CMakeLists.txt'
- 'cmake/Modules/**'
- 'util/ci/**'
- '.github/workflows/**.yml'
env:
CLANG_TIDY: clang-tidy-15
jobs:
clang_tidy:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Install deps
run: |
source ./util/ci/common.sh
install_linux_deps $CLANG_TIDY
- uses: prefix-dev/[email protected]
with:
manifest-path: pixi.toml
cache: true
cache-write: ${{ github.event_name == 'push' && github.ref_name == 'master' }}
- name: Run clang-tidy
shell: pixi run -- bash -e {0}
run: ./util/ci/clang-tidy.sh