27 lines
687 B
YAML
27 lines
687 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: Arduino/actions/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
|
|
export CARGO_TARGET_DIR=~/target
|
|
export RSPY_TARGET_DIR=~/target
|
|
make check build BUILDFLAGS=""
|