From feb42080ba5f5cd416a09e2e47061421fb3a6df8 Mon Sep 17 00:00:00 2001 From: Loong Date: Tue, 17 Oct 2023 02:20:56 +0800 Subject: [PATCH] disable tests on arm --- .github/actions/setup/action.yml | 1 + .github/workflows/ci.yml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index 86e5c2e2..51376ef6 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -57,3 +57,4 @@ runs: vs_version=$(ls "/c/Program Files (x86)/Microsoft Visual Studio/") echo "C:\Program Files (x86)\Microsoft Visual Studio\$vs_version\Enterprise\VC\Tools\Llvm\x64\bin" >> $GITHUB_PATH echo "RUSTFLAGS=-C target-feature=+crt-static" >> $GITHUB_ENV + echo $PATH diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a5184445..430631bf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -60,11 +60,11 @@ jobs: run: | cargo build --package maa-cli --locked - name: Test (maa-cli) - if: matrix.arch == 'x86_64' || matrix.os == 'ubuntu-latest' + if: matrix.arch == 'x86_64' run: | cargo test --package maa-cli --locked - name: Test (maa-cli, no-default-features) - if: matrix.arch == 'x86_64' || matrix.os == 'ubuntu-latest' + if: matrix.arch == 'x86_64' run: | cargo test --package maa-cli --no-default-features --locked - name: Install MaaCore