From b73a334daae7dbbb13d7400c0098f3fea780cabd Mon Sep 17 00:00:00 2001 From: Wendal Chen Date: Mon, 25 Mar 2024 16:59:14 +0800 Subject: [PATCH] =?UTF-8?q?update:=20=E6=9B=B4=E6=96=B0CI=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4fe73524..72b5eae4 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -129,11 +129,13 @@ jobs: - name: 克隆 ec7xx-csdk 代码库 run: git clone --depth=1 https://github.com/openLuat/luatos-soc-2023.git - name: 下载Gcc + if: ${{ ! ( (matrix.csdk_project == 'example_audio' || matrix.csdk_project == 'example_camera') && matrix.csdk_chip == 'ec718pv' ) }} run: | mkdir tools wget -q -O tools/gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2 https://github.com/wendal/xmake-docker/releases/download/dev-gcc/gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2 cd tools && tar xf gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2 - name: 初始化工具链 + if: ${{ ! ( (matrix.csdk_project == 'example_audio' || matrix.csdk_project == 'example_camera') && matrix.csdk_chip == 'ec718pv' ) }} run: | # sudo add-apt-repository ppa:xmake-io/xmake -y sudo apt update -y @@ -143,7 +145,7 @@ jobs: # xmake update curl -fsSL https://xmake.io/shget.text | bash -s v2.8.6 - name: 构建指定项目 - if: ${{ ! ( matrix.csdk_project == 'example_audio' && matrix.csdk_chip == 'ec718pv' ) }} + if: ${{ ! ( (matrix.csdk_project == 'example_audio' || matrix.csdk_project == 'example_camera') && matrix.csdk_chip == 'ec718pv' ) }} run: | export GCC_PATH=`pwd`/tools/gcc-arm-none-eabi-10-2020-q4-major cd luatos-soc-2023