Update build-x86.yml #19
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build in x86 | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: autogen | |
run: ./autogen.sh | |
- name: configure | |
run: ./configure | |
- name: make | |
run: make | |
- name: make distcheck | |
run: make distcheck | |
- 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 | |