mirror of
https://gitcode.com/GitHub_Trending/az/azerothcore-wotlk.git
synced 2026-07-11 03:13:10 +00:00
Fix(CI): Don't use PCH on nopch builds (#18627)
gha yaml makes me want to scream
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user