@@ -4,19 +4,19 @@ name: Falcor Compiler Perf-Test
4
4
5
5
on :
6
6
push :
7
- branches : [ master ]
7
+ branches : [master]
8
8
paths-ignore :
9
- - ' docs/**'
10
- - ' LICENCE'
11
- - ' CONTRIBUTION.md'
12
- - ' README.md'
9
+ - " docs/**"
10
+ - " LICENCE"
11
+ - " CONTRIBUTION.md"
12
+ - " README.md"
13
13
pull_request :
14
- branches : [ master ]
14
+ branches : [master]
15
15
paths-ignore :
16
- - ' docs/**'
17
- - ' LICENCE'
18
- - ' CONTRIBUTION.md'
19
- - ' README.md'
16
+ - " docs/**"
17
+ - " LICENCE"
18
+ - " CONTRIBUTION.md"
19
+ - " README.md"
20
20
concurrency :
21
21
group : ${{ github.workflow }}-${{ github.ref }}
22
22
cancel-in-progress : true
@@ -42,61 +42,61 @@ jobs:
42
42
run :
43
43
shell : bash
44
44
steps :
45
- - uses : actions/checkout@v3
46
- with :
47
- submodules : ' recursive'
48
- fetch-depth : ' 0 '
45
+ - uses : actions/checkout@v3
46
+ with :
47
+ submodules : " recursive"
48
+ fetch-depth : " 0 "
49
49
50
- - name : Setup
51
- uses : ./.github/actions/common-setup
52
- with :
53
- os : ${{matrix.os}}
54
- compiler : ${{matrix.compiler}}
55
- platform : ${{matrix.platform}}
56
- config : ${{matrix.config}}
57
- build-llvm : true
50
+ - name : Setup
51
+ uses : ./.github/actions/common-setup
52
+ with :
53
+ os : ${{matrix.os}}
54
+ compiler : ${{matrix.compiler}}
55
+ platform : ${{matrix.platform}}
56
+ config : ${{matrix.config}}
57
+ build-llvm : true
58
58
59
- - name : Build Slang
60
- run : |
61
- cmake --preset default --fresh \
62
- -DSLANG_SLANG_LLVM_FLAVOR=USE_SYSTEM_LLVM \
63
- -DCMAKE_COMPILE_WARNING_AS_ERROR=${{matrix.warnings-as-errors}} \
64
- -DSLANG_ENABLE_CUDA=1
65
- cmake --workflow --preset "${{matrix.config}}"
59
+ - name : Build Slang
60
+ run : |
61
+ cmake --preset default --fresh \
62
+ -DSLANG_SLANG_LLVM_FLAVOR=USE_SYSTEM_LLVM \
63
+ -DCMAKE_COMPILE_WARNING_AS_ERROR=${{matrix.warnings-as-errors}} \
64
+ -DSLANG_ENABLE_CUDA=1
65
+ cmake --workflow --preset "${{matrix.config}}"
66
66
67
- - uses : robinraju/release-downloader@v1.9
68
- id : download
69
- with :
70
- # The source repository path.
71
- # Expected format {owner}/{repo}
72
- # Default: ${{ github.repository }}
73
- repository : " shader-slang/falcor-compile-perf-test"
67
+ - uses : robinraju/release-downloader@v1.9
68
+ id : download
69
+ with :
70
+ # The source repository path.
71
+ # Expected format {owner}/{repo}
72
+ # Default: ${{ github.repository }}
73
+ repository : " shader-slang/falcor-compile-perf-test"
74
74
75
- # A flag to set the download target as latest release
76
- # The default value is 'false'
77
- latest : true
75
+ # A flag to set the download target as latest release
76
+ # The default value is 'false'
77
+ latest : true
78
78
79
- # The name of the file to download.
80
- # Use this field only to specify filenames other than tarball or zipball, if any.
81
- # Supports wildcard pattern (eg: '*', '*.deb', '*.zip' etc..)
82
- fileName : " falcor_perf_test-*-win-64.zip"
79
+ # The name of the file to download.
80
+ # Use this field only to specify filenames other than tarball or zipball, if any.
81
+ # Supports wildcard pattern (eg: '*', '*.deb', '*.zip' etc..)
82
+ fileName : " falcor_perf_test-*-win-64.zip"
83
83
84
- # Download the attached zipball (*.zip)
85
- zipBall : true
84
+ # Download the attached zipball (*.zip)
85
+ zipBall : true
86
86
87
- # Relative path under $GITHUB_WORKSPACE to place the downloaded file(s)
88
- # It will create the target directory automatically if not present
89
- # eg: out-file-path: "my-downloads" => It will create directory $GITHUB_WORKSPACE/my-downloads
90
- out-file-path : " ./falcor-perf-test"
87
+ # Relative path under $GITHUB_WORKSPACE to place the downloaded file(s)
88
+ # It will create the target directory automatically if not present
89
+ # eg: out-file-path: "my-downloads" => It will create directory $GITHUB_WORKSPACE/my-downloads
90
+ out-file-path : " ./falcor-perf-test"
91
91
92
- # Somehow there is a bug in this flag, the executable extracted is not runnable. We have to
93
- # extract ourselves.
94
- extract : false
92
+ # Somehow there is a bug in this flag, the executable extracted is not runnable. We have to
93
+ # extract ourselves.
94
+ extract : false
95
95
96
- - name : run falcor-compiler-perf-test
97
- shell : pwsh
98
- run : |
99
- $filename = '${{ fromJson(steps.download.outputs.downloaded_files)[0] }}'
100
- Expand-Archive $filename -DestinationPath .\falcor-perf-test
101
- $env:PATH += ";.\build\${{matrix.config}}\bin";
102
- .\falcor-perf-test\bin\Release\falcor_perftest.exe
96
+ - name : run falcor-compiler-perf-test
97
+ shell : pwsh
98
+ run : |
99
+ $filename = '${{ fromJson(steps.download.outputs.downloaded_files)[0] }}'
100
+ Expand-Archive $filename -DestinationPath .\falcor-perf-test
101
+ $env:PATH += ";.\build\${{matrix.config}}\bin";
102
+ .\falcor-perf-test\bin\Release\falcor_perftest.exe
0 commit comments