File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 2828 # target: x86_64-pc-windows-msvc
2929 - os : Windows-ARM
3030 target : arm64-pc-windows-msvc/* ./npm/win32-arm64-msvc/
31+ install-windows-arm : true
3132 # # macOS
3233 # - os: macos-latest
3334 # target: x86_64-apple-darwin
@@ -119,6 +120,16 @@ jobs:
119120 run : |
120121 rustup default stable
121122
123+ - name : Install Visual Studio (Windows)
124+ if : ${{ matrix.install-windows-arm }}
125+ uses : microsoft/setup-msbuild@v2
126+
127+ - name : Install Rust (Windows ARM, Stable)
128+ if : ${{ matrix.install-windows-arm }}
129+ run : |
130+ winget install --id Microsoft.VisualStudio.2022.Community
131+ & ([scriptblock]::Create((New-Object System.Net.WebClient).DownloadString('https://gist.github.com/fnichol/699d3c2930649a9932f71bab8a315b31/raw/rustup-init.ps1')))
132+
122133 - name : Setup rust target
123134 run : rustup target add ${{ matrix.target }}
124135
You can’t perform that action at this time.
0 commit comments