Skip to content

Compile cpu #48

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
17 changes: 17 additions & 0 deletions .github/workflows/docker-presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,20 @@ jobs:
cache-from: type=registry,ref=tensorflow/build:latest-${{ matrix.python-version }}
cache-to: type=inline

compile:
needs: docker
runs-on: ubuntu-latest
container: tensorflow/build:latest-python3.10
steps:
-
name: Checkout tensorflow nightly sources
run: |
git clone --single-branch https://github.com/tensorflow/tensorflow.git /tf/tensorflow
cd /tf/tensorflow
git checkout nightly
-
name: Configure and build TF CPU with remote cache
working-directory: /tf/tensorflow
run: |
bash -c "bazel --bazelrc=/usertools/cpu.bazelrc build \
--config=sigbuild_remote_cache tensorflow/tools/pip_package:build_pip_package"
Empty file.