diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2021-09-30 14:16:24 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2021-09-30 15:23:11 +0200 |
| commit | 34b9b3c74ac5b10706e32142566a63c4d21d933e (patch) | |
| tree | e1a2afe32c44a6bae6c7c57440554a18343b1c67 /Makefile | |
| parent | c95c6fe590fc5b9f8985698f9deba36479090280 (diff) | |
Makefile: test appengine app build locally
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -327,6 +327,12 @@ presubmit_arch: descriptions presubmit_big: descriptions # This target runs on CI in syz-big-env, # so we test packages that need GCloud SDK or OS toolchains. +ifneq (, $(shell which go1.12)) + # Test Appengine app build locally with Go 1.12 (syz-big-env has it). + # The actual build happens with Go 1.11, but local build fails with 1.11, + # so we use 1.12 as the best working approximation. + GO111MODULE=off go1.12 install ./dashboard/app +endif $(GO) test -short -coverprofile=.coverage.txt ./dashboard/app ./pkg/csource ./pkg/cover presubmit_race: descriptions |
