From 3bd9dce47fe2f14352b7ef29fe02b776a683136c Mon Sep 17 00:00:00 2001 From: Robert Konicar Date: Tue, 28 May 2024 18:25:19 +0200 Subject: [PATCH] gh: Cleanup inclusion of runs with disabled unsupported dialect. --- .github/workflows/prerelease.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index 4b7dab2001..2140180c59 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -84,7 +84,10 @@ jobs: llvm-version: [18] image-version: [22.04] vast-target: ['hl', 'llvm', 'bin'] - disable-unsup: ['ON', 'OFF'] + disable-unsup: ['OFF'] + include: + - vast-target: 'hl' + disable-unsup: 'ON' runs-on: ubuntu-${{ matrix.image-version }} timeout-minutes: 60 @@ -93,12 +96,6 @@ jobs: ghcr.io/trailofbits/vast-ubuntu-${{ matrix.image-version }}-llvm-${{ matrix.llvm-version }}-dev:latest steps: - - name: Check unsup - run: | - if [ "${{ matrix.disable-unsup }}" == "ON" && ${{ matrix.vast-target }} != 'hl' ]; then - exit 0 - fi - - name: Fetch VAST artifact uses: actions/download-artifact@v4 with: @@ -142,13 +139,13 @@ jobs: - name: Collect run data (mlir) if: matrix.vast-target != 'bin' working-directory: ./llvm-test-suite/build - run: python3 ../utils/mlir_compile_json_gen.py >> ../../results-${{ matrix.vast-target }}.json + run: python3 ../utils/mlir_compile_json_gen.py >> ../../results-${{ matrix.vast-target }}-${{ matrix.disable-unsup }}.json - name: Collect run data (bin) continue-on-error: true if: matrix.vast-target == 'bin' working-directory: ./llvm-test-suite/build - run: lit --timeout=360 -v -o ../../results-${{ matrix.vast-target }}.json . + run: lit --timeout=360 -v -o ../../results-${{ matrix.vast-target }}-${{ matrix.disable-unsup }}.json . - name: Upload results uses: actions/upload-artifact@v4 @@ -207,7 +204,10 @@ jobs: llvm-version: [18] image-version: [22.04] vast-target: ['hl'] - disable-unsup: [true, false] + disable-unsup: [false] + include: + - vast-target: 'hl' + disable-unsup: true runs-on: ubuntu-${{ matrix.image-version }} timeout-minutes: 360