Fix win32 linking and run test automatically in AppVayor
This commit is contained in:
		
							parent
							
								
									4722988bf0
								
							
						
					
					
						commit
						4d0571fd73
					
				| @ -123,7 +123,9 @@ if(CMAKE_BUILD_TYPE MATCHES Release) | ||||
|   endif (HAS_LTO_FLAG) | ||||
| endif() | ||||
| 
 | ||||
| if (NOT WIN32) | ||||
| add_definitions(-DBOOST_TEST_DYN_LINK) | ||||
| endif() | ||||
| 
 | ||||
| # Configuring compilers | ||||
| if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") | ||||
|  | ||||
| @ -41,6 +41,9 @@ build_script: | ||||
|   - nmake tests | ||||
|   - nmake benchmarks | ||||
|   - if "%APPVEYOR_REPO_BRANCH%"=="develop" (7z a %P%/osrm_%Configuration%.zip *.exe *.pdb %P%/libs/bin/*.dll -tzip) | ||||
|   - set PATH=%PATH%;c:/projects/osrm/libs/bin | ||||
|   - cd c:/projects/osrm/build | ||||
|   - datastructure-tests.exe | ||||
| 
 | ||||
| test: off | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user