anki/.github/workflows/linux_checks.yml
evandrocoan 20c9837770 Created the .github/workflows/windows.yml
# Conflicts:
#	.github/scripts/trailing-newlines.sh
#	Makefile
#	qt/tools/typecheck-setup.sh
#	react/Makefile
#	rspy/Makefile
#	svelte/Makefile
#	tslib/Makefile
2020-03-23 19:51:03 -03:00

28 lines
738 B
YAML

name: Linux Tests
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
sudo snap install ripgrep --classic
export CARGO_TARGET_DIR=~/target
export RSPY_TARGET_DIR=~/target
make check build BUILDFLAGS=""