Add cmake_minimum_required to test_iss36 CMakeLists.txt #128
This file contains hidden or 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: test macos latest | |
| on: [push] | |
| jobs: | |
| build: | |
| runs-on: [macos-latest] | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Add llvm utils clang-format and clang-tidy to path | |
| run: echo "$(brew --prefix llvm)/bin" >> $GITHUB_PATH | |
| - name: Configure macOS SDK for clang-tidy | |
| run: | | |
| echo "SDKROOT=$(xcrun --show-sdk-path)" >> $GITHUB_ENV | |
| - name: Install 5 hooks, python3, llvm already includes clang-tidy, clang-format | |
| run: brew install uncrustify cppcheck oclint iwyu | |
| - name: Fix OCLint dylib paths | |
| run: .github/scripts/fix-oclint-macos.sh | |
| - name: Install pip dependencies | |
| run: pip3 install --break-system-packages cpplint pytest pre-commit | |
| - name: Install hooks locally | |
| run: pip3 install --break-system-packages . | |
| - name: Get command versions | |
| run: | | |
| clang-format --version | |
| clang-tidy --version | |
| cppcheck --version | |
| cpplint --version | |
| include-what-you-use --version | |
| oclint --version | |
| - name: Get python library versions | |
| run: | | |
| pytest --version | |
| pre-commit --version | |
| - name: Run tests | |
| run: python3 -m pytest -x -vvv |