utils: fix OS_MAX_PATH on macos #326
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: lint | |
on: | |
push: | |
branches: | |
- 'main' | |
- 'dev**' | |
pull_request: | |
branches: | |
- 'main' | |
env: | |
BUILD_TYPE: Release | |
CXX: clang++ | |
CC: clang | |
jobs: | |
lint: | |
name: lint | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: 'recursive' | |
- name: Setup Dependencies | |
run: sudo apt-get install libelf-dev ninja-build | |
- name: Configure | |
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DMWR_BUILD_TESTS=ON -DMWR_LINTER=clang-tidy | |
- name: Lint | |
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -j $(nproc) | |