mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 13:20:54 +00:00
Run tests from appveyor and travis builds (Linux only for now)
This commit is contained in:
+1
-1
@@ -5,7 +5,7 @@ branches:
|
||||
- v0.x
|
||||
- v1.x
|
||||
# having another branch lets us force-push tests here without spamming master
|
||||
- travis-test
|
||||
- ci-test
|
||||
|
||||
env:
|
||||
global:
|
||||
|
||||
@@ -4,6 +4,7 @@ branches:
|
||||
only:
|
||||
- v0.x
|
||||
- v1.x
|
||||
- ci-test
|
||||
|
||||
image: Visual Studio 2015
|
||||
|
||||
@@ -73,3 +74,9 @@ build_script:
|
||||
sh -c ./scripts/hash_version.sh
|
||||
|
||||
msbuild renderdoc.sln /v:m "/p:Configuration=$env:CONFIGURATION" "/p:Platform=$env:PLATFORM" /p:PlatformToolset=v140
|
||||
|
||||
test_script:
|
||||
- ps: $env:testexe = "$env:PLATFORM\$env:CONFIGURATION\renderdoccmd.exe"
|
||||
- ps: if ( $env:PLATFORM -eq "x86" ) { $env:testexe = "Win32\$env:CONFIGURATION\renderdoccmd.exe" }
|
||||
- cmd: >-
|
||||
"%testexe%" test -t unit
|
||||
|
||||
@@ -21,3 +21,7 @@ else
|
||||
cmake -DCMAKE_BUILD_TYPE=Debug ..
|
||||
fi
|
||||
make -j2
|
||||
|
||||
echo "--- Running unit tests ---"
|
||||
|
||||
./bin/renderdoccmd test -t unit
|
||||
|
||||
Reference in New Issue
Block a user