move wheel build test into mac CI; enable symlinks in Linux CI

This commit is contained in:
Damien Elmes 2022-01-23 18:47:39 +10:00
parent 7e01335536
commit f4ec3bb84a
2 changed files with 4 additions and 5 deletions

View file

@ -7,7 +7,7 @@ echo "--- Checking CONTRIBUTORS"
.buildkite/linux/check_contributors
BAZEL="bazel --output_user_root=/state/bazel --output_base=/state/bazel/anki"
BUILDARGS="--config=ci --experimental_convenience_symlinks=ignore --disk_cache=/state/bazel/disk --repository_cache=/state/bazel/repo"
BUILDARGS="--config=ci --disk_cache=/state/bazel/disk --repository_cache=/state/bazel/repo"
echo "+++ Building and testing"
@ -16,9 +16,6 @@ test -e /state/node_modules && mv /state/node_modules .
$BAZEL test $BUILDARGS ... //rslib/linkchecker
echo "--- Building wheels"
$BAZEL build dist
echo "--- Running lints"
python scripts/copyright_headers.py

View file

@ -14,6 +14,8 @@ test -e $STATE/node_modules && mv $STATE/node_modules .
$BAZEL test $BUILDARGS ...
echo "--- Cleanup"
echo "--- Building wheels"
$BAZEL build dist
# if tests succeed, back up node_modules folder
mv node_modules $STATE/