-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
### Ticket #14393 ### Problem description Move BH pipeline to 22.04 ### What's changed * Plumb the correct version of Python to the wheel builder * Install the repo to be able to run the unit tests -- not really sure why it fails in 22.04 but was okay with 20.04. ### Checklist - [x] Post commit CI passes https://github.com/tenstorrent/tt-metal/actions/runs/12300743997 - [x] Blackhole Post commit (if applicable) https://github.com/tenstorrent/tt-metal/actions/runs/12289973402
- Loading branch information
1 parent
52cc437
commit 3bf0fd6
Showing
5 changed files
with
28 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,6 +31,17 @@ jobs: | |
os: ${{ inputs.os }} | ||
- name: Clean up dirty files | ||
run: git clean -f -d | ||
- name: Set Python Version | ||
id: python-version | ||
run: | | ||
if [[ "${{ inputs.os }}" == "ubuntu-20.04" ]]; then | ||
echo "python-version=3.8" >> $GITHUB_ENV | ||
elif [[ "${{ inputs.os }}" == "ubuntu-22.04" ]]; then | ||
echo "python-version=3.10" >> $GITHUB_ENV | ||
else | ||
echo "Unsupported OS version: ${{ inputs.os }}" | ||
exit 1 | ||
fi | ||
- uses: actions/[email protected] | ||
with: | ||
cache: 'pip' | ||
|
@@ -47,6 +58,7 @@ jobs: | |
if: ${{ inputs.from-precompiled }} | ||
with: | ||
arch: ${{ inputs.arch }} | ||
python-version: ${{ env.python-version }} | ||
- name: Set precompiled dir for precompile builds | ||
if: ${{ inputs.from-precompiled }} | ||
# TT_FROM_PRECOMPILED_DIR env variable allows us to not re-run the full C++ build and instead | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters