File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Starter pipeline
2+ # Start with a minimal pipeline that you can customize to build and deploy your code.
3+ # Add steps that build, run tests, deploy, and more:
4+ # https://aka.ms/yaml
5+
6+ variables :
7+ configuration : Release
8+
9+ resources :
10+ - repo : self
11+
12+ stages :
13+ - stage : Build
14+ jobs :
15+ job : Linux_clang8
16+ pool :
17+ vmImage : Ubuntu-18.04
18+
19+ variables :
20+ CC : clang-8
21+ CXX : clang++-8
22+
23+ steps :
24+ - bash : sudo apt-get install clang-8 libc++-8-dev libc++abi-8-dev lld-8 ninja-build python3
25+ displayName : ' Installing dependencies'
26+ - bash : git submodule update --init
27+ displayName : ' Updating submodules'
28+ - bash : mkdir build && cd build
29+ - bash : cmake .. -GNinja $(cat ../utils/cmake-predefined-config-params) -DSPIRV_BUILD_TESTS=ON -DCMAKE_BUILD_TYPE=$(configuration)
30+ displayName : ' Cmake configuration'
31+ - bash : ninja
32+ displayName : ' Building'
33+ - bash : |
34+ ./bin/dxc -T ps_6_0 ../tools/clang/test/CodeGenSPIRV/passthru-ps.hlsl2spv
35+ ./bin/dxc -T ps_6_0 -Fo passthru-ps.dxil ../tools/clang/test/CodeGenSPIRV/passthru-ps.hlsl2spv
36+ ./bin/dxc -T ps_6_0 -Fo passthru-ps.spv ../tools/clang/test/CodeGenSPIRV/passthru-ps.hlsl2spv -spirv
37+ displayName: 'Smoke tests'
38+ - bash : ./bin/clang-spirv-tests --spirv-test-root ../tools/clang/test/CodeGenSPIRV/
39+ displayName : ' SPIRV tests'
40+ - bash : ./bin/clang-hlsl-tests --HlslDataDir $PWD/../tools/clang/test/HLSL/
41+ displayName : ' DXIL tests'
You can’t perform that action at this time.
0 commit comments