Skip to content

Commit

Permalink
Update build-x86.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
chbinousamy committed Oct 17, 2023
1 parent bde9391 commit 73692ad
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/build-x86.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,26 @@ jobs:
with:
name: can-utils-trunk.tar.gz
path: ./can-utils-trunk.tar.gz

test:
needs: build
runs-on: ubuntu-latest
steps:
- name: Download can utils artifact
uses: actions/download-artifact@v3
with:
name: can-utils-trunk.tar.gz
- run: |
tar -xzf can-utils-trunk.tar.gz
ls
- name: test vcan
run: |
sudo apt-get install -y linux-modules-extra-$(uname -r)
sudo modprobe vcan
lsmod | grep vcan
sudo ip link add dev vcan0 type vcan
sudo ip link set vcan0 mtu 16
sudo ip link set up vcan0
ifconfig vcan0
./candump vcan0 &
./cansend vcan0 5A2#11.2233.445D556677.66

0 comments on commit 73692ad

Please sign in to comment.