forked from microsoft/DirectXShaderCompiler
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathx86_64-linux-clang.yml
More file actions
53 lines (53 loc) · 1.46 KB
/
x86_64-linux-clang.yml
File metadata and controls
53 lines (53 loc) · 1.46 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
steps:
- name: gcr.io/cloud-builders/git
args: ['fetch', '--unshallow']
- name: 'gcr.io/shaderc-build/shader-compiler-team:kokoro-dxc-builder'
args:
- git
- submodule
- update
- '--init'
- name: 'gcr.io/shaderc-build/shader-compiler-team:kokoro-dxc-builder'
args:
- cmake
- '-Bbuild'
- '-GNinja'
- '-DCMAKE_BUILD_TYPE=Release'
- '-DCMAKE_CXX_COMPILER=clang++'
- '-DCMAKE_C_COMPILER=clang'
- '-DCMAKE_INSTALL_PREFIX=artifacts'
- '-DSPIRV_BUILD_TESTS=ON'
- '-DLLVM_ENABLE_WERROR=On'
- '-C'
- 'cmake/caches/PredefinedParams.cmake'
- name: 'gcr.io/shaderc-build/shader-compiler-team:kokoro-dxc-builder'
args:
- ninja
- '-C'
- build
- name: 'gcr.io/shaderc-build/shader-compiler-team:kokoro-dxc-builder'
args:
- ninja
- '-C'
- build
- check-all
- name: 'gcr.io/shaderc-build/shader-compiler-team:kokoro-dxc-builder'
args:
- ninja
- '-C'
- build
- install-distribution
- name: 'gcr.io/shaderc-build/shader-compiler-team:kokoro-dxc-builder'
script: |
#!/usr/bin/env bash
zip -r dxc-artifacts.zip /workspace/artifacts/*
logsBucket: 'gs://public-github-building-logs'
options:
logging: LEGACY
pool:
name: projects/shaderc-build/locations/us-central1/workerPools/dxc
artifacts:
objects:
location: 'gs://public-directx-shader-compiler/$COMMIT_SHA'
paths:
- dxc-artifacts.zip