Update compile_test.yml

support gz for rc
This commit is contained in:
Orlando Chamberlain
2023-02-19 15:17:58 +11:00
committed by Aditya Garg
parent abf93ad5ed
commit 6c09c8e932
+3 -1
View File
@@ -13,11 +13,13 @@ jobs:
if [ -n "$_RC" ]; then
KSRC_URL=https://git.kernel.org/torvalds/t/linux-${KVER}.tar.gz
curl $KSRC_URL | tar -xz
else
KSRC_URL=https://cdn.kernel.org/pub/linux/kernel/v${KVER//.*}.x/linux-${KVER}.tar.xz
curl $KSRC_URL | tar -xJ
fi
curl $KSRC_URL | tar -xJ
- name: Install Build Dependencies
run: |
sudo apt-get install -y build-essential fakeroot libncurses-dev bison flex libssl-dev libelf-dev \