From 931828f8225c725903a56ab38084a6d8a4af5048 Mon Sep 17 00:00:00 2001 From: Han Gao Date: Thu, 7 Mar 2024 13:32:11 +0800 Subject: [PATCH] ci: update: use latest toolchains Signed-off-by: Han Gao --- .github/workflows/kernel.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/kernel.yml b/.github/workflows/kernel.yml index 1f9f95cc7..00fa739b9 100644 --- a/.github/workflows/kernel.yml +++ b/.github/workflows/kernel.yml @@ -8,10 +8,10 @@ on: - cron: "0 2 * * *" env: - xuantie_toolchain: https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource//1698113812618 - toolchain_file_name: Xuantie-900-gcc-linux-5.10.4-glibc-x86_64-V2.8.0-20231018.tar.gz - mainline_toolchain: https://github.com/riscv-collab/riscv-gnu-toolchain/releases/download/2023.10.18 - mainline_toolchain_file_name: riscv64-glibc-ubuntu-22.04-gcc-nightly-2023.10.18-nightly.tar.gz + xuantie_toolchain: https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource//1705395627867 + toolchain_file_name: Xuantie-900-gcc-linux-5.10.4-glibc-x86_64-V2.8.1-20240115.tar.gz + mainline_toolchain: https://github.com/riscv-collab/riscv-gnu-toolchain/releases/download/2024.03.01 + mainline_toolchain_file_name: riscv64-glibc-ubuntu-22.04-gcc-nightly-2024.03.01-nightly.tar.gz wget_alias: 'wget --retry-connrefused --waitretry=1 --read-timeout=20 --timeout=15 -t 0' ARCH: riscv board: lpi4a @@ -52,7 +52,7 @@ jobs: if [[ ${{ matrix.name }} = "thead-gcc" ]]; then ${wget_alias} ${xuantie_toolchain}/${toolchain_file_name} tar -xvf ${toolchain_file_name} -C /opt - export PATH="/opt/Xuantie-900-gcc-linux-5.10.4-glibc-x86_64-V2.8.0/bin:$PATH" + export PATH="/opt/Xuantie-900-gcc-linux-5.10.4-glibc-x86_64-V2.8.1/bin:$PATH" else ${wget_alias} ${mainline_toolchain}/${mainline_toolchain_file_name} tar -xvf ${mainline_toolchain_file_name} -C /opt @@ -82,8 +82,8 @@ jobs: popd - name: 'Upload Artifact' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: thead-kernel-${{ matrix.name }} + name: thead-kernel-${{ matrix.name }}-${{ matrix.board }} path: rootfs/* retention-days: 30