mirror of https://github.com/commaai/panda.git
30 lines
687 B
YAML
30 lines
687 B
YAML
name: drivers
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
|
|
jobs:
|
|
build_socketcan:
|
|
name: socketcan build
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 1
|
|
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
|
|
|
|
# FIXME: install doesn't work sometimes in GH Actions
|
|
#make install
|
|
- name: Print make log
|
|
if: always()
|
|
continue-on-error: true
|
|
run: cat /var/lib/dkms/panda/*/build/make.log
|