From 93eba87ec257af76ee1246ccbfafec2c3775f9c4 Mon Sep 17 00:00:00 2001 From: Renato Golin Date: Mon, 10 Feb 2025 22:34:23 +0000 Subject: [PATCH] less base tests, on push (#2) --- .github/workflows/tpp-mlir.yml | 42 ++++++++++------------------------ 1 file changed, 12 insertions(+), 30 deletions(-) diff --git a/.github/workflows/tpp-mlir.yml b/.github/workflows/tpp-mlir.yml index 8c62ad1..c67b633 100644 --- a/.github/workflows/tpp-mlir.yml +++ b/.github/workflows/tpp-mlir.yml @@ -3,40 +3,22 @@ name: TPP-MLIR Base Tests on: workflow_dispatch: pull_request: + push: + branches: + - 'main' jobs: - TPP-MLIR-gcc-rel: + TPP-MLIR-base-test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: GCC Release + - name: Base Test run: |- echo "Event Name: ${{ github.event_name }}" - echo "PR Labels: ${{ toJSON(github.event.pull_request.labels.*.name) }}" - - TPP-MLIR-gcc-deb: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: GCC Debug - run: |- - echo "Event Name: ${{ github.event_name }}" - echo "PR Labels: ${{ toJSON(github.event.pull_request.labels.*.name) }}" - - TPP-MLIR-clang-rel: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Clang Release - run: |- - echo "Event Name: ${{ github.event_name }}" - echo "PR Labels: ${{ toJSON(github.event.pull_request.labels.*.name) }}" - - TPP-MLIR-clang-deb: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Clang Debug Sanitizers - run: |- - echo "Event Name: ${{ github.event_name }}" - echo "PR Labels: ${{ toJSON(github.event.pull_request.labels.*.name) }}" + if [ ${{ github.event_name }} == "pull_request" ]; then + echo "Event Label: ${{ github.event.label.name }}" + echo "PR Labels: ${{ toJSON(github.event.pull_request.labels.*.name) }}" + fi + if [ ${{ github.event_name }} == "workflow_dispatch" ]; then + echo "RUN_EMR_BENCH: ${{ inputs.RUN_EMR_BENCH }}" + fi