CI: don't load vcan kernel modules

not needed any more
This commit is contained in:
Andrew Tridgell 2023-08-29 11:43:43 +10:00
parent c28fa15d52
commit 47eb597dd6
2 changed files with 0 additions and 17 deletions

View File

@ -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}}

View File

@ -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}}