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