Skip to content

Commit a661e90

Browse files
committed
ci: mod_compatibility_check: Show compiler warnings with Windhawk 2.0 alpha 1
1 parent e0125a0 commit a661e90

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

.github/workflows/mod_compatibility_check.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,14 +89,16 @@ jobs:
8989
-oarm64 "${{ runner.temp }}\mod_arm64.dll"
9090
else
9191
# Compile via the CLI (--disabled builds the mod without activating
92-
# it). Two passes: with WINDHAWK_ARM64_ENABLED=1 the CLI drops the
93-
# x86-64 build for a mod whose targets are all common system
94-
# processes, so the first pass (arm64 off) covers x86/x86-64 and the
95-
# second (arm64 on) covers arm64.
92+
# it). WINDHAWK_LOG_COMPILER_WARNINGS=1 surfaces clang warnings,
93+
# which the CLI hides on a successful compile by default. Two passes:
94+
# with WINDHAWK_ARM64_ENABLED=1 the CLI drops the x86-64 build for a
95+
# mod whose targets are all common system processes, so the first
96+
# pass (arm64 off) covers x86/x86-64 and the second (arm64 on) covers
97+
# arm64.
9698
cli="$windhawk_path\windhawk-cli.exe"
97-
MSYS_NO_PATHCONV=1 "$cli" --app-root "$windhawk_path" \
99+
MSYS_NO_PATHCONV=1 WINDHAWK_LOG_COMPILER_WARNINGS=1 "$cli" --app-root "$windhawk_path" \
98100
mod install --disabled --file "$ALL_CHANGED_AND_MODIFIED_FILES"
99-
MSYS_NO_PATHCONV=1 WINDHAWK_ARM64_ENABLED=1 "$cli" --app-root "$windhawk_path" \
101+
MSYS_NO_PATHCONV=1 WINDHAWK_ARM64_ENABLED=1 WINDHAWK_LOG_COMPILER_WARNINGS=1 "$cli" --app-root "$windhawk_path" \
100102
mod install --disabled --file "$ALL_CHANGED_AND_MODIFIED_FILES"
101103
fi
102104
fi

0 commit comments

Comments
 (0)