mirror of
https://github.com/ankitects/anki.git
synced 2025-09-22 16:02:23 -04:00
move wheel build test into mac CI; enable symlinks in Linux CI
This commit is contained in:
parent
7e01335536
commit
f4ec3bb84a
2 changed files with 4 additions and 5 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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/
|
||||
|
|
Loading…
Reference in a new issue