mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-11-04 12:53:43 +01:00 
			
		
		
		
	Build windows using golang 1.14 (#12489)
This commit is contained in:
		
							parent
							
								
									8a0049bb03
								
							
						
					
					
						commit
						eb60a5d054
					
				
							
								
								
									
										15
									
								
								.drone.yml
									
									
									
									
									
								
							
							
						
						
									
										15
									
								
								.drone.yml
									
									
									
									
									
								
							@ -425,14 +425,23 @@ steps:
 | 
				
			|||||||
    commands:
 | 
					    commands:
 | 
				
			||||||
      - git fetch --tags --force
 | 
					      - git fetch --tags --force
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  - name: static
 | 
					  - name: static-windows
 | 
				
			||||||
    pull: always
 | 
					    pull: always
 | 
				
			||||||
    image: techknowlogick/xgo:go-1.15.x
 | 
					    image: techknowlogick/xgo:go-1.14.x
 | 
				
			||||||
    commands:
 | 
					    commands:
 | 
				
			||||||
      - apt update && apt -y install curl
 | 
					      - apt update && apt -y install curl
 | 
				
			||||||
      - curl -sL https://deb.nodesource.com/setup_12.x | bash - && apt -y install nodejs
 | 
					      - curl -sL https://deb.nodesource.com/setup_12.x | bash - && apt -y install nodejs
 | 
				
			||||||
      - export PATH=$PATH:$GOPATH/bin
 | 
					      - export PATH=$PATH:$GOPATH/bin
 | 
				
			||||||
      - make release
 | 
					      - make frontend generate release-windows
 | 
				
			||||||
 | 
					    environment:
 | 
				
			||||||
 | 
					      GOPROXY: https://goproxy.cn # proxy.golang.org is blocked in China, this proxy is not
 | 
				
			||||||
 | 
					      TAGS: bindata sqlite sqlite_unlock_notify
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  - name: static
 | 
				
			||||||
 | 
					    pull: always
 | 
				
			||||||
 | 
					    image: techknowlogick/xgo:go-1.15.x
 | 
				
			||||||
 | 
					    commands:
 | 
				
			||||||
 | 
					      - make release-linux release-darwin release-copy release-compress release-sources release-docs release-check
 | 
				
			||||||
    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
 | 
				
			||||||
      TAGS: bindata sqlite sqlite_unlock_notify
 | 
					      TAGS: bindata sqlite sqlite_unlock_notify
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user