From f2e013fe9cbea7f4f9ffd832ebd53c58ae805fa1 Mon Sep 17 00:00:00 2001 From: Young-Flash Date: Tue, 29 Oct 2024 11:36:23 +0800 Subject: [PATCH] ci: setup msvc --- .github/workflows/ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bc5f2cb2..42b869a0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -156,6 +156,10 @@ jobs: "$env:USERPROFILE\.moon\bin" | Out-File -FilePath $env:GITHUB_PATH -Append "$env:GITHUB_WORKSPACE\target\debug" | Out-File -FilePath $env:GITHUB_PATH -Append + - name: Setup MSVC + if: ${{ matrix.os == 'windows-latest' }} + uses: ilammy/msvc-dev-cmd@v1 + - name: Build run: cargo build - name: Versions @@ -230,6 +234,10 @@ jobs: Set-ExecutionPolicy RemoteSigned -Scope CurrentUser; irm https://cli.moonbitlang.com/install/powershell.ps1 | iex "C:\Users\runneradmin\.moon\bin" | Out-File -FilePath $env:GITHUB_PATH -Append + - name: Setup MSVC + if: ${{ matrix.os == 'windows-latest' }} + uses: ilammy/msvc-dev-cmd@v1 + - name: Build run: cargo build - name: Versions