.github: just skip the sitltest for ap_periph when using 5.4.0-1032 kernel

This commit is contained in:
bugobliterator 2020-12-17 16:58:54 +05:30 committed by Andrew Tridgell
parent 6ea2f42f8e
commit 0f54506397

View File

@ -96,6 +96,8 @@ jobs:
sudo apt-get install -y gcc-multilib g++-multilib
- name: setup can-utils
run: |
kernel_ver=`uname -r`
if [ "$kernel_ver" = "5.4.0-1032-azure" ]; 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
@ -106,5 +108,7 @@ jobs:
CI_BUILD_TARGET: ${{matrix.config}}
shell: bash
run: |
kernel_ver=`uname -r`
if [ "$kernel_ver" = "5.4.0-1032-azure" ]; then echo "Unsupported Kernel $kernel_ver" && exit 0; fi;
PATH="/github/home/.local/bin:$PATH"
Tools/scripts/build_ci.sh