mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-19 03:54:01 +00:00
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:
committed by
Ron Evans
parent
2a0a7722f9
commit
6c63a0d6e7
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user