Skip to content

Commit

Permalink
Refactoring benchmark CI pipeline (shader-slang#4855)
Browse files Browse the repository at this point in the history
* Refactoring benchmark CI pipeline

* Combine setup and run steps
  • Loading branch information
venkataram-nv authored Aug 15, 2024
1 parent 27b2229 commit 2db09d5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Benchmark
name: MDL Benchmark

on:
push:
Expand Down Expand Up @@ -36,12 +36,9 @@ jobs:
run: |
cmake --preset default --fresh -DSLANG_SLANG_LLVM_FLAVOR=USE_SYSTEM_LLVM -DCMAKE_COMPILE_WARNING_AS_ERROR=false
cmake --workflow --preset release
- name: Setup
run: |
cd tests/mdl
pip install prettytable argparse
- name: Run benchmark
run: |
cd tests/mdl
cd tools/benchmark
pip install prettytable argparse
Copy-Item -Path C:\slang-benchmarks -Destination . -Recurse
python compile.py --samples 16 --target dxil --ci
python compile.py --samples 16 --target dxil --ci
File renamed without changes.
File renamed without changes.

0 comments on commit 2db09d5

Please sign in to comment.