Skip to content

Commit

Permalink
build from source
Browse files Browse the repository at this point in the history
  • Loading branch information
pd0wm committed Mar 19, 2024
1 parent 2d5efcd commit 7377536
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ jobs:
- uses: actions/checkout@v3
- name: Setup SocketCAN
run: |
sudo apt-get -y install linux-modules-$(uname -r) linux-modules-extra-$(uname -r) can-utils
sudo apt-get -y install linux-modules-$(uname -r) linux-modules-extra-$(uname -r) can-utils build-essential linux-headers-$(uname -r)
pip install --user scapy
sudo scripts/set_up_vcan.sh
scripts/build_can_isotp.sh
scripts/set_up_vcan.sh
- name: Build
run: cargo build --verbose
- name: Run tests
Expand Down
8 changes: 8 additions & 0 deletions scripts/build_can_isotp.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env sh
set -e

cd /tmp
git clone https://github.com/hartkopp/can-isotp.git
cd can-isotp
make
sudo make modules_install

0 comments on commit 7377536

Please sign in to comment.