2017-03-14 02:21:15 +03:00
|
|
|
version: 1.0.{build}
|
2017-09-22 19:30:33 +03:00
|
|
|
|
2017-03-14 02:21:15 +03:00
|
|
|
image: Visual Studio 2017
|
|
|
|
platform: x64
|
2018-04-13 22:29:57 +03:00
|
|
|
configuration: Release
|
2017-09-22 19:30:33 +03:00
|
|
|
|
2017-03-14 02:21:15 +03:00
|
|
|
clone_folder: c:\projects\DirectXShaderCompiler
|
2017-09-22 19:30:33 +03:00
|
|
|
|
2017-03-14 02:21:15 +03:00
|
|
|
environment:
|
|
|
|
HLSL_SRC_DIR: c:\projects\DirectXShaderCompiler
|
2017-09-22 19:30:33 +03:00
|
|
|
HLSL_BLD_DIR: c:\projects\DirectXShaderCompiler\build
|
2018-04-24 22:10:11 +03:00
|
|
|
ARTIFACTS_ZIP_NAME: dxc-artifacts.zip
|
2017-09-22 19:30:33 +03:00
|
|
|
|
2017-03-14 02:21:15 +03:00
|
|
|
install:
|
2017-11-29 23:38:21 +03:00
|
|
|
- cmd: git submodule update --init
|
2017-03-14 02:21:15 +03:00
|
|
|
|
2017-09-22 19:30:33 +03:00
|
|
|
before_build:
|
|
|
|
- cmd: call utils\hct\hctstart %HLSL_SRC_DIR% %HLSL_BLD_DIR%
|
2017-03-14 02:21:15 +03:00
|
|
|
|
2017-09-22 19:30:33 +03:00
|
|
|
build_script:
|
2018-06-09 03:36:55 +03:00
|
|
|
- cmd: call utils\hct\hctbuild -%PLATFORM% -%CONFIGURATION% -spirvtest
|
2017-03-14 02:21:15 +03:00
|
|
|
|
2017-09-22 19:30:33 +03:00
|
|
|
test_script:
|
2017-11-29 23:38:21 +03:00
|
|
|
- ps: utils\appveyor\appveyor_test.ps1
|
2018-04-13 22:29:57 +03:00
|
|
|
- cmd: call utils\hct\hcttest -rel spirv_only
|
2017-09-25 19:44:58 +03:00
|
|
|
|
|
|
|
after_test:
|
2018-05-18 14:55:28 +03:00
|
|
|
- cmd: cd build\%CONFIGURATION%
|
2018-04-24 22:10:11 +03:00
|
|
|
- cmd: echo %APPVEYOR_REPO_COMMIT% > GIT-COMMIT.txt
|
2018-05-18 14:55:28 +03:00
|
|
|
- cmd: xcopy "%HLSL_SRC_DIR%\include\dxc" include\dxc /s /i /y
|
|
|
|
- cmd: 7z a %ARTIFACTS_ZIP_NAME% include lib\d*.lib bin\d*.exe bin\d*.dll bin\d*.pdb bin\HLSLHost.exe GIT-COMMIT.txt
|
2017-09-25 19:44:58 +03:00
|
|
|
|
2017-09-22 19:30:33 +03:00
|
|
|
artifacts:
|
2018-05-18 14:55:28 +03:00
|
|
|
- path: build\$(configuration)\$(ARTIFACTS_ZIP_NAME)
|
2017-03-14 02:21:15 +03:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
- provider: GitHubPullRequest
|
|
|
|
on_build_success: true
|
|
|
|
on_build_failure: true
|
|
|
|
on_build_status_changed: true
|