Skip to content

Commit

Permalink
force ci
Browse files Browse the repository at this point in the history
  • Loading branch information
tapspatel committed Aug 26, 2024
1 parent 7384842 commit c96109a
Showing 1 changed file with 13 additions and 23 deletions.
36 changes: 13 additions & 23 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,6 @@ jobs:
source env/activate
cmake --build ${{ steps.strings.outputs.build-output-dir }} -- ttrt
- name: Run Test
shell: bash
run: |
source env/activate
cmake --build ${{ steps.strings.outputs.build-output-dir }} -- check-ttmlir
- name: Get the latest tag
id: get_tag
run: |
Expand All @@ -103,23 +97,10 @@ jobs:
name: ttrt-whl-${{ matrix.build.name }}.whl
path: build/runtime/tools/python/build/*.whl

- name: Upload Test Report
uses: actions/upload-artifact@v4
with:
name: test-reports-${{ matrix.build.runs-on }}-runtime-ON-perf-${{ matrix.build.enable_perf }}
path: build/test/report.xml

- name: Show Test Report
uses: mikepenz/action-junit-report@v4
if: success() || failure()
with:
report_paths: build/test/report.xml
check_name: MLIR Tests

- name: Upload build foder to archive
uses: actions/upload-artifact@v4
with:
name: build-artifacts
name: build-artifacts-${{ matrix.build.name }}
path: build

get-system-descs:
Expand Down Expand Up @@ -176,7 +157,8 @@ jobs:
fail-fast: false
matrix:
build: [
{runs-on: self-hosted},
{runs-on: self-hosted, enable_perf: OFF, name: "runtime"},
{runs-on: self-hosted, enable_perf: ON, name: "perf"},
]

runs-on: ${{ matrix.build.runs-on }}
Expand All @@ -203,7 +185,7 @@ jobs:
- name: Use build artifacts
uses: actions/download-artifact@v4
with:
name: build-artifacts
name: build-artifacts-${{ matrix.build.name }}
path: build

- name: Config compiler
Expand All @@ -216,7 +198,9 @@ jobs:
-DCMAKE_C_COMPILER=clang-17 \
-DCMAKE_BUILD_TYPE=Release \
-DTTMLIR_ENABLE_RUNTIME=ON \
-DTTMLIR_ENABLE_RUNTIME_TESTS=ON
-DTTMLIR_ENABLE_RUNTIME_TESTS=ON \
-DTT_RUNTIME_ENABLE_PERF_TRACE=${{ matrix.build.enable_perf }} \
-DTTMLIR_ENABLE_STABLEHLO=ON \
- name: Download n150 system descriptor
uses: actions/download-artifact@v4
Expand All @@ -228,6 +212,12 @@ jobs:
with:
name: system-desc-n300.ttsys

- name: Run host side tests
shell: bash
run: |
source env/activate
cmake --build ${{ steps.strings.outputs.build-output-dir }} -- check-ttmlir
- name: Run test cases against n150 system
shell: bash
run: |
Expand Down

0 comments on commit c96109a

Please sign in to comment.