|
@@ -46,7 +46,11 @@ install:
|
|
|
if ($env:APPVEYOR_REPO_TAG -eq "true") { $env:RELEASE_TAG = $env:APPVEYOR_REPO_TAG_NAME } else { git fetch -q --unshallow };
|
|
if ($env:APPVEYOR_REPO_TAG -eq "true") { $env:RELEASE_TAG = $env:APPVEYOR_REPO_TAG_NAME } else { git fetch -q --unshallow };
|
|
|
if ($env:URHO3D_LIB_TYPE -eq "STATIC" -and ($env:Platform -eq "x64")) { $env:SF_DEFAULT = "windows:Windows-64bit-STATIC-3D11.zip" };
|
|
if ($env:URHO3D_LIB_TYPE -eq "STATIC" -and ($env:Platform -eq "x64")) { $env:SF_DEFAULT = "windows:Windows-64bit-STATIC-3D11.zip" };
|
|
|
$env:PACKAGE_UPLOAD = "1";
|
|
$env:PACKAGE_UPLOAD = "1";
|
|
|
- choco install doxygen.portable graphviz.portable >$null;
|
|
|
|
|
|
|
+ do
|
|
|
|
|
+ {
|
|
|
|
|
+ "Installing doxygen and graphviz...";
|
|
|
|
|
+ choco install doxygen.portable graphviz.portable >$null;
|
|
|
|
|
+ } until ($?);
|
|
|
}
|
|
}
|
|
|
build_script:
|
|
build_script:
|
|
|
- if "%PLATFORM%" == "x64" set "OPTS=URHO3D_64BIT=1"
|
|
- if "%PLATFORM%" == "x64" set "OPTS=URHO3D_64BIT=1"
|
|
@@ -56,7 +60,7 @@ build_script:
|
|
|
- rake make config=%Configuration%
|
|
- rake make config=%Configuration%
|
|
|
# Could not run test target yet as AppVeyor does not currently allow its service to interact with desktop
|
|
# Could not run test target yet as AppVeyor does not currently allow its service to interact with desktop
|
|
|
# - rake make config=%Configuration% target=RUN_TESTS
|
|
# - rake make config=%Configuration% target=RUN_TESTS
|
|
|
- - if "%PACKAGE_UPLOAD%" == "1" rake ci_appveyor_package_upload
|
|
|
|
|
|
|
+ - if "%PACKAGE_UPLOAD%" == "1" (rake ci_appveyor_package_upload) else (rake scaffolding dir=..\MyProject project=MyProject && cd ..\MyProject && rake cmake vs2015 %OPTS% URHO3D_HOME=..\native-Build build_tree=..\MyProject-native-Build && rake make config=%Configuration% build_tree=..\MyProject-native-Build)
|
|
|
test: off
|
|
test: off
|
|
|
artifacts:
|
|
artifacts:
|
|
|
- path: native-Build\*.zip
|
|
- path: native-Build\*.zip
|