-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The VS ecosystem is poorly documented, specially for CI use. Although the old VS CI code worked at some point, the ecosystem moved and broke it. It has been largely rewritten to work in the present day. Cross compilation testing is missing.
- Loading branch information
Showing
5 changed files
with
9 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -256,26 +256,21 @@ jobs: | |
runs-on: windows-latest | ||
strategy: | ||
matrix: | ||
cc: [clang, msvc] | ||
api: [win32, uwp] | ||
arch: [aarch64, amd64] | ||
cc: [cl, clang-cl] | ||
uwp: [true, false] | ||
steps: | ||
- uses: actions/[email protected] | ||
- run: pip install meson | ||
- run: pip install meson ninja | ||
- uses: actions/[email protected] | ||
- uses: ilammy/[email protected] | ||
with: | ||
uwp: ${{ matrix.uwp }} | ||
- 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 ` | ||
-Dtest_system=true build | ||
CC=${{ matrix.cc }} meson setup build --buildtype=release ` | ||
-Dtest_system=true | ||
meson compile -C build | ||
- name: test | ||
run: meson test --no-suite system -C build | ||
|
@@ -284,5 +279,5 @@ jobs: | |
- uses: actions/[email protected] | ||
if: always() | ||
with: | ||
name: meson-logs-vs-${{matrix.cc}}-${{matrix.api}}-${{matrix.arch}} | ||
name: meson-logs-vs-${{matrix.cc}}-${{matrix.uwp}} | ||
path: build/meson-logs |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.