Skip to content
Closed
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
70c8b37
Take advantage of more larger job runners
mhucka Dec 6, 2025
fd17cd8
Need to specify container when using self-hosted runners
mhucka Dec 6, 2025
4960c3a
The runners seem to be missing lsb-release
mhucka Dec 6, 2025
749f1de
Avoid long lines
mhucka Dec 6, 2025
916661b
Tell dpkg not to prompt
mhucka Dec 7, 2025
3f0eb3a
Try alternative way to prevent promptinig
mhucka Dec 7, 2025
36bc8c0
Guess you need apt-get update after all
mhucka Dec 7, 2025
1dde7cf
May not need to remove software with new runners
mhucka Dec 7, 2025
016ea74
Bring back lsb-release
mhucka Dec 7, 2025
978d413
Try remove bazelrc file
mhucka Dec 7, 2025
5582d7a
Use linux-x86-n2-32 for wheel test too
mhucka Dec 7, 2025
edb70e3
Adjustments
mhucka Dec 7, 2025
41fa28d
Install lsb-release in tutorial tests job too
mhucka Dec 7, 2025
052e910
One more place for lsb-release
mhucka Dec 7, 2025
2f31e3e
Need to do the same in all jobs
mhucka Dec 7, 2025
8c169af
Try another way
mhucka Dec 7, 2025
cc43bdc
Try yet another way
mhucka Dec 7, 2025
8857f10
Try yet another way
mhucka Dec 7, 2025
986072b
Wrap up
mhucka Dec 7, 2025
519fdab
Try sharding the tutorial tests
mhucka Dec 7, 2025
8d27310
Fix syntax error
mhucka Dec 7, 2025
8483a9f
Try yet another way
mhucka Dec 7, 2025
ace37ae
Try different sharding
mhucka Dec 7, 2025
b0ceeff
test
mhucka Dec 7, 2025
f672e28
Yet another test
mhucka Dec 7, 2025
d0954d2
Yet another test
mhucka Dec 7, 2025
b9f2b56
test order
mhucka Dec 7, 2025
5568968
Give up
mhucka Dec 7, 2025
9794cae
Try different parallelism approach
mhucka Dec 7, 2025
3c42039
Install updated dependencies
mhucka Dec 7, 2025
2a89c6c
Give up
mhucka Dec 7, 2025
2d5f5d1
Don't need the big runner for the wheel test
mhucka Dec 7, 2025
b4cd7d8
Remove left-over
mhucka Dec 7, 2025
9573c82
Don't need to do the ml-build setup on regular runners
mhucka Dec 8, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 22 additions & 13 deletions .github/workflows/ci-build-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,22 +45,26 @@ jobs:
cache: pip
- name: Install Bazel on CI
run: ./scripts/ci_install.sh
- name: Configure CI TF
run: echo "Y\n" | ./configure.sh
- name: Build Wheel Test
- name: Build & test wheel for TFQ
run: ./scripts/build_pip_package_test.sh
- name: Test Wheel
run: ./scripts/run_example.sh

bazel-tests:
name: Library tests
runs-on: ubuntu-22.04
runs-on: linux-x86-n2-32
container:
image: us-docker.pkg.dev/ml-oss-artifacts-published/ml-public-container/ml-build:latest
timeout-minutes: 60

steps:
- name: Adjust the ml-build runner to our needs
run: |
# lsb-release (needed by setup-python) is missing in ml-build runners
sudo apt-get update && sudo apt-get install -y lsb-release
# This file, though it's empty, hangs the Bazel install step.
rm -f /etc/bazel.bazelrc
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- name: Remove some unnecessary software to free up disk space
run: sudo rm -rf /usr/share/dotnet /usr/local/lib/android &
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v5
with:
python-version: '3.10'
Expand All @@ -69,7 +73,7 @@ jobs:
- name: Install Bazel on CI
run: ./scripts/ci_install.sh
- name: Configure CI TF
run: echo "Y\n" | ./configure.sh
run: printf "Y\n" | ./configure.sh
- name: Full Library Test
run: ./scripts/test_all.sh

Expand All @@ -91,17 +95,24 @@ jobs:
# - name: Install Bazel on CI
# run: ./scripts/ci_install.sh
# - name: Configure CI TF
# run: echo "Y\n" | ./configure.sh
# run: printf "Y\n" | ./configure.sh
# - name: Leak Test qsim and src
# run: ./scripts/msan_test.sh

tutorials-test:
name: Tutorial tests
runs-on: ubuntu-22.04
needs: wheel-build
runs-on: linux-x86-n2-32
container:
image: us-docker.pkg.dev/ml-oss-artifacts-published/ml-public-container/ml-build:latest
timeout-minutes: 60

steps:
- name: Adjust the ml-build runner to our needs
run: |
# lsb-release (needed by setup-python) is missing in ml-build runners
sudo apt-get update && sudo apt-get install -y lsb-release
# This file, though it's empty, hangs the Bazel install step.
rm -f /etc/bazel.bazelrc
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v5
with:
Expand All @@ -112,9 +123,7 @@ jobs:
run: pip install --upgrade pip seaborn==0.10.0
- name: Install Bazel on CI
run: ./scripts/ci_install.sh
- name: Configure CI TF
run: echo "Y\n" | ./configure.sh
- name: Build Wheel
- name: Build TFQ Wheel
run: ./scripts/build_pip_package_test.sh
- name: Test Notebooks
run: ./scripts/ci_validate_tutorials.sh
Loading