mirror of
https://gitee.com/openharmony/third_party_spirv-tools
synced 2024-11-23 23:39:40 +00:00
66fc10564c
Timeout set to 300 seconds. If no timeout, then ctest itself will be timed out and terminated leaving no output.
43 lines
836 B
YAML
43 lines
836 B
YAML
# Windows Build Configuration for AppVeyor
|
|
# http://www.appveyor.com/docs/appveyor-yml
|
|
|
|
# version format
|
|
version: "{build}"
|
|
|
|
os:
|
|
- Visual Studio 2013
|
|
- Visual Studio 2015
|
|
|
|
platform:
|
|
- Any CPU
|
|
|
|
configuration:
|
|
- Debug
|
|
- Release
|
|
|
|
branches:
|
|
only:
|
|
- master
|
|
|
|
clone_depth: 5
|
|
|
|
matrix:
|
|
fast_finish: true # Show final status immediately if a test fails.
|
|
|
|
# scripts that run after cloning repository
|
|
install:
|
|
- git clone https://github.com/KhronosGroup/SPIRV-Headers.git external/spirv-headers
|
|
- git clone https://github.com/google/googletest.git external/googletest
|
|
|
|
build:
|
|
parallel: true # enable MSBuild parallel builds
|
|
verbosity: minimal
|
|
|
|
build_script:
|
|
- mkdir build && cd build
|
|
- cmake ..
|
|
- cmake --build . --config %CONFIGURATION%
|
|
|
|
test_script:
|
|
- ctest -C %CONFIGURATION% --output-on-failure --timeout 300
|