Add Windows/MinGW to CI for the new backend in order to test Fastcall.

This commit is contained in:
Chris Fallin
2021-03-03 20:24:25 -08:00
parent cc84c693a3
commit 05688aa8f4
2 changed files with 44 additions and 1 deletions

View File

@@ -5,6 +5,16 @@
# and become the default, we can remove this.
CARGO_VERSION=${CARGO_VERSION:-"+nightly"}
# Some WASI tests seem to have an issue on Windows with symlinks if we run them
# with this particular invocation. It's unclear why (nightly toolchain?) but
# we're moving to the new backend by default soon enough, and all tests seem to
# work with the main test setup, so let's just work around this by skipping
# the tests for now.
MINGW_EXTRA=""
if [ `uname -o` == "Msys" ]; then
MINGW_EXTRA="-- --skip wasi_cap_std_sync"
fi
cargo $CARGO_VERSION \
--locked \
-Zfeatures=all -Zpackage-features \
@@ -23,4 +33,4 @@ cargo $CARGO_VERSION \
--exclude peepmatic-test \
--exclude peepmatic-souper \
--exclude lightbeam \
$@
$MINGW_EXTRA