Просмотр исходного кода

For AppVeyor - switch to Debug build configuration on normal CI build.
This is in the hope that msbuild will build faster without any optimisation.
[ci only: AppVeyor]

Yao Wei Tjong 姚伟忠 10 лет назад
Родитель
Сommit
b81547d35a
2 измененных файлов с 3 добавлено и 3 удалено
  1. 2 2
      .appveyor.yml
  2. 1 1
      Rakefile

+ 2 - 2
.appveyor.yml

@@ -52,8 +52,8 @@ install:
         }
 build_script:
   - if "%PLATFORM%" == "x64" set "OPTS=URHO3D_64BIT=1"
-# Our free AppVeyor account is slow for normal daily CI, speed up the build a little bit by excluding Assimp and other tools in the normal build
-  - if "%PACKAGE_UPLOAD%" == "" set "OPTS=%OPTS% URHO3D_TOOLS=0"
+# Our free AppVeyor account is slow for normal daily CI, speed up the build a little bit by excluding Assimp and other tools in the normal build and use the Debug build configuration instead
+  - if "%PACKAGE_UPLOAD%" == "" set "OPTS=%OPTS% URHO3D_TOOLS=0" && set "Configuration=Debug"
   - rake cmake vs2015 %OPTS% URHO3D_LIB_TYPE=%URHO3D_LIB_TYPE% URHO3D_D3D11=1 URHO3D_LUAJIT=1 URHO3D_LUAJIT_AMALG=1 URHO3D_EXTRAS=1 URHO3D_TESTING=1
   - rake make config=%Configuration%
 # Could not run test target yet as AppVeyor does not currently allow its service to interact with desktop

+ 1 - 1
Rakefile

@@ -492,7 +492,7 @@ bye
 EOF'" or abort 'Failed to create release directory remotely'
   end
   # Upload the binary package
-  system "bash -c 'scp native-Build/Urho3D-* [email protected]:#{upload_dir}'" or abort 'Failed to upload binary package'
+  system "bash -c 'scp #{ENV['build_tree']}/Urho3D-* [email protected]:#{upload_dir}'" or abort 'Failed to upload binary package'
   if ENV['RELEASE_TAG'] && ENV['SF_DEFAULT']
     # Mark the corresponding binary package as default download for each Windows/Mac/Linux host systems
     system "bash -c \"curl -H 'Accept: application/json' -X PUT -d 'default=%s' -d \"api_key=$SF_API\" https://sourceforge.net/projects/%s/files/%s/#{ENV['RELEASE_TAG']}/Urho3D-#{ENV['RELEASE_TAG']}-%s\"" % ENV['SF_DEFAULT'].split(':').insert(1, ENV['APPVEYOR_REPO_NAME'].split('/')).flatten or abort 'Failed to set binary tarball/zip as default download'