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 f31e9bb commit bde9391
Showing 1 changed file with 3 additions and 23 deletions.
26 changes: 3 additions & 23 deletions .github/workflows/build-x86.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,28 +15,8 @@ jobs:
run: make
- name: make distcheck
run: make distcheck
- uses: actions/cache@v3
id: restore-build
- name: Archive code coverage results
uses: actions/upload-artifact@v3
with:
name: can-utils-trunk.tar.gz
path: ./can-utils-trunk.tar.gz
key: restore-build

testsetup:
runs-on: ubuntu-latest
needs: build
steps:
- if: ${{ steps.restore-build.outputs.cache-hit != 'true' }}
run: |
tar -xf can-utils-trunk.tar.gz
- name: test
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 bde9391

Please sign in to comment.