mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 01:08:35 +00:00
Fix(CI): Don't use PCH on nopch builds (#18627)
gha yaml makes me want to scream
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user