Fix(CI): Don't use PCH on nopch builds (#18627)
gha yaml makes me want to scream
This commit is contained in:
parent
73340b94e3
commit
4bc373b37f
1 changed files with 2 additions and 2 deletions
4
.github/actions/linux-build/action.yml
vendored
4
.github/actions/linux-build/action.yml
vendored
|
|
@ -100,8 +100,8 @@ runs:
|
|||
-DCMAKE_CXX_COMPILER_LAUNCHER="ccache" \
|
||||
-DCMAKE_C_COMPILER_LAUNCHER="ccache" \
|
||||
-DBUILD_TESTING="ON" \
|
||||
-DUSE_SCRIPTPCH=${{ inputs.pch && 'ON' || '' }} \
|
||||
-DUSE_COREPCH=${{ inputs.pch && 'ON' || '' }} \
|
||||
-DUSE_SCRIPTPCH=${{ inputs.pch == 'true' && 'ON' || '' }} \
|
||||
-DUSE_COREPCH=${{ inputs.pch == 'true' && 'ON' || '' }} \
|
||||
${{ !inputs.pch && '-DNOPCH=true' || '' }}
|
||||
|
||||
- name: build
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue