forked from microsoft/DirectXShaderCompiler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
40 lines (30 loc) · 1.05 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
version: 1.0.{build}
image: Visual Studio 2017
platform: x64
configuration: Release
clone_folder: c:\projects\DirectXShaderCompiler
environment:
HLSL_SRC_DIR: c:\projects\DirectXShaderCompiler
HLSL_BLD_DIR: c:\projects\DirectXShaderCompiler\build
ARTIFACTS_ZIP_NAME: dxc-artifacts.zip
install:
- cmd: git submodule update --init
before_build:
- cmd: call utils\hct\hctstart %HLSL_SRC_DIR% %HLSL_BLD_DIR%
build_script:
- cmd: call utils\hct\hctbuild -%PLATFORM% -%CONFIGURATION% -spirvtest
test_script:
- ps: utils\appveyor\appveyor_test.ps1
- cmd: call utils\hct\hcttest -rel spirv_only
after_test:
- cmd: cd build\%CONFIGURATION%
- cmd: echo %APPVEYOR_REPO_COMMIT% > GIT-COMMIT.txt
- 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
artifacts:
- path: build\$(configuration)\$(ARTIFACTS_ZIP_NAME)
notifications:
- provider: GitHubPullRequest
on_build_success: true
on_build_failure: true
on_build_status_changed: true