Browse Source

For AppVeyor - pass '-C Debug' to ctest invocation.
[ci only: VS]
Related to #1200.

Yao Wei Tjong 姚伟忠 9 years ago
parent
commit
877cfaf384
3 changed files with 8 additions and 8 deletions
  1. 1 1
      .appveyor.yml
  2. 6 6
      .travis.yml
  3. 1 1
      Rakefile

+ 1 - 1
.appveyor.yml

@@ -33,7 +33,7 @@ environment:
 # Using neither-in-nor-out-of-source (Urho3D-legacy) build tree when on AppVeyor; using out-of-source (and in-the-source) build tree when on Travis-CI for test coverage
 # Using neither-in-nor-out-of-source (Urho3D-legacy) build tree when on AppVeyor; using out-of-source (and in-the-source) build tree when on Travis-CI for test coverage
   build_tree: Build
   build_tree: Build
   config: Release
   config: Release
-  excluded_sample: PLATFORM==x64\ 39_CrowdNavigation
+  excluded_sample: PLATFORM=x64\ 39_CrowdNavigation
 # We cannot afford to have a large matrix on AppVeyor at the moment
 # We cannot afford to have a large matrix on AppVeyor at the moment
   URHO3D_D3D11: 1
   URHO3D_D3D11: 1
   matrix:
   matrix:

+ 6 - 6
.travis.yml

@@ -138,7 +138,7 @@ environment:
 # Using neither-in-nor-out-of-source (Urho3D-legacy) build tree when on AppVeyor; using out-of-source (and in-the-source) build tree when on Travis-CI for test coverage
 # Using neither-in-nor-out-of-source (Urho3D-legacy) build tree when on AppVeyor; using out-of-source (and in-the-source) build tree when on Travis-CI for test coverage
   build_tree: Build
   build_tree: Build
   config: Release
   config: Release
-  excluded_sample: PLATFORM==x64\ 01_HelloWorld,02_HelloGUI,03_Sprites,04_StaticScene,05_AnimatingScene,06_SkeletalAnimation,07_Billboards,08_Decals,09_MultipleViewports,10_RenderToTexture,11_Physics,12_PhysicsStressTest,13_Ragdolls,14_SoundEffects,15_Navigation,16_Chat,17_SceneReplication,18_CharacterDemo,19_VehicleDemo,20_HugeObjectCount,21_AngelScriptIntegration,22_LuaIntegration,23_Water,24_Urho2DSprite,25_Urho2DParticle,26_ConsoleInput,27_Urho2DPhysics,28_Urho2DPhysicsRope,29_SoundSynthesis,30_LightAnimation,31_MaterialAnimation,32_Urho2DConstraints,33_Urho2DSpriterAnimation,34_DynamicGeometry,35_SignedDistanceFieldText,36_Urho2DTileMap,37_UIDrag,38_SceneAndUILoad,40_Localization,41_DatabaseDemo
+  excluded_sample: PLATFORM=x64\ 01_HelloWorld,02_HelloGUI,03_Sprites,04_StaticScene,05_AnimatingScene,06_SkeletalAnimation,07_Billboards,08_Decals,09_MultipleViewports,10_RenderToTexture,11_Physics,12_PhysicsStressTest,13_Ragdolls,14_SoundEffects,15_Navigation,16_Chat,17_SceneReplication,18_CharacterDemo,19_VehicleDemo,20_HugeObjectCount,21_AngelScriptIntegration,22_LuaIntegration,23_Water,24_Urho2DSprite,25_Urho2DParticle,26_ConsoleInput,27_Urho2DPhysics,28_Urho2DPhysicsRope,29_SoundSynthesis,30_LightAnimation,31_MaterialAnimation,32_Urho2DConstraints,33_Urho2DSpriterAnimation,34_DynamicGeometry,35_SignedDistanceFieldText,36_Urho2DTileMap,37_UIDrag,38_SceneAndUILoad,40_Localization,41_DatabaseDemo
 # We cannot afford to have a large matrix on AppVeyor at the moment
 # We cannot afford to have a large matrix on AppVeyor at the moment
   URHO3D_D3D11: 1
   URHO3D_D3D11: 1
   matrix:
   matrix:
@@ -166,11 +166,11 @@ artifacts:
   - path: Build\*.zip
   - path: Build\*.zip
 deploy: off
 deploy: off
 on_finish:
 on_finish:
-  - cd Build && ctest -VV
-  - cd Build && ctest -VV
-  - cd Build && ctest -VV
-  - cd Build && ctest -VV
-  - cd Build && ctest -VV
+  - cd Build && ctest -C Debug -VV
+  - cd Build && ctest -C Debug -VV
+  - cd Build && ctest -C Debug -VV
+  - cd Build && ctest -C Debug -VV
+  - cd Build && ctest -C Debug -VV
 
 
 ---
 ---
 
 

+ 1 - 1
Rakefile

@@ -297,7 +297,7 @@ task :ci do
       samples = pairs.pop.split ','
       samples = pairs.pop.split ','
       matched = true
       matched = true
       pairs.each { |pair|
       pairs.each { |pair|
-        kv = pair.split '=='
+        kv = pair.split '='
         matched = false if ENV[kv.first] != kv.last
         matched = false if ENV[kv.first] != kv.last
       }
       }
       samples.each { |name| ENV["EXCLUDE_SAMPLE_#{name}"] = '1' } if matched
       samples.each { |name| ENV["EXCLUDE_SAMPLE_#{name}"] = '1' } if matched