Fix(CI): Don't use PCH on nopch builds (#18627)

gha yaml makes me want to scream
This commit is contained in:
Mike Delago
2024-03-29 21:35:30 -04:00
committed by GitHub
parent 73340b94e3
commit 4bc373b37f

View File

@@ -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