Skip to content
Merged
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
7 changes: 5 additions & 2 deletions tfjs-backend-wasm/WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ git_repository(

http_archive(
name = "rules_cc",
strip_prefix = "rules_cc-master",
urls = ["https://github.com/bazelbuild/rules_cc/archive/master.zip"],
sha256 = "90d5a66950b492cbf86201cdc49c4b59796a85a4eb9fd63c07afe5f7132ea623",
strip_prefix = "rules_cc-8346df34b6593b051403b8e429db15c7f4ead937",
urls = [
"https://github.com/bazelbuild/rules_cc/archive/8346df34b6593b051403b8e429db15c7f4ead937.zip",
],
)
13 changes: 7 additions & 6 deletions tfjs-backend-wasm/cloudbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,13 @@ steps:
waitFor: ['build']

# Check bundle size.
- name: 'gcr.io/learnjs-174218/wasm'
dir: 'tfjs-backend-wasm'
id: 'test-bundle-size'
entrypoint: 'yarn'
args: ['test-bundle-size']
waitFor: ['yarn', 'build-deps', 'build']
# TODO(annxingyuan): Reenable once https://github.com/tensorflow/tfjs/pull/4012 is merged.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just curious why this refers to this PR itself (given that the fix is in the PR)? I'm sure there is a reason, just curious to what it might be.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This reminds me I need to move bundle testing to nightly asap! ^_^

# - name: 'gcr.io/learnjs-174218/wasm'
# dir: 'tfjs-backend-wasm'
# id: 'test-bundle-size'
# entrypoint: 'yarn'
# args: ['test-bundle-size']
# waitFor: ['yarn', 'build-deps', 'build']

# Lint bazel files.
- name: 'node:10'
Expand Down