From c4162f43f6b0432743045cc0b9df590194f176da Mon Sep 17 00:00:00 2001 From: Tapasvi Patel Date: Thu, 1 Aug 2024 17:30:16 +0000 Subject: [PATCH] changes --- .github/workflows/post-commit.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/post-commit.yml b/.github/workflows/post-commit.yml index cd26c3eff1..5ce630d912 100644 --- a/.github/workflows/post-commit.yml +++ b/.github/workflows/post-commit.yml @@ -15,7 +15,7 @@ jobs: fail-fast: false matrix: build: [ - {runs-on: n150, c_compiler: clang, cpp_compiler: clang++, build_type: Release, enable_runtime: ON}, + {runs-on: n150, c_compiler: clang, cpp_compiler: clang++, build_type: Release, enable_runtime: ON, enable_perf: OFF}, {runs-on: n150, c_compiler: clang, cpp_compiler: clang++, build_type: Release, enable_runtime: ON, enable_perf: ON}, ] runs-on: ${{ matrix.build.runs-on }} @@ -64,11 +64,11 @@ jobs: -DCMAKE_BUILD_TYPE=${{ matrix.build.build_type }} \ -DTTMLIR_ENABLE_RUNTIME=${{ matrix.build.enable_runtime }} \ -DTTMLIR_ENABLE_RUNTIME_TESTS=${{ matrix.build.enable_runtime }} \ - -DTT_RUNTIME_ENABLE_PERF_TRACE=ON=${{ matrix.build.enable_runtime }} \ + -DTT_RUNTIME_ENABLE_PERF_TRACE=${{ matrix.build.enable_perf }} \ -S ${{ github.workspace }} - name: Set perf env variables - if: matrix.enable_perf == 'ON' + if: ${{ matrix.build.enable_perf }} == 'ON' shell: bash run: | export ENABLE_TRACY=1 @@ -80,7 +80,7 @@ jobs: cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build.build_type }} - name: Lint - if: matrix.enable_runtime == 'OFF' + if: ${{ matrix.enable_runtime }} == 'OFF' shell: bash run: | source env/activate