Anki/.buildkite/linux/entrypoint
Damien Elmes 1aae621549 Update dockerfile
- Bazel no longer required
- Python no longer required
- Add back the import check step that got lost at one point
2022-11-27 16:45:50 +10:00

19 lines
377 B
Bash
Executable file

#!/bin/bash
set -e
# check author has added themselves to CONTRIBUTORS
echo "--- Checking CONTRIBUTORS"
.buildkite/linux/check_contributors
echo "+++ Building and testing"
ln -sf out/node_modules .
export PATH="$PATH:/state/rust/cargo/bin"
export BUILD_ROOT=/state/build
export ONLINE_TESTS=1
./ninja pylib/anki qt/aqt check
# ensure anki/aqt importable
SKIP_RUN=1 ./run