Makefile: build static binaries only

This replaces the older way which just does the following:

    go install .

and

    go test -v .

Instead, `make` and `make test` will now build TinyGo statically linked
against LLVM, so that `go install` and `go test -v` should be used
manually.
This commit is contained in:
Ayke van Laethem
2019-04-16 15:08:40 +02:00
committed by Ron Evans
parent 2a0a7722f9
commit 6c63a0d6e7
3 changed files with 7 additions and 14 deletions
+3 -3
View File
@@ -87,7 +87,7 @@ commands:
- go-cache-{{ checksum "Gopkg.lock" }}
- dep
- run: go install .
- run: make test
- run: go test -v
- run: make gen-device -j4
- smoketest
- save_cache:
@@ -162,7 +162,7 @@ commands:
- dep
- run:
name: "Test TinyGo"
command: make static-test
command: make test
- run:
name: "Build TinyGo release"
command: |
@@ -227,7 +227,7 @@ commands:
command: dep ensure --vendor-only
- run:
name: "Test TinyGo"
command: make static-test
command: make test
- run:
name: "Build TinyGo release"
command: |