diff --git a/.github/workflows/run-build.yml b/.github/workflows/run-build.yml index f8fc68b8..d6ce7df6 100644 --- a/.github/workflows/run-build.yml +++ b/.github/workflows/run-build.yml @@ -1,4 +1,4 @@ -name: Build and Test +name: Build on: workflow_dispatch: @@ -84,7 +84,7 @@ jobs: # # Run tests on TT hardware - build-and-run-tests: + build: timeout-minutes: 120 strategy: fail-fast: false @@ -151,22 +151,11 @@ jobs: - name: Copy tt-metal binaries shell: bash working-directory: ${{ steps.strings.outputs.install-output-dir }} - run: cp ${{ steps.strings.outputs.work-dir }}/third_party/tt-mlir/src/tt-mlir/third_party/tt-metal/src/tt-metal-build/lib/*.so lib/ - - - name: Copy libfmt - shell: bash - working-directory: ${{ steps.strings.outputs.install-output-dir }} - run: cp ${{ steps.strings.outputs.work-dir }}/third_party/tt-mlir/src/tt-mlir/third_party/tt-metal/src/tt-metal-build/_deps/fmt-build/*.so* lib/ - - - name: Copy libnng - shell: bash - working-directory: ${{ steps.strings.outputs.install-output-dir }} - run: cp ${{ steps.strings.outputs.work-dir }}/third_party/tt-mlir/src/tt-mlir/third_party/tt-metal/src/tt-metal-build/_deps/nanomsg-build/*.so* lib/ - - - name: Copy libuv - shell: bash - working-directory: ${{ steps.strings.outputs.install-output-dir }} - run: cp ${{ steps.strings.outputs.work-dir }}/third_party/tt-mlir/src/tt-mlir/third_party/tt-metal/src/tt-metal-build/_deps/libuv-build/*.so* lib/ + run: | + cp ${{ steps.strings.outputs.work-dir }}/third_party/tt-mlir/src/tt-mlir/third_party/tt-metal/src/tt-metal-build/lib/*.so lib/ + cp ${{ steps.strings.outputs.work-dir }}/third_party/tt-mlir/src/tt-mlir/third_party/tt-metal/src/tt-metal-build/_deps/fmt-build/*.so* lib/ + cp ${{ steps.strings.outputs.work-dir }}/third_party/tt-mlir/src/tt-mlir/third_party/tt-metal/src/tt-metal-build/_deps/nanomsg-build/*.so* lib/ + cp ${{ steps.strings.outputs.work-dir }}/third_party/tt-mlir/src/tt-mlir/third_party/tt-metal/src/tt-metal-build/_deps/libuv-build/*.so* lib/ - name: Copy tt-metal directories shell: bash diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 82472a43..b6789ce3 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -1,4 +1,4 @@ -name: Test +name: Run Tests on: workflow_dispatch: @@ -80,5 +80,6 @@ jobs: - name: Run ONNX tests shell: bash run: | + source env/activate export LD_LIBRARY_PATH="/opt/ttmlir-toolchain/lib/:${{ steps.strings.outputs.install-output-dir }}/lib:${{ steps.strings.outputs.build-output-dir }}/lib:./lib/:${LD_LIBRARY_PATH}" pytest -v tests/onnx