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