From 5954ed7df92d3cde30e1e779f94055039fa10f7d Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Sat, 8 Aug 2020 17:04:26 -0700 Subject: [PATCH] Build socketcan driver in CI (#588) * build socketcan driver in CI * sudo * does this work on 20.04? --- .github/workflows/build_drivers.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/build_drivers.yaml diff --git a/.github/workflows/build_drivers.yaml b/.github/workflows/build_drivers.yaml new file mode 100644 index 000000000..eb1aa9dbd --- /dev/null +++ b/.github/workflows/build_drivers.yaml @@ -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 +