Add new targets for continuous integration to fix cloud build.
Bug: skia:
Change-Id: Iecb82c6e31794efb79d33872643eb8d839892c0b
Reviewed-on: https://skia-review.googlesource.com/155820
Auto-Submit: Joe Gregorio <jcgregorio@google.com>
Reviewed-by: Ravi Mistry <rmistry@google.com>
Commit-Queue: Ravi Mistry <rmistry@google.com>
diff --git a/fiddlek/Makefile b/fiddlek/Makefile
index 976de95..0c79afb 100644
--- a/fiddlek/Makefile
+++ b/fiddlek/Makefile
@@ -30,6 +30,14 @@
./build_fiddle_release
./build_fiddler_release
+.PHONY: release_ci
+release_ci: build
+ # Don't docker pull here, as we are in the CI pipeline and it already has
+ # done the pull.
+ CGO_ENABLED=0 GOOS=linux go install -a ./go/fiddle
+ ./build_fiddle_release
+ ./build_fiddler_release
+
.PHONY: push
push: release skia-public
pushk fiddle fiddler
diff --git a/skottie/Makefile b/skottie/Makefile
index f1c573c..854ebf0 100644
--- a/skottie/Makefile
+++ b/skottie/Makefile
@@ -6,6 +6,12 @@
npx webpack --mode=production
./build_release
+release_ci: app
+ # Don't docker pull here, as we are in the CI pipeline and it already has
+ # done the pull.
+ npx webpack --mode=production
+ ./build_release
+
serve: app
npx webpack-dev-server --mode=development --watch