summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorMike Delago <32778141+michaeldelago@users.noreply.github.com>2024-03-29 21:35:30 -0400
committerGitHub <noreply@github.com>2024-03-29 21:35:30 -0400
commit4bc373b37f149dac41edfbbe9a37fe9088ea34de (patch)
tree842315cdacc678cc1caf1eeb5bcf9e0add4ad133 /.github
parent73340b94e3dbcc67da8e52ea5ddea06298c2c6d4 (diff)
Fix(CI): Don't use PCH on nopch builds (#18627)
gha yaml makes me want to scream
Diffstat (limited to '.github')
-rw-r--r--.github/actions/linux-build/action.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/actions/linux-build/action.yml b/.github/actions/linux-build/action.yml
index b3edb12adc..3a8fefd775 100644
--- a/.github/actions/linux-build/action.yml
+++ b/.github/actions/linux-build/action.yml
@@ -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