File tree 1 file changed +14
-0
lines changed
1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 44
44
cxx : " cl" ,
45
45
environment_script : " C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Auxiliary/Build/vcvars64.bat" ,
46
46
}
47
+ - {
48
+ name : " Windows MSVC 2019 Preview (x64)" ,
49
+ os : windows-latest,
50
+ choco : ' install visualstudio2019buildtools-preview --ignoredetectedreboot --package-parameters "--add Microsoft.VisualStudio.Workload.MSBuildTools --add Microsoft.VisualStudio.Workload.VCTools" --pre' ,
51
+ cxx : " cl" ,
52
+ environment_script : " C:/Program Files (x86)/Microsoft Visual Studio/2019/Preview/VC/Auxiliary/Build/vcvars64.bat" ,
53
+ }
47
54
48
55
steps :
49
56
- uses : actions/checkout@v2
79
86
sudo add-apt-repository ppa:ubuntu-toolchain-r/ppa
80
87
sudo apt-get install g++-10
81
88
89
+ - name : Install MSVC
90
+ id : install_msvc
91
+ if : startsWith(matrix.config.os, 'windows') && ( matrix.config.choco != '' )
92
+ uses : crazy-max/ghaction-chocolatey@v1
93
+ with :
94
+ args : ${{ matrix.config.choco }}
95
+
82
96
- name : Create Build Environment
83
97
# Some projects don't allow in-source building, so create a separate build directory
84
98
# We'll use this as our working directory for all subsequent commands
You can’t perform that action at this time.
0 commit comments