ci: macos: unset ZIG_LIBC before testing
otherwise cross compiling gets incorrectly affected by the environment variable.master
parent
540364e6c1
commit
477798b37e
|
@ -40,10 +40,11 @@ cmake .. \
|
||||||
-DZIG_EXECUTABLE="$ZIG" \
|
-DZIG_EXECUTABLE="$ZIG" \
|
||||||
-DZIG_STATIC=ON
|
-DZIG_STATIC=ON
|
||||||
|
|
||||||
# TODO unsetting this before `make install` is a workaround for Zig crashing
|
# Now cmake will use zig as the C/C++ compiler. We reset the environment variables
|
||||||
# with "unable to exec C compiler".
|
# so that installation and testing do not get affected by them.
|
||||||
unset CC
|
unset CC
|
||||||
unset CXX
|
unset CXX
|
||||||
|
unset ZIG_LIBC
|
||||||
|
|
||||||
make $JOBS install
|
make $JOBS install
|
||||||
release/bin/zig build test
|
release/bin/zig build test
|
||||||
|
|
Loading…
Reference in New Issue