Skip to content

Commit ae37a3c

Browse files
committed
CI: select ucrt64 compiler
MSYS gcc (/usr/bin/gcc) is not the native Windows compiler. Select the UCRT64 compiler explicitly. Without this, the header guards in endian.h and types.h do not work. Signed-off-by: Daniel Wagner <[email protected]>
1 parent ce7409d commit ae37a3c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,11 +253,11 @@ jobs:
253253
which git
254254
git --version
255255
git config --global --add safe.directory "$GITHUB_WORKSPACE"
256-
scripts/build.sh -b release -c gcc
256+
scripts/build.sh -b release -c /ucrt64/bin/gcc
257257
258258
- uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
259259
if: failure()
260260
with:
261261
name: windows-msys2-ucrt64-logs
262262
path: |
263-
.build-ci/meson-logs/*.txt
263+
.build-ci/meson-logs/*.txt

0 commit comments

Comments
 (0)