panda/.github/workflows/drivers.yaml

24 lines
588 B
YAML
Raw Normal View History

2020-08-23 10:21:11 +08:00
name: 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 build
make install
2022-04-05 09:03:12 +08:00
- name: Print make log
if: always()
continue-on-error: true
run: cat /var/lib/dkms/panda/*/build/make.log