2019-12-22 03:15:18 +01:00
|
|
|
name: Checks
|
|
|
|
|
2019-12-22 09:39:14 +01:00
|
|
|
on: [push, pull_request]
|
2019-12-22 03:15:18 +01:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2020-01-02 10:43:19 +01:00
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Set up python
|
2019-12-22 03:15:18 +01:00
|
|
|
uses: actions/setup-python@v1
|
|
|
|
with:
|
2020-01-07 09:34:36 +01:00
|
|
|
python-version: '3.7
|
2020-01-02 10:43:19 +01:00
|
|
|
- name: Set up protoc
|
|
|
|
uses: Arduino/actions/setup-protoc@master
|
|
|
|
- name: Set up node
|
2019-12-22 03:15:18 +01:00
|
|
|
uses: actions/setup-node@v1
|
|
|
|
with:
|
|
|
|
node-version: 12
|
2019-12-22 10:53:05 +01:00
|
|
|
- name: Run checks
|
2019-12-22 03:15:18 +01:00
|
|
|
run: |
|
2020-01-02 10:43:19 +01:00
|
|
|
# add requirements
|
2020-01-03 07:37:43 +01:00
|
|
|
sudo apt install portaudio19-dev gettext rename
|
2020-01-04 00:38:04 +01:00
|
|
|
make check build BUILDFLAGS=""
|