From c04bc91e8f7fb060d82ba834a2089d40c41d264e Mon Sep 17 00:00:00 2001 From: MistEO Date: Thu, 21 Dec 2023 15:43:15 +0800 Subject: [PATCH] chore: revert ndk to r25c clang-17: error: unknown argument: '-avoid-version' https://github.com/MaaAssistantArknights/MaaDeps/actions/runs/7285134601/job/19851552458 https://github.com/microsoft/vcpkg/issues/31332 --- .github/workflows/build.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 062c876..ec7d705 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,7 +2,7 @@ name: build on: push: - tags: '*' + tags: "*" workflow_dispatch: inputs: use-cache: @@ -48,11 +48,11 @@ jobs: with: minimum-size: 16GB maximum-size: 16GB - disk-root: 'D:' + disk-root: "D:" - uses: actions/checkout@v3 with: - submodules: 'recursive' + submodules: "recursive" - name: Install Packages on Linux if: runner.os == 'Linux' @@ -69,7 +69,11 @@ jobs: if: contains(matrix.arch, 'android') id: setup-ndk with: - ndk-version: r26b + # clang-17: error: unknown argument: '-avoid-version' + # https://github.com/MaaAssistantArknights/MaaDeps/actions/runs/7285134601/job/19851552458 + # https://github.com/microsoft/vcpkg/issues/31332 + # ndk-version: r26b + ndk-version: r25c add-to-path: false - name: Install Packages on MacOS @@ -168,7 +172,7 @@ jobs: done - name: Collect Logs - if: always() + if: always() run: | shopt -s globstar tar caf logs.tar --ignore-failed-read vcpkg/buildtrees/**/*.log