anki/.github/workflows/checks.yml
2020-03-24 15:50:40 +10:00

28 lines
727 B
YAML

name: Checks
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up python
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Set up protoc
uses: ankitects/setup-protoc@master
- name: Set up node
uses: actions/setup-node@v1
with:
node-version: 12
- name: Run checks
run: |
# add requirements
sudo apt update; sudo apt install portaudio19-dev gettext rename
sudo snap install ripgrep --classic
export CARGO_TARGET_DIR=~/target
export RSPY_TARGET_DIR=~/target
make check build BUILDFLAGS=""