Skip to content

Commit b82519c

Browse files
lafriksbkcsoft
authored andcommitted
Move build without gcc step up so that it's binary is not used in docker (#3147)
1 parent 9563548 commit b82519c

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.drone.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,16 @@ pipeline:
5555
when:
5656
event: [ push, tag, pull_request ]
5757

58+
build-without-gcc:
59+
image: webhippie/golang:edge
60+
pull: true
61+
environment:
62+
GOPATH: /srv/app
63+
commands:
64+
- go build -o gitea_no_gcc # test if build succeeds without the sqlite tag
65+
when:
66+
event: [ push, tag, pull_request ]
67+
5868
build:
5969
image: webhippie/golang:edge
6070
pull: true
@@ -73,16 +83,6 @@ pipeline:
7383
when:
7484
event: [ push, tag, pull_request ]
7585

76-
build-without-gcc:
77-
image: webhippie/golang:edge
78-
pull: true
79-
environment:
80-
GOPATH: /srv/app
81-
commands:
82-
- go build # test if build succeeds without the sqlite tag
83-
when:
84-
event: [ push, tag, pull_request ]
85-
8686
test:
8787
image: webhippie/golang:edge
8888
pull: true

0 commit comments

Comments
 (0)