[project] Add project clangtidy #348
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: premake5-mac-xcode4 | |
| on: | |
| workflow_dispatch: | |
| push: | |
| paths: | |
| - 'projects/**' | |
| - '.github/workflows/premake5-mac-xcode4.yml' | |
| - '.github/actions/install-premake5/action.yml' | |
| - '!**/*.md' | |
| - '!projects/**/unsupported_by_*' | |
| - '!**/premake4.lua' | |
| - 'projects/**/unsupported_by_xcode4' | |
| - 'projects/**/unsupported_by_premake5_xcode4' | |
| pull_request: | |
| paths: | |
| - 'projects/**' | |
| - '.github/workflows/premake5-mac-xcode4.yml' | |
| - '.github/actions/install-premake5/action.yml' | |
| - '!**/*.md' | |
| - '!projects/**/unsupported_by_*' | |
| - '!**/premake4.lua' | |
| - 'projects/**/unsupported_by_xcode4' | |
| - 'projects/**/unsupported_by_premake5_xcode4' | |
| jobs: | |
| mac: | |
| runs-on: macos-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| submodules: recursive | |
| - name: install premake5 | |
| uses: ./.github/actions/install-premake5 | |
| with: | |
| repository: premake/premake-core | |
| - name: test projects default(clang) | |
| run: python3 ./test_projects.py premake5 projects xcode4 | |
| - name: test projects gcc | |
| run: python3 ./test_projects.py premake5 projects xcode4 --cc=gcc | |
| - name: test projects clang | |
| run: python3 ./test_projects.py premake5 projects xcode4 --cc=clang |