From 77eab62c4d72143761d0355822cca94b6a93f62d Mon Sep 17 00:00:00 2001 From: Michael Chiou Date: Tue, 27 Aug 2024 15:44:25 -0700 Subject: [PATCH] #11762: update all workflows to include building docker image --- .github/workflows/bisect-dispatch.yaml | 4 ++++ .github/workflows/blackhole-post-commit.yaml | 4 ++++ .github/workflows/build-and-unit-tests-wrapper.yaml | 4 ++++ .github/workflows/build.yaml | 10 +++++----- .github/workflows/cpp-post-commit-wrapper.yaml | 4 ++++ .github/workflows/docs-latest-public-wrapper.yaml | 6 +++++- .../fast-dispatch-build-and-unit-tests-wrapper.yaml | 4 ++++ .../fast-dispatch-full-regressions-and-models.yaml | 4 ++++ .github/workflows/full-regressions-and-models.yaml | 4 ++++ .github/workflows/models-post-commit-wrapper.yaml | 4 ++++ .github/workflows/package-and-release.yaml | 5 +++++ .github/workflows/perf-device-models.yaml | 5 +++++ .github/workflows/perf-models.yaml | 5 +++++ .github/workflows/run-profiler-regression-wrapper.yaml | 5 +++++ .github/workflows/single-card-demo-tests.yaml | 5 +++++ .../stress-fast-dispatch-build-and-unit-tests.yaml | 5 +++++ .../stress-slow-dispatch-build-and-unit-tests.yaml | 5 +++++ .github/workflows/t3000-demo-tests.yaml | 5 +++++ .github/workflows/t3000-frequent-tests.yaml | 5 +++++ .github/workflows/t3000-model-perf-tests.yaml | 5 +++++ .github/workflows/t3000-nightly-tests.yaml | 5 +++++ .github/workflows/t3000-perplexity-tests.yaml | 5 +++++ .github/workflows/t3000-profiler-tests.yaml | 5 +++++ .github/workflows/t3000-unit-tests.yaml | 5 +++++ .github/workflows/test-dispatch.yaml | 5 +++++ .github/workflows/tg-demo-tests.yaml | 5 +++++ .github/workflows/tg-frequent-tests.yaml | 5 +++++ .github/workflows/tg-model-perf-tests.yaml | 5 +++++ .github/workflows/tg-nightly-tests.yaml | 5 +++++ .github/workflows/tg-unit-tests.yaml | 5 +++++ .github/workflows/tgg-demo-tests.yaml | 5 +++++ .github/workflows/tgg-frequent-tests.yaml | 5 +++++ .github/workflows/tgg-model-perf-tests.yaml | 5 +++++ .github/workflows/tgg-unit-tests.yaml | 5 +++++ .github/workflows/ttnn-post-commit-wrapper.yaml | 5 +++++ .github/workflows/ttnn-run-sweeps.yaml | 5 +++++ 36 files changed, 172 insertions(+), 6 deletions(-) diff --git a/.github/workflows/bisect-dispatch.yaml b/.github/workflows/bisect-dispatch.yaml index 80f08142264..3afdb00843e 100644 --- a/.github/workflows/bisect-dispatch.yaml +++ b/.github/workflows/bisect-dispatch.yaml @@ -29,7 +29,11 @@ on: run-name: ${{ inputs.description }} jobs: + build-docker-image: + uses: ./.github/workflows/build-docker-artifact.yaml + secrets: inherit build-artifact: + needs: build-docker-image uses: ./.github/workflows/build-artifact.yaml with: arch: '[ "${{ inputs.arch }}" ]' diff --git a/.github/workflows/blackhole-post-commit.yaml b/.github/workflows/blackhole-post-commit.yaml index 5582567b7a1..e51c84332c0 100644 --- a/.github/workflows/blackhole-post-commit.yaml +++ b/.github/workflows/blackhole-post-commit.yaml @@ -19,7 +19,11 @@ jobs: static-checks: uses: ./.github/workflows/all-static-checks.yaml secrets: inherit + build-docker-image: + uses: ./.github/workflows/build-docker-artifact.yaml + secrets: inherit build-artifact: + needs: build-docker-image uses: ./.github/workflows/build-artifact.yaml secrets: inherit with: diff --git a/.github/workflows/build-and-unit-tests-wrapper.yaml b/.github/workflows/build-and-unit-tests-wrapper.yaml index 1d9dc767873..bb20c387f69 100644 --- a/.github/workflows/build-and-unit-tests-wrapper.yaml +++ b/.github/workflows/build-and-unit-tests-wrapper.yaml @@ -4,7 +4,11 @@ on: workflow_dispatch: jobs: + build-docker-image: + uses: ./.github/workflows/build-docker-artifact.yaml + secrets: inherit build-artifact: + needs: build-docker-image uses: ./.github/workflows/build-artifact.yaml secrets: inherit diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 9b932af5f7e..1996dce0dbf 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -11,11 +11,11 @@ jobs: build: [ {type: Debug, cxx_compiler: clang++-17, c_compiler: clang-17, runs-on: ["build", "in-service"], os: ubuntu-20.04}, {type: RelWithDebInfo, cxx_compiler: clang++-17, c_compiler: clang-17, runs-on: ["build", "in-service"], os: ubuntu-20.04}, - # {type: Debug, cxx_compiler: clang++-17, c_compiler: clang-17, runs-on: ubuntu-22.04}, - # {type: RelWithDebInfo, cxx_compiler: clang++-17, c_compiler: clang-17, runs-on: ubuntu-22.04}, - # {type: Release, cxx_compiler: clang++-17, c_compiler: clang-17, runs-on: ubuntu-22.04}, - # {type: Debug, cxx_compiler: g++-12, c_compiler: gcc-12, runs-on: ubuntu-22.04, os: ubuntu-22.04}, - # {type: RelWithDebInfo, cxx_compiler: g++-12, c_compiler: gcc-12, runs-on: ubuntu-22.04, os: ubuntu-22.04}, + {type: Debug, cxx_compiler: clang++-17, c_compiler: clang-17, runs-on: ["build", "in-service"], os: ubuntu-22.04}, + {type: RelWithDebInfo, cxx_compiler: clang++-17, c_compiler: clang-17, runs-on: ["build", "in-service"], os: ubuntu-22.04}, + {type: Release, cxx_compiler: clang++-17, c_compiler: clang-17, runs-on: ["build", "in-service"], os: ubuntu-22.04}, + {type: Debug, cxx_compiler: g++-12, c_compiler: gcc-12, runs-on: ["build", "in-service"], os: ubuntu-22.04}, + {type: RelWithDebInfo, cxx_compiler: g++-12, c_compiler: gcc-12, runs-on: ["build", "in-service"], os: ubuntu-22.04}, {type: Release, cxx_compiler: g++-12, c_compiler: gcc-12, runs-on: ["build", "in-service"], os: ubuntu-22.04}, ] arch: [grayskull, wormhole_b0, blackhole] diff --git a/.github/workflows/cpp-post-commit-wrapper.yaml b/.github/workflows/cpp-post-commit-wrapper.yaml index cdc99fd5e43..9b0e83c4534 100644 --- a/.github/workflows/cpp-post-commit-wrapper.yaml +++ b/.github/workflows/cpp-post-commit-wrapper.yaml @@ -8,7 +8,11 @@ jobs: static-checks: uses: ./.github/workflows/all-static-checks.yaml secrets: inherit + build-docker-image: + uses: ./.github/workflows/build-docker-artifact.yaml + secrets: inherit build-artifact: + needs: build-docker-image uses: ./.github/workflows/build-artifact.yaml secrets: inherit cpp-unit-tests: diff --git a/.github/workflows/docs-latest-public-wrapper.yaml b/.github/workflows/docs-latest-public-wrapper.yaml index 09bc2f178cb..449517ad158 100644 --- a/.github/workflows/docs-latest-public-wrapper.yaml +++ b/.github/workflows/docs-latest-public-wrapper.yaml @@ -4,10 +4,14 @@ on: workflow_dispatch: jobs: + build-docker-image: + uses: ./.github/workflows/build-docker-artifact.yaml + secrets: inherit build-artifact: + needs: build-docker-image uses: ./.github/workflows/build-artifact.yaml secrets: inherit build-docs: needs: build-artifact uses: ./.github/workflows/docs-latest-public.yaml - secrets: inherit \ No newline at end of file + secrets: inherit diff --git a/.github/workflows/fast-dispatch-build-and-unit-tests-wrapper.yaml b/.github/workflows/fast-dispatch-build-and-unit-tests-wrapper.yaml index 846d9bf0ef6..a8ea09cc533 100644 --- a/.github/workflows/fast-dispatch-build-and-unit-tests-wrapper.yaml +++ b/.github/workflows/fast-dispatch-build-and-unit-tests-wrapper.yaml @@ -4,7 +4,11 @@ on: workflow_dispatch: jobs: + build-docker-image: + uses: ./.github/workflows/build-docker-artifact.yaml + secrets: inherit build-artifact: + needs: build-docker-image uses: ./.github/workflows/build-artifact.yaml secrets: inherit # FD Unit Tests diff --git a/.github/workflows/fast-dispatch-full-regressions-and-models.yaml b/.github/workflows/fast-dispatch-full-regressions-and-models.yaml index ba92052af86..a97203f86e6 100644 --- a/.github/workflows/fast-dispatch-full-regressions-and-models.yaml +++ b/.github/workflows/fast-dispatch-full-regressions-and-models.yaml @@ -7,7 +7,11 @@ on: - cron: "0 */2 * * *" jobs: + build-docker-image: + uses: ./.github/workflows/build-docker-artifact.yaml + secrets: inherit build-artifact: + needs: build-docker-image uses: ./.github/workflows/build-artifact.yaml secrets: inherit fd-nightly: diff --git a/.github/workflows/full-regressions-and-models.yaml b/.github/workflows/full-regressions-and-models.yaml index c06d12b5c75..9c04e7298bc 100644 --- a/.github/workflows/full-regressions-and-models.yaml +++ b/.github/workflows/full-regressions-and-models.yaml @@ -7,7 +7,11 @@ on: - cron: "0 1,6 * * *" jobs: + build-docker-image: + uses: ./.github/workflows/build-docker-artifact.yaml + secrets: inherit build-artifact: + needs: build-docker-image uses: ./.github/workflows/build-artifact.yaml secrets: inherit frequent-slow-dispatch: diff --git a/.github/workflows/models-post-commit-wrapper.yaml b/.github/workflows/models-post-commit-wrapper.yaml index be31f38a4ce..7f7329cea48 100644 --- a/.github/workflows/models-post-commit-wrapper.yaml +++ b/.github/workflows/models-post-commit-wrapper.yaml @@ -8,7 +8,11 @@ jobs: static-checks: uses: ./.github/workflows/all-static-checks.yaml secrets: inherit + build-docker-image: + uses: ./.github/workflows/build-docker-artifact.yaml + secrets: inherit build-artifact: + needs: build-docker-image uses: ./.github/workflows/build-artifact.yaml secrets: inherit models-unit-tests: diff --git a/.github/workflows/package-and-release.yaml b/.github/workflows/package-and-release.yaml index 29500109b78..cae6c8a43d5 100644 --- a/.github/workflows/package-and-release.yaml +++ b/.github/workflows/package-and-release.yaml @@ -11,10 +11,15 @@ permissions: packages: write jobs: + build-docker-image: + uses: ./.github/workflows/build-docker-artifact.yaml + secrets: inherit build-artifact: + needs: build-docker-image uses: ./.github/workflows/build-artifact.yaml secrets: inherit build-artifact-profiler: + needs: build-docker-image uses: ./.github/workflows/build-artifact.yaml with: tracy: true diff --git a/.github/workflows/perf-device-models.yaml b/.github/workflows/perf-device-models.yaml index 67ef9232f81..4f777f8d59d 100644 --- a/.github/workflows/perf-device-models.yaml +++ b/.github/workflows/perf-device-models.yaml @@ -7,7 +7,12 @@ on: workflow_call: jobs: + build-docker-image: + uses: ./.github/workflows/build-docker-artifact.yaml + secrets: inherit + build-artifact-profiler: + needs: build-docker-image uses: ./.github/workflows/build-artifact.yaml with: tracy: true diff --git a/.github/workflows/perf-models.yaml b/.github/workflows/perf-models.yaml index 6d131a6c718..123c5c193f5 100644 --- a/.github/workflows/perf-models.yaml +++ b/.github/workflows/perf-models.yaml @@ -7,7 +7,12 @@ on: workflow_call: jobs: + build-docker-image: + uses: ./.github/workflows/build-docker-artifact.yaml + secrets: inherit + build-artifact: + needs: build-docker-image uses: ./.github/workflows/build-artifact.yaml secrets: inherit models-perf: diff --git a/.github/workflows/run-profiler-regression-wrapper.yaml b/.github/workflows/run-profiler-regression-wrapper.yaml index 915e8580082..24b4816a16a 100644 --- a/.github/workflows/run-profiler-regression-wrapper.yaml +++ b/.github/workflows/run-profiler-regression-wrapper.yaml @@ -5,7 +5,12 @@ on: workflow_call: jobs: + build-docker-image: + uses: ./.github/workflows/build-docker-artifact.yaml + secrets: inherit + build-artifact-profiler: + needs: build-docker-image uses: ./.github/workflows/build-artifact.yaml with: tracy: true diff --git a/.github/workflows/single-card-demo-tests.yaml b/.github/workflows/single-card-demo-tests.yaml index 4918c0faa56..ef42e6452fb 100644 --- a/.github/workflows/single-card-demo-tests.yaml +++ b/.github/workflows/single-card-demo-tests.yaml @@ -8,7 +8,12 @@ on: - cron: "0 */4 * * 0,6" jobs: + build-docker-image: + uses: ./.github/workflows/build-docker-artifact.yaml + secrets: inherit + build-artifact: + needs: build-docker-image uses: ./.github/workflows/build-artifact.yaml with: arch: '["wormhole_b0"]' diff --git a/.github/workflows/stress-fast-dispatch-build-and-unit-tests.yaml b/.github/workflows/stress-fast-dispatch-build-and-unit-tests.yaml index 81d24a83835..87c727ded5d 100644 --- a/.github/workflows/stress-fast-dispatch-build-and-unit-tests.yaml +++ b/.github/workflows/stress-fast-dispatch-build-and-unit-tests.yaml @@ -6,7 +6,12 @@ on: - cron: "0 4 * * *" jobs: + build-docker-image: + uses: ./.github/workflows/build-docker-artifact.yaml + secrets: inherit + build-artifact: + needs: build-docker-image uses: ./.github/workflows/build-artifact.yaml secrets: inherit diff --git a/.github/workflows/stress-slow-dispatch-build-and-unit-tests.yaml b/.github/workflows/stress-slow-dispatch-build-and-unit-tests.yaml index a8305fd6828..119230a034b 100644 --- a/.github/workflows/stress-slow-dispatch-build-and-unit-tests.yaml +++ b/.github/workflows/stress-slow-dispatch-build-and-unit-tests.yaml @@ -6,7 +6,12 @@ on: - cron: "0 4 * * *" jobs: + build-docker-image: + uses: ./.github/workflows/build-docker-artifact.yaml + secrets: inherit + build-artifact: + needs: build-docker-image uses: ./.github/workflows/build-artifact.yaml secrets: inherit diff --git a/.github/workflows/t3000-demo-tests.yaml b/.github/workflows/t3000-demo-tests.yaml index 5ed80a3861d..94c66a303f1 100644 --- a/.github/workflows/t3000-demo-tests.yaml +++ b/.github/workflows/t3000-demo-tests.yaml @@ -7,7 +7,12 @@ on: workflow_call: jobs: + build-docker-image: + uses: ./.github/workflows/build-docker-artifact.yaml + secrets: inherit + build-artifact: + needs: build-docker-image uses: ./.github/workflows/build-artifact.yaml with: arch: '["wormhole_b0"]' diff --git a/.github/workflows/t3000-frequent-tests.yaml b/.github/workflows/t3000-frequent-tests.yaml index 8014b6d9f63..427626308a3 100644 --- a/.github/workflows/t3000-frequent-tests.yaml +++ b/.github/workflows/t3000-frequent-tests.yaml @@ -6,7 +6,12 @@ on: - cron: "0 */8 * * *" # This cron schedule runs the workflow every 8 hours jobs: + build-docker-image: + uses: ./.github/workflows/build-docker-artifact.yaml + secrets: inherit + build-artifact: + needs: build-docker-image uses: ./.github/workflows/build-artifact.yaml with: arch: '["wormhole_b0"]' diff --git a/.github/workflows/t3000-model-perf-tests.yaml b/.github/workflows/t3000-model-perf-tests.yaml index 3220d9a4782..8680fde6536 100644 --- a/.github/workflows/t3000-model-perf-tests.yaml +++ b/.github/workflows/t3000-model-perf-tests.yaml @@ -6,7 +6,12 @@ on: - cron: "0 */12 * * *" # This cron schedule runs the workflow every 12 hours jobs: + build-docker-image: + uses: ./.github/workflows/build-docker-artifact.yaml + secrets: inherit + build-artifact: + needs: build-docker-image uses: ./.github/workflows/build-artifact.yaml with: arch: '["wormhole_b0"]' diff --git a/.github/workflows/t3000-nightly-tests.yaml b/.github/workflows/t3000-nightly-tests.yaml index ce9ee839d37..e150a37f2c9 100644 --- a/.github/workflows/t3000-nightly-tests.yaml +++ b/.github/workflows/t3000-nightly-tests.yaml @@ -6,7 +6,12 @@ on: - cron: "0 21 * * *" jobs: + build-docker-image: + uses: ./.github/workflows/build-docker-artifact.yaml + secrets: inherit + build-artifact: + needs: build-docker-image uses: ./.github/workflows/build-artifact.yaml with: arch: '["wormhole_b0"]' diff --git a/.github/workflows/t3000-perplexity-tests.yaml b/.github/workflows/t3000-perplexity-tests.yaml index e4523755cc6..79b77bca5fc 100644 --- a/.github/workflows/t3000-perplexity-tests.yaml +++ b/.github/workflows/t3000-perplexity-tests.yaml @@ -6,7 +6,12 @@ on: - cron: "0 12 * * 6" # This cron schedule runs the workflow every saturday at 12pm jobs: + build-docker-image: + uses: ./.github/workflows/build-docker-artifact.yaml + secrets: inherit + build-artifact: + needs: build-docker-image uses: ./.github/workflows/build-artifact.yaml with: arch: '["wormhole_b0"]' diff --git a/.github/workflows/t3000-profiler-tests.yaml b/.github/workflows/t3000-profiler-tests.yaml index b63ecedf213..13c636865b4 100644 --- a/.github/workflows/t3000-profiler-tests.yaml +++ b/.github/workflows/t3000-profiler-tests.yaml @@ -7,7 +7,12 @@ on: - cron: "0 */8 * * *" # This cron schedule runs the workflow every 8 hours jobs: + build-docker-image: + uses: ./.github/workflows/build-docker-artifact.yaml + secrets: inherit + build-artifact-profiler: + needs: build-docker-image uses: ./.github/workflows/build-artifact.yaml with: arch: '["wormhole_b0"]' diff --git a/.github/workflows/t3000-unit-tests.yaml b/.github/workflows/t3000-unit-tests.yaml index ef7a5f1753d..00eb04508bb 100644 --- a/.github/workflows/t3000-unit-tests.yaml +++ b/.github/workflows/t3000-unit-tests.yaml @@ -6,7 +6,12 @@ on: - cron: "0 */3 * * *" # This cron schedule runs the workflow every 3 hours jobs: + build-docker-image: + uses: ./.github/workflows/build-docker-artifact.yaml + secrets: inherit + build-artifact: + needs: build-docker-image uses: ./.github/workflows/build-artifact.yaml with: arch: '["wormhole_b0"]' diff --git a/.github/workflows/test-dispatch.yaml b/.github/workflows/test-dispatch.yaml index f8369ad4ab3..e698ae7dafc 100644 --- a/.github/workflows/test-dispatch.yaml +++ b/.github/workflows/test-dispatch.yaml @@ -35,7 +35,12 @@ on: run-name: ${{ inputs.description }} jobs: + build-docker-image: + uses: ./.github/workflows/build-docker-artifact.yaml + secrets: inherit + build-artifact: + needs: build-docker-image uses: ./.github/workflows/build-artifact.yaml with: arch: '[ "${{ inputs.arch }}" ]' diff --git a/.github/workflows/tg-demo-tests.yaml b/.github/workflows/tg-demo-tests.yaml index f8b09938525..55a26ab646f 100644 --- a/.github/workflows/tg-demo-tests.yaml +++ b/.github/workflows/tg-demo-tests.yaml @@ -6,7 +6,12 @@ on: - cron: '0 0 * * 1,3,5' # This cron schedule runs the workflow every Monday/Wednesday/Friday at 12am UTC jobs: + build-docker-image: + uses: ./.github/workflows/build-docker-artifact.yaml + secrets: inherit + build-artifact: + needs: build-docker-image uses: ./.github/workflows/build-artifact.yaml with: arch: '["wormhole_b0"]' diff --git a/.github/workflows/tg-frequent-tests.yaml b/.github/workflows/tg-frequent-tests.yaml index d9834d3c5a6..ae0bbcc31e4 100644 --- a/.github/workflows/tg-frequent-tests.yaml +++ b/.github/workflows/tg-frequent-tests.yaml @@ -6,7 +6,12 @@ on: - cron: "0 */8 * * *" # This cron schedule runs the workflow every 8 hours jobs: + build-docker-image: + uses: ./.github/workflows/build-docker-artifact.yaml + secrets: inherit + build-artifact: + needs: build-docker-image uses: ./.github/workflows/build-artifact.yaml with: arch: '["wormhole_b0"]' diff --git a/.github/workflows/tg-model-perf-tests.yaml b/.github/workflows/tg-model-perf-tests.yaml index 16f759773c5..d209be886cf 100644 --- a/.github/workflows/tg-model-perf-tests.yaml +++ b/.github/workflows/tg-model-perf-tests.yaml @@ -6,7 +6,12 @@ on: - cron: "0 */12 * * *" # This cron schedule runs the workflow every 12 hours jobs: + build-docker-image: + uses: ./.github/workflows/build-docker-artifact.yaml + secrets: inherit + build-artifact: + needs: build-docker-image uses: ./.github/workflows/build-artifact.yaml with: arch: '["wormhole_b0"]' diff --git a/.github/workflows/tg-nightly-tests.yaml b/.github/workflows/tg-nightly-tests.yaml index b8aff862eb0..b9250189fa1 100644 --- a/.github/workflows/tg-nightly-tests.yaml +++ b/.github/workflows/tg-nightly-tests.yaml @@ -6,7 +6,12 @@ on: - cron: "0 21 * * *" jobs: + build-docker-image: + uses: ./.github/workflows/build-docker-artifact.yaml + secrets: inherit + build-artifact: + needs: build-docker-image uses: ./.github/workflows/build-artifact.yaml with: arch: '["wormhole_b0"]' diff --git a/.github/workflows/tg-unit-tests.yaml b/.github/workflows/tg-unit-tests.yaml index 8e57c69ac63..cbe699b9339 100644 --- a/.github/workflows/tg-unit-tests.yaml +++ b/.github/workflows/tg-unit-tests.yaml @@ -6,7 +6,12 @@ on: - cron: "0 */3 * * *" # This cron schedule runs the workflow every 3 hours jobs: + build-docker-image: + uses: ./.github/workflows/build-docker-artifact.yaml + secrets: inherit + build-artifact: + needs: build-docker-image uses: ./.github/workflows/build-artifact.yaml with: arch: '["wormhole_b0"]' diff --git a/.github/workflows/tgg-demo-tests.yaml b/.github/workflows/tgg-demo-tests.yaml index cf49778b209..2e800508468 100644 --- a/.github/workflows/tgg-demo-tests.yaml +++ b/.github/workflows/tgg-demo-tests.yaml @@ -6,7 +6,12 @@ on: - cron: '0 0 * * 6' # This cron schedule runs the workflow every Saturday at 12am UTC jobs: + build-docker-image: + uses: ./.github/workflows/build-docker-artifact.yaml + secrets: inherit + build-artifact: + needs: build-docker-image uses: ./.github/workflows/build-artifact.yaml with: arch: '["wormhole_b0"]' diff --git a/.github/workflows/tgg-frequent-tests.yaml b/.github/workflows/tgg-frequent-tests.yaml index bba1be92061..9455e25bf32 100644 --- a/.github/workflows/tgg-frequent-tests.yaml +++ b/.github/workflows/tgg-frequent-tests.yaml @@ -6,7 +6,12 @@ on: - cron: "0 */8 * * *" # This cron schedule runs the workflow every 8 hours jobs: + build-docker-image: + uses: ./.github/workflows/build-docker-artifact.yaml + secrets: inherit + build-artifact: + needs: build-docker-image uses: ./.github/workflows/build-artifact.yaml with: arch: '["wormhole_b0"]' diff --git a/.github/workflows/tgg-model-perf-tests.yaml b/.github/workflows/tgg-model-perf-tests.yaml index 285f1d31b0e..813f030415b 100644 --- a/.github/workflows/tgg-model-perf-tests.yaml +++ b/.github/workflows/tgg-model-perf-tests.yaml @@ -6,7 +6,12 @@ on: - cron: "0 */12 * * *" # This cron schedule runs the workflow every 12 hours jobs: + build-docker-image: + uses: ./.github/workflows/build-docker-artifact.yaml + secrets: inherit + build-artifact: + needs: build-docker-image uses: ./.github/workflows/build-artifact.yaml with: arch: '["wormhole_b0"]' diff --git a/.github/workflows/tgg-unit-tests.yaml b/.github/workflows/tgg-unit-tests.yaml index 0a836f83b4c..2b4bd28db77 100644 --- a/.github/workflows/tgg-unit-tests.yaml +++ b/.github/workflows/tgg-unit-tests.yaml @@ -6,7 +6,12 @@ on: - cron: "0 */3 * * *" # This cron schedule runs the workflow every 3 hours jobs: + build-docker-image: + uses: ./.github/workflows/build-docker-artifact.yaml + secrets: inherit + build-artifact: + needs: build-docker-image uses: ./.github/workflows/build-artifact.yaml with: arch: '["wormhole_b0"]' diff --git a/.github/workflows/ttnn-post-commit-wrapper.yaml b/.github/workflows/ttnn-post-commit-wrapper.yaml index b94be9dd0e3..d0c95de9cbb 100644 --- a/.github/workflows/ttnn-post-commit-wrapper.yaml +++ b/.github/workflows/ttnn-post-commit-wrapper.yaml @@ -8,7 +8,12 @@ jobs: static-checks: uses: ./.github/workflows/all-static-checks.yaml secrets: inherit + build-docker-image: + uses: ./.github/workflows/build-docker-artifact.yaml + secrets: inherit + build-artifact: + needs: build-docker-image uses: ./.github/workflows/build-artifact.yaml secrets: inherit ttnn-unit-tests: diff --git a/.github/workflows/ttnn-run-sweeps.yaml b/.github/workflows/ttnn-run-sweeps.yaml index 6f73869173d..fba19a034cb 100644 --- a/.github/workflows/ttnn-run-sweeps.yaml +++ b/.github/workflows/ttnn-run-sweeps.yaml @@ -4,7 +4,12 @@ on: workflow_dispatch: jobs: + build-docker-image: + uses: ./.github/workflows/build-docker-artifact.yaml + secrets: inherit + build-artifact: + needs: build-docker-image uses: ./.github/workflows/build-artifact.yaml secrets: inherit