ci: test building in release mode #13794
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: drivers | |
on: [push, 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 |