blob: f18c1d392ad76ee783ba0e74c3f47d93ef9508ad [file] [log] [blame]
testgo:
go test -test.short ./go/...
.PHONY: testjs
testjs:
cd js && $(MAKE) test
.PHONY: sharedgo
sharedgo:
cd go && $(MAKE) all
#.PHONY: golden
#golden:
# cd golden && $(MAKE) all
.PHONY: perf
perf:
cd perf && $(MAKE) all
.PHONY: autoroll
autoroll:
cd autoroll && $(MAKE) all
.PHONY: cq_watcher
cq_watcher:
cd cq_watcher && $(MAKE) default
.PHONY: datahopper
datahopper:
cd datahopper && $(MAKE) all
.PHONY: ct
ct:
cd ct && $(MAKE) all
.PHONY: ctfe
ctfe:
cd ct && $(MAKE) ctfe
.PHONY: puppeteer-tests-npm-deps
puppeteer-tests-npm-deps:
cd puppeteer-tests && $(MAKE) all
.PHONY: infra-sk
infra-sk:
cd infra-sk && $(MAKE) all
.PHONY: push
push:
cd push && $(MAKE) default
.PHONY: status
status:
cd status && $(MAKE) all
.PHONY: fuzzer
fuzzer:
cd fuzzer && $(MAKE) all
.PHONY: skolo
skolo:
cd skolo && $(MAKE) all
.PHONY: task_scheduler
task_scheduler:
cd task_scheduler && $(MAKE) all
.PHONY: all
all: puppeteer-tests-npm-deps infra-sk autoroll datahopper perf sharedgo ct ctfe cq_watcher status task_scheduler
.PHONY: tags
tags:
-rm tags
find . -name "*.go" -print -or -name "*.js" -or -name "*.html" | xargs ctags --append
.PHONY: buildall
buildall:
go build ./...
.PHONY: puppeteer-tests
puppeteer-tests:
docker run --interactive --rm \
--mount type=bind,source=`pwd`,target=/src \
--mount type=bind,source=`pwd`/puppeteer-tests/output,target=/out \
gcr.io/skia-public/puppeteer-tests:latest \
/src/puppeteer-tests/docker/run-tests.sh
# Front-end tests will be included in the Infra-PerCommit-Medium tryjob.
.PHONY: test-frontend-ci
test-frontend-ci:
# infra-sk needs to be tested first because this pulls its npm dependencies
# with "npm ci", which are needed by other apps.
cd infra-sk && $(MAKE) test-frontend-ci
# Gold needs to be built second because other apps depend on
# //golden/modules/test_util.ts.
# TODO(lovisolo): Clean this up once test_util.ts is extracted out of Gold.
cd golden && $(MAKE) test-frontend-ci
# Other apps can be tested in alphabetical order.
cd am && $(MAKE) test-frontend-ci
cd ct && $(MAKE) test-frontend-ci
cd demos && $(MAKE) test-frontend-ci
cd golden && $(MAKE) test-frontend-ci
cd machine && $(MAKE) test-frontend-ci
cd perf && $(MAKE) test-frontend-ci
cd push && $(MAKE) test-frontend-ci