From 83bbc39c1582077cb5385536a04b7bf8bbffbf26 Mon Sep 17 00:00:00 2001 From: Jakub Konka Date: Fri, 9 Feb 2024 13:17:35 +0100 Subject: [PATCH] ci: enable testing of non-llvm bootstrapping on x86_64-macos --- ci/x86_64-macos-release.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ci/x86_64-macos-release.sh b/ci/x86_64-macos-release.sh index 5bc031425a..ecd6d66886 100755 --- a/ci/x86_64-macos-release.sh +++ b/ci/x86_64-macos-release.sh @@ -25,6 +25,15 @@ cd $ZIGDIR git fetch --unshallow || true git fetch --tags +# Test building from source without LLVM. +git clean -fd +rm -rf zig-out +cc -o bootstrap bootstrap.c +./bootstrap +./zig2 build -Dno-lib +# In order to run these behavior tests we need to move the `@cImport` ones to somewhere else. +# ./zig-out/bin/zig test test/behavior.zig + rm -rf build mkdir build cd build