Skip to content

Commit 2db09d5

Browse files
Refactoring benchmark CI pipeline (shader-slang#4855)
* Refactoring benchmark CI pipeline * Combine setup and run steps
1 parent 27b2229 commit 2db09d5

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

.github/workflows/benchmark.yml

+4-7
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Benchmark
1+
name: MDL Benchmark
22

33
on:
44
push:
@@ -36,12 +36,9 @@ jobs:
3636
run: |
3737
cmake --preset default --fresh -DSLANG_SLANG_LLVM_FLAVOR=USE_SYSTEM_LLVM -DCMAKE_COMPILE_WARNING_AS_ERROR=false
3838
cmake --workflow --preset release
39-
- name: Setup
40-
run: |
41-
cd tests/mdl
42-
pip install prettytable argparse
4339
- name: Run benchmark
4440
run: |
45-
cd tests/mdl
41+
cd tools/benchmark
42+
pip install prettytable argparse
4643
Copy-Item -Path C:\slang-benchmarks -Destination . -Recurse
47-
python compile.py --samples 16 --target dxil --ci
44+
python compile.py --samples 16 --target dxil --ci
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)