mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-29 10:57:44 +09:00 
			
		
		
		
	Move build without gcc step up so that it's binary is not used in docker (#3147)
This commit is contained in:
		
				
					committed by
					
						 Kim "BKC" Carlbäcker
						Kim "BKC" Carlbäcker
					
				
			
			
				
	
			
			
			
						parent
						
							956354885a
						
					
				
				
					commit
					b82519cadc
				
			
							
								
								
									
										20
									
								
								.drone.yml
									
									
									
									
									
								
							
							
						
						
									
										20
									
								
								.drone.yml
									
									
									
									
									
								
							| @@ -55,6 +55,16 @@ pipeline: | ||||
|     when: | ||||
|       event: [ push, tag, pull_request ] | ||||
|  | ||||
|   build-without-gcc: | ||||
|     image: webhippie/golang:edge | ||||
|     pull: true | ||||
|     environment: | ||||
|       GOPATH: /srv/app | ||||
|     commands: | ||||
|       - go build -o gitea_no_gcc # test if build succeeds without the sqlite tag | ||||
|     when: | ||||
|       event: [ push, tag, pull_request ] | ||||
|  | ||||
|   build: | ||||
|     image: webhippie/golang:edge | ||||
|     pull: true | ||||
| @@ -73,16 +83,6 @@ pipeline: | ||||
|     when: | ||||
|       event: [ push, tag, pull_request ] | ||||
|  | ||||
|   build-without-gcc: | ||||
|     image: webhippie/golang:edge | ||||
|     pull: true | ||||
|     environment: | ||||
|       GOPATH: /srv/app | ||||
|     commands: | ||||
|       - go build # test if build succeeds without the sqlite tag | ||||
|     when: | ||||
|       event: [ push, tag, pull_request ] | ||||
|  | ||||
|   test: | ||||
|     image: webhippie/golang:edge | ||||
|     pull: true | ||||
|   | ||||
		Reference in New Issue
	
	Block a user