Skip to content

Commit 32acf39

Browse files
author
Greg Roth
committed
adjust relative dirs for build and testing
1 parent 559c4f2 commit 32acf39

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

azure-pipelines.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,16 @@ stages:
3030
cd build
3131
cmake -G Ninja .. $(cat ../utils/cmake-predefined-config-params) -DSPIRV_BUILD_TESTS=ON -DCMAKE_BUILD_TYPE=$(configuration)
3232
displayName: 'Cmake configuration'
33-
- bash: ninja
33+
- bash: |
34+
cd build
35+
ninja
3436
displayName: 'Building'
3537
- bash: |
36-
./bin/dxc -T ps_6_0 ../tools/clang/test/CodeGenSPIRV/passthru-ps.hlsl2spv
37-
./bin/dxc -T ps_6_0 -Fo passthru-ps.dxil ../tools/clang/test/CodeGenSPIRV/passthru-ps.hlsl2spv
38-
./bin/dxc -T ps_6_0 -Fo passthru-ps.spv ../tools/clang/test/CodeGenSPIRV/passthru-ps.hlsl2spv -spirv
38+
./build/bin/dxc -T ps_6_0 tools/clang/test/CodeGenSPIRV/passthru-ps.hlsl2spv
39+
./build/bin/dxc -T ps_6_0 -Fo passthru-ps.dxil tools/clang/test/CodeGenSPIRV/passthru-ps.hlsl2spv
40+
./build/bin/dxc -T ps_6_0 -Fo passthru-ps.spv tools/clang/test/CodeGenSPIRV/passthru-ps.hlsl2spv -spirv
3941
displayName: 'Smoke tests'
40-
- bash: ./bin/clang-spirv-tests --spirv-test-root ../tools/clang/test/CodeGenSPIRV/
42+
- bash: ./build/bin/clang-spirv-tests --spirv-test-root tools/clang/test/CodeGenSPIRV/
4143
displayName: 'SPIRV tests'
42-
- bash: ./bin/clang-hlsl-tests --HlslDataDir $PWD/../tools/clang/test/HLSL/
44+
- bash: ./build/bin/clang-hlsl-tests --HlslDataDir $PWD/tools/clang/test/HLSL/
4345
displayName: 'DXIL tests'

0 commit comments

Comments
 (0)