mirror of https://github.com/ArduPilot/ardupilot
parent
c28fa15d52
commit
47eb597dd6
|
@ -56,14 +56,6 @@ jobs:
|
||||||
- name: setup ccache
|
- name: setup ccache
|
||||||
run: |
|
run: |
|
||||||
. .github/workflows/ccache.env
|
. .github/workflows/ccache.env
|
||||||
- name: Configure CAN
|
|
||||||
if: ${{ matrix.config == 'sitltest-can'}}
|
|
||||||
run: |
|
|
||||||
sudo apt-get update
|
|
||||||
sudo apt-get -y install can-utils iproute2 linux-modules-extra-$(uname -r)
|
|
||||||
sudo modprobe vcan
|
|
||||||
sudo ip link add dev vcan0 type vcan
|
|
||||||
sudo ip link set up vcan0
|
|
||||||
- name: test ${{matrix.config}} ${{ matrix.toolchain }}
|
- name: test ${{matrix.config}} ${{ matrix.toolchain }}
|
||||||
env:
|
env:
|
||||||
CI_BUILD_TARGET: ${{matrix.config}}
|
CI_BUILD_TARGET: ${{matrix.config}}
|
||||||
|
|
|
@ -230,15 +230,6 @@ jobs:
|
||||||
- name: setup ccache
|
- name: setup ccache
|
||||||
run: |
|
run: |
|
||||||
. .github/workflows/ccache.env
|
. .github/workflows/ccache.env
|
||||||
- name: setup can-utils
|
|
||||||
run: |
|
|
||||||
kernel_ver=`uname -r`
|
|
||||||
if [ "$kernel_ver" = "5.4.0-1032-azure" ] || [ "$kernel_ver" = "5.11.4-051104-generic" ]; then echo "Unsupported Kernel $kernel_ver" && exit 0; fi;
|
|
||||||
sudo apt-get update
|
|
||||||
sudo apt-get -y install can-utils iproute2 linux-modules-extra-$(uname -r)
|
|
||||||
sudo modprobe vcan
|
|
||||||
sudo ip link add dev vcan0 type vcan
|
|
||||||
sudo ip link set up vcan0
|
|
||||||
- name: test ${{matrix.config}}
|
- name: test ${{matrix.config}}
|
||||||
env:
|
env:
|
||||||
CI_BUILD_TARGET: ${{matrix.config}}
|
CI_BUILD_TARGET: ${{matrix.config}}
|
||||||
|
|
Loading…
Reference in New Issue