Skip to content

Commit

Permalink
try not overriding compiler on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
guijan committed Dec 27, 2024
1 parent 69e9eab commit 49c4140
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -256,27 +256,21 @@ jobs:
runs-on: windows-latest
strategy:
matrix:
cc: [clang, msvc]
api: [win32, uwp]
arch: [aarch64, amd64]
steps:
- uses: actions/[email protected]
- run: pip install meson
- uses: actions/[email protected]
- name: build
run: |
if ("${{matrix.api}}" -eq "uwp") {
$uwp = "--cross-file=.github/workflows/meson-vs-uwp.txt"
}
if ("${{matrix.arch}}" -eq "aarch64") {
$arm = "--cross-file=.github/workflows/meson-vs-aarch64.txt"
}
# Don't do debug builds because that triggers a Windows bug:
# https://developercommunity.visualstudio.com/t/_setmaxstdio-hangs-the-program-if-the/10164855?space=62&q=setmaxstdio&viewtype=all
meson setup $uwp $arm $build $asan --buildtype=release --backend=vs `
--cross-file .github/workflows/meson-vs-${{matrix.cc}}.txt `
meson setup $arm -v --buildtype=release --backend=vs `
-Dtest_system=true build
meson compile -C build
meson compile -vC build
- name: test
run: meson test --no-suite system -C build
- name: test_system
Expand Down

0 comments on commit 49c4140

Please sign in to comment.