anki/.github/workflows/checks.yml

28 lines
733 B
YAML
Raw Normal View History

name: Checks
2019-12-22 09:39:14 +01:00
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:
2020-01-07 09:44:44 +01:00
python-version: 3.7
- name: Set up protoc
uses: Arduino/actions/setup-protoc@master
- name: Set up node
uses: actions/setup-node@v1
with:
node-version: 12
2019-12-22 10:53:05 +01:00
- name: Run checks
run: |
# add requirements
2020-03-09 10:09:13 +01:00
sudo apt update; sudo apt install portaudio19-dev gettext rename
2020-03-09 10:25:03 +01:00
sudo snap install ripgrep --classic
2020-02-24 12:23:51 +01:00
export CARGO_TARGET_DIR=~/target
export RSPY_TARGET_DIR=~/target
2020-01-04 00:38:04 +01:00
make check build BUILDFLAGS=""