From 0f545063976754bf762ca469eaec22953375bb06 Mon Sep 17 00:00:00 2001 From: bugobliterator Date: Thu, 17 Dec 2020 16:58:54 +0530 Subject: [PATCH] .github: just skip the sitltest for ap_periph when using 5.4.0-1032 kernel --- .github/workflows/test_sitl_periph.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/test_sitl_periph.yml b/.github/workflows/test_sitl_periph.yml index 3df8e25342..81abf23e42 100644 --- a/.github/workflows/test_sitl_periph.yml +++ b/.github/workflows/test_sitl_periph.yml @@ -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