ci: try re-ordering for optimizing time

This commit is contained in:
Antoine GIRARD 2020-01-12 06:03:03 +01:00
parent dff29f12c8
commit 25853375d9

View file

@ -25,7 +25,6 @@ steps:
GO111MODULE: on GO111MODULE: on
GOPROXY: off GOPROXY: off
commands: commands:
- curl -sL https://deb.nodesource.com/setup_12.x | bash - && apt -y install nodejs
- go build -mod=vendor -o gitea_no_gcc # test if build succeeds without the sqlite tag - go build -mod=vendor -o gitea_no_gcc # test if build succeeds without the sqlite tag
- name: build-linux-386 - name: build-linux-386
@ -37,7 +36,6 @@ steps:
GOOS: linux GOOS: linux
GOARCH: 386 GOARCH: 386
commands: commands:
- curl -sL https://deb.nodesource.com/setup_12.x | bash - && apt -y install nodejs
- go build -mod=vendor -o gitea_linux_386 # test if compatible with 32 bit - go build -mod=vendor -o gitea_linux_386 # test if compatible with 32 bit
- name: check - name: check