浏览代码

Disable multicore build

Stefan Profanter 6 年之前
父节点
当前提交
c30426f18a
共有 1 个文件被更改,包括 6 次插入3 次删除
  1. 6 3
      appveyor.yml

+ 6 - 3
appveyor.yml

@@ -22,19 +22,22 @@ environment:
           OUT_DIR_EXAMPLES: bin\examples
           OUT_DIR_EXAMPLES: bin\examples
         - CC_NAME: Visual Studio 9 2008
         - CC_NAME: Visual Studio 9 2008
           CC_SHORTNAME: vs2008
           CC_SHORTNAME: vs2008
-          MAKE: msbuild /m open62541.sln
+          # Do not build in parallel, project dependencies are not solved correctly and thus appveyor may randomly fail
+          MAKE: msbuild /m:1 /p:BuildInParallel=false /p:ContinueOnError=false /p:StopOnFirstFailure=true open62541.sln
           FORCE_CXX: ON
           FORCE_CXX: ON
           OUT_DIR_LIB: bin\Debug
           OUT_DIR_LIB: bin\Debug
           OUT_DIR_EXAMPLES: bin\examples\Debug
           OUT_DIR_EXAMPLES: bin\examples\Debug
         - CC_NAME: Visual Studio 12 2013
         - CC_NAME: Visual Studio 12 2013
           CC_SHORTNAME: vs2013
           CC_SHORTNAME: vs2013
-          MAKE: msbuild /m open62541.sln
+          # Do not build in parallel, project dependencies are not solved correctly and thus appveyor may randomly fail
+          MAKE: msbuild /m:1 /p:BuildInParallel=false /p:ContinueOnError=false /p:StopOnFirstFailure=true open62541.sln
           FORCE_CXX: OFF
           FORCE_CXX: OFF
           OUT_DIR_LIB: bin\Debug
           OUT_DIR_LIB: bin\Debug
           OUT_DIR_EXAMPLES: bin\examples\Debug
           OUT_DIR_EXAMPLES: bin\examples\Debug
         - CC_NAME: Visual Studio 12 2013 Win64
         - CC_NAME: Visual Studio 12 2013 Win64
           CC_SHORTNAME: vs2013-x64
           CC_SHORTNAME: vs2013-x64
-          MAKE: msbuild /m open62541.sln
+          # Do not build in parallel, project dependencies are not solved correctly and thus appveyor may randomly fail
+          MAKE: msbuild /m:1 /p:BuildInParallel=false /p:ContinueOnError=false /p:StopOnFirstFailure=true open62541.sln
           FORCE_CXX: OFF
           FORCE_CXX: OFF
           OUT_DIR_LIB: bin\Debug
           OUT_DIR_LIB: bin\Debug
           OUT_DIR_EXAMPLES: bin\examples\Debug
           OUT_DIR_EXAMPLES: bin\examples\Debug