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-02 10:43:19 +01:00
|
|
|
python-version: '3.6'
|
|
|
|
- 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-02 11:52:12 +01:00
|
|
|
sudo apt install portaudio19-dev gettext
|
2020-01-02 10:43:19 +01:00
|
|
|
export UNOPT=1
|
|
|
|
./check
|
|
|
|
./bundle
|