|
|
@ -61,8 +61,7 @@ steps: |
|
|
|
GOARCH: arm64 |
|
|
|
GOARCH: arm64 |
|
|
|
TAGS: bindata |
|
|
|
TAGS: bindata |
|
|
|
commands: |
|
|
|
commands: |
|
|
|
- curl -sL https://deb.nodesource.com/setup_12.x | bash - && apt -y install nodejs |
|
|
|
- make backend # test cross compile |
|
|
|
- make build # test cross compile |
|
|
|
|
|
|
|
- rm ./gitea # clean |
|
|
|
- rm ./gitea # clean |
|
|
|
depends_on: [lint-backend] |
|
|
|
depends_on: [lint-backend] |
|
|
|
|
|
|
|
|
|
|
@ -153,8 +152,7 @@ steps: |
|
|
|
pull: always |
|
|
|
pull: always |
|
|
|
image: golang:1.14 |
|
|
|
image: golang:1.14 |
|
|
|
commands: |
|
|
|
commands: |
|
|
|
- curl -sL https://deb.nodesource.com/setup_12.x | bash - && apt -y install nodejs |
|
|
|
- make backend |
|
|
|
- make build |
|
|
|
|
|
|
|
environment: |
|
|
|
environment: |
|
|
|
GOPROXY: https://goproxy.cn # proxy.golang.org is blocked in China, this proxy is not |
|
|
|
GOPROXY: https://goproxy.cn # proxy.golang.org is blocked in China, this proxy is not |
|
|
|
GOSUMDB: sum.golang.org |
|
|
|
GOSUMDB: sum.golang.org |
|
|
@ -300,8 +298,7 @@ steps: |
|
|
|
pull: always |
|
|
|
pull: always |
|
|
|
image: golang:1.14 |
|
|
|
image: golang:1.14 |
|
|
|
commands: |
|
|
|
commands: |
|
|
|
- curl -sL https://deb.nodesource.com/setup_12.x | bash - && apt -y install nodejs |
|
|
|
- make backend |
|
|
|
- make build |
|
|
|
|
|
|
|
environment: |
|
|
|
environment: |
|
|
|
GOPROXY: https://goproxy.cn # proxy.golang.org is blocked in China, this proxy is not |
|
|
|
GOPROXY: https://goproxy.cn # proxy.golang.org is blocked in China, this proxy is not |
|
|
|
GOSUMDB: sum.golang.org |
|
|
|
GOSUMDB: sum.golang.org |
|
|
|