From 2db09d58f74376d792c36711cbc48c4a3d5eba60 Mon Sep 17 00:00:00 2001 From: venkataram-nv Date: Thu, 15 Aug 2024 12:46:24 -0700 Subject: Refactoring benchmark CI pipeline (#4855) * Refactoring benchmark CI pipeline * Combine setup and run steps --- .github/workflows/benchmark.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to '.github') diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 441334055..8a829d5a1 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -1,4 +1,4 @@ -name: Benchmark +name: MDL Benchmark on: push: @@ -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 \ No newline at end of file + python compile.py --samples 16 --target dxil --ci -- cgit v1.2.3