File tree 1 file changed +5
-1
lines changed
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 7
7
jobs :
8
8
release :
9
9
name : Build (${{ matrix.target }})
10
- runs-on : ubuntu-latest
10
+ runs-on : ${{ matrix.os == 'windows' && 'windows-latest' || matrix.os == 'macos' && 'macos-latest' || ' ubuntu-latest' }}
11
11
strategy :
12
12
fail-fast : false
13
13
matrix :
31
31
with :
32
32
toolchain : stable
33
33
targets : ${{ matrix.target }}
34
+ components : rust-src rustc-dev llvm-tools-preview
35
+ # msvc: ${{ matrix.os == 'windows' }}
34
36
- name : Install Windows toolchain
35
37
if : matrix.os == 'windows'
36
38
run : |
39
+ choco install -y visualstudio2022buildtools --package-parameters "--add Microsoft.VisualStudio.Component.VC.Tools.x86.x64"
40
+ choco install -y windows-sdk-10.0
37
41
rustup target add x86_64-pc-windows-msvc
38
42
- name : Install MacOS toolchain
39
43
if : matrix.os == 'macos'
You can’t perform that action at this time.
0 commit comments