Fix windows-msvc-2015-bazel CI job
The build file is updated to use MSVC 2019 as well as bazel 5.0.0.
This commit is contained in:
parent
0bbec2e8f6
commit
010019f93b
@ -45,13 +45,13 @@ cd %SRC%
|
|||||||
mv External third_party
|
mv External third_party
|
||||||
|
|
||||||
:: REM Install Bazel.
|
:: REM Install Bazel.
|
||||||
wget -q https://github.com/bazelbuild/bazel/releases/download/0.29.1/bazel-0.29.1-windows-x86_64.zip
|
wget -q https://github.com/bazelbuild/bazel/releases/download/5.0.0/bazel-5.0.0-windows-x86_64.zip
|
||||||
unzip -q bazel-0.29.1-windows-x86_64.zip
|
unzip -q bazel-5.0.0-windows-x86_64.zip
|
||||||
|
|
||||||
:: Set up MSVC
|
:: Set up MSVC
|
||||||
call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64
|
call "C:\Program Files (x86)\Microsoft Visual Studio 16.0\VC\vcvarsall.bat" x64
|
||||||
set BAZEL_VS=C:\Program Files (x86)\Microsoft Visual Studio 14.0
|
set BAZEL_VS=C:\Program Files (x86)\Microsoft Visual Studio 16.0
|
||||||
set BAZEL_VC=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC
|
set BAZEL_VC=C:\Program Files (x86)\Microsoft Visual Studio 16.0\VC
|
||||||
set BAZEL_SH=c:\tools\msys64\usr\bin\bash.exe
|
set BAZEL_SH=c:\tools\msys64\usr\bin\bash.exe
|
||||||
set BAZEL_PYTHON=c:\tools\python2\python.exe
|
set BAZEL_PYTHON=c:\tools\python2\python.exe
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user