mirror of https://github.com/commaai/panda.git
Build socketcan driver in CI (#588)
* build socketcan driver in CI * sudo * does this work on 20.04?
This commit is contained in:
parent
3a8430b9d5
commit
5954ed7df9
|
@ -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
|
||||
|
Loading…
Reference in New Issue