From 90f6fb009ce4af2f8d7d2a912729967e5bae1392 Mon Sep 17 00:00:00 2001 From: Shiji Yang Date: Wed, 17 May 2023 07:42:26 +0800 Subject: [PATCH] ci: use gcc 12.3.0 and Ubuntu latest Signed-off-by: Shiji Yang --- .github/workflows/custom.yml | 4 ++-- customize.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/custom.yml b/.github/workflows/custom.yml index 43464fac43..b32b6864eb 100644 --- a/.github/workflows/custom.yml +++ b/.github/workflows/custom.yml @@ -76,7 +76,7 @@ on: jobs: build: name: Build MT7621 u-boot - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest strategy: fail-fast: False @@ -96,7 +96,7 @@ jobs: - name: Download OpenWrt toolchain run: | - wget -O - https://github.com/DragonBluep/uboot-mt7621/releases/download/20221120/openwrt-sdk-19.07.10-ramips-mt7621_gcc-7.5.0_musl.Linux-x86_64.tar.xz \ + wget -O - https://github.com/DragonBluep/uboot-mt7621/releases/download/20230517/openwrt-toolchain-ramips-mt7621_gcc-12.3.0_musl.Linux-x86_64.tar.xz \ | tar --xz -xf - - name: Set old DDR timing parameters diff --git a/customize.sh b/customize.sh index 7e2b6565f2..0f0ff5e832 100755 --- a/customize.sh +++ b/customize.sh @@ -1,7 +1,7 @@ #!/bin/bash # toolchain path -Toolchain=$(cd ../openwrt*/staging_dir/toolchain-mipsel*/bin; pwd)'/mipsel-openwrt-linux-' +Toolchain=$(cd ../openwrt*/toolchain-mipsel*/bin; pwd)'/mipsel-openwrt-linux-' Staging=${Toolchain%/toolchain-*} echo "CROSS_COMPILE=${Toolchain}"