Build socketcan driver in CI (#588)

* build socketcan driver in CI

* sudo

* does this work on 20.04?
master
Adeeb Shihadeh 2020-08-08 17:04:26 -07:00 committed by GitHub
parent 3a8430b9d5
commit 5954ed7df9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,20 @@
name: panda drivers
on: [push, pull_request]
jobs:
build_socketcan:
name: socketcan build
runs-on: ubuntu-20.04
timeout-minutes: 5
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
sudo apt-get install -y dkms gcc linux-headers-$(uname -r) make
- name: Build socketcan driver
run: |
cd drivers/linux
make link
make all
make install