Use the vcvarsall bat script.
This commit is contained in:
parent
fceb2e3b78
commit
7ecc6a3fb4
2 changed files with 2 additions and 2 deletions
|
@ -47,7 +47,7 @@ elif [ "$TRAVIS_OS_NAME" = "windows" ]; then
|
|||
7z x VC15.zip
|
||||
mv external-VC15 external
|
||||
cd $start
|
||||
export PATH="/c/Python36:"$PATH":/c/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/MSBuild/15.0/Bin/amd64:$start/../external/dll:/c/Python36/Scripts/"
|
||||
export PATH="/c/Python36:"$PATH":$start/../external/dll:/c/Python36/Scripts/"
|
||||
yes | pip3 install paramiko
|
||||
if [ "$(which python3)" == "" ] || [ "$(which sqlite3)" == "" ] || [ ! -d "../external" ]; then
|
||||
echo "Failed to retrieve dependencies!"
|
||||
|
|
|
@ -22,7 +22,7 @@ if [ "$TRAVIS_OS_NAME" = "osx" ]; then
|
|||
|
||||
exit $BUILD_RET
|
||||
elif [ "$TRAVIS_OS_NAME" = "windows" ]; then
|
||||
powershell "MSBuild.exe projectfiles/VC14/wesnoth.sln -p:Configuration=$CFG"
|
||||
cmd.exe //C 'C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\vcvarsall.bat' x86 '&&' MSBuild.exe projectfiles/VC14/wesnoth.sln -p:Configuration=$CFG -p:Platform=Win32
|
||||
BUILD_RET=$?
|
||||
|
||||
if [ "$UPLOAD_ID" != "" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
|
||||
|
|
Loading…
Add table
Reference in a new issue