mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
ci(clang-tidy): disable pch
This would previously make most of our files error out with `error: __OPTIMIZE__ predefined macro was enabled in PCH file but is currently disabled` Signed-off-by: Seth Flynn <getchoo@tuta.io>
This commit is contained in:
parent
33056c913d
commit
067a992378
1 changed files with 2 additions and 1 deletions
3
.github/workflows/clang-tidy.yml
vendored
3
.github/workflows/clang-tidy.yml
vendored
|
|
@ -37,9 +37,10 @@ jobs:
|
|||
uses: cachix/install-nix-action@v31
|
||||
|
||||
- name: Run build
|
||||
# TODO(@getchoo): Figure out how to make this work with PCH
|
||||
run: |
|
||||
nix develop --command bash -c '
|
||||
cmake -B build -D CMAKE_CXX_COMPILER_LAUNCHER=sccache && cmake --build build
|
||||
cmake -B build -D Launcher_USE_PCH=OFF -D CMAKE_CXX_COMPILER_LAUNCHER=sccache && cmake --build build
|
||||
'
|
||||
|
||||
# TODO: Use SARIF after https://github.com/psastras/sarif-rs/issues/638 is fixed
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue