CI: disable most stuff temporarily for testing

This commit is contained in:
Andrew Kelley
2023-09-14 18:16:58 -07:00
parent 27edf60651
commit ca71aeb569
+31 -31
View File
@@ -50,29 +50,29 @@ unset CXX
ninja install
# TODO: move this to a build.zig step (check-fmt)
echo "Looking for non-conforming code formatting..."
stage3-release/bin/zig fmt --check .. \
--exclude ../test/cases/ \
--exclude ../build-release
# simultaneously test building self-hosted without LLVM and with 32-bit arm
stage3-release/bin/zig build \
-Dtarget=arm-linux-musleabihf \
-Dno-lib
# TODO: add -fqemu back to this line
stage3-release/bin/zig build test docs \
--maxrss 24696061952 \
-fwasmtime \
-Dstatic-llvm \
-Dtarget=native-native-musl \
--search-prefix "$PREFIX" \
--zig-lib-dir "$(pwd)/../lib"
# Look for HTML errors.
# TODO: move this to a build.zig flag (-Denable-tidy)
tidy --drop-empty-elements no -qe "../zig-out/doc/langref.html"
## TODO: move this to a build.zig step (check-fmt)
#echo "Looking for non-conforming code formatting..."
#stage3-release/bin/zig fmt --check .. \
# --exclude ../test/cases/ \
# --exclude ../build-release
#
## simultaneously test building self-hosted without LLVM and with 32-bit arm
#stage3-release/bin/zig build \
# -Dtarget=arm-linux-musleabihf \
# -Dno-lib
#
## TODO: add -fqemu back to this line
#stage3-release/bin/zig build test docs \
# --maxrss 24696061952 \
# -fwasmtime \
# -Dstatic-llvm \
# -Dtarget=native-native-musl \
# --search-prefix "$PREFIX" \
# --zig-lib-dir "$(pwd)/../lib"
#
## Look for HTML errors.
## TODO: move this to a build.zig flag (-Denable-tidy)
#tidy --drop-empty-elements no -qe "../zig-out/doc/langref.html"
# Ensure that updating the wasm binary from this commit will result in a viable build.
stage3-release/bin/zig build update-zig1
@@ -98,14 +98,14 @@ unset CXX
ninja install
stage3/bin/zig test ../test/behavior.zig -I../test
stage3/bin/zig build -p stage4 \
-Dstatic-llvm \
-Dtarget=native-native-musl \
-Dno-lib \
--search-prefix "$PREFIX" \
--zig-lib-dir "$(pwd)/../lib"
stage4/bin/zig test ../test/behavior.zig -I../test
#stage3/bin/zig test ../test/behavior.zig -I../test
#stage3/bin/zig build -p stage4 \
# -Dstatic-llvm \
# -Dtarget=native-native-musl \
# -Dno-lib \
# --search-prefix "$PREFIX" \
# --zig-lib-dir "$(pwd)/../lib"
#stage4/bin/zig test ../test/behavior.zig -I../test
# After all correctness checking, compare performance against the merge-base.
cd ..