6543 
							
						 
					 
					
						
						
							
						
						e54b32493d 
					 
					
						
						
							
							fix pipeline to release builds ( #479 )  
						
						... 
						
						
						
						fix regression of #478 
Reviewed-on: https://gitea.com/gitea/tea/pulls/479 
Reviewed-by: Andrew Thornton <art27@cantab.net >
Reviewed-by: John Olheiser <john.olheiser@gmail.com > 
						
						
					 
					
						2022-03-29 08:29:47 +08:00 
						 
				 
			
				
					
						
							
							
								6543 
							
						 
					 
					
						
						
							
						
						d06f35482e 
					 
					
						
						
							
							Use golang v1.18 and drop vendor folder ( #478 )  
						
						... 
						
						
						
						* remove vendor folder
* use golang v1.18 in ci
* use "go install"
* use vendor folder as cache
Reviewed-on: https://gitea.com/gitea/tea/pulls/478 
Reviewed-by: techknowlogick <techknowlogick@gitea.io >
Reviewed-by: John Olheiser <john.olheiser@gmail.com > 
						
						
					 
					
						2022-03-29 07:11:11 +08:00 
						 
				 
			
				
					
						
							
							
								Norwin 
							
						 
					 
					
						
						
							
						
						a7d83ee416 
					 
					
						
						
							
							Simplify build & update installation instructions ( #437 )  
						
						... 
						
						
						
						- "revert" the work done in #349 . It turns out that this elaborate workaround to get statically built PIEs was only needed due to a bug in go, which got fixed in go 1.16.
- Add an exception to the `-buildmode=pie` flag for OpenBSD, as discovered in #436 
- Simplify & update README installation instructions (the Arch AUR package got deleted as it wasn't maintained, so we link to `gitea-tea-git` now.)
Co-authored-by: Norwin <git@nroo.de >
Reviewed-on: https://gitea.com/gitea/tea/pulls/437 
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-by: 6543 <6543@obermui.de >
Co-authored-by: Norwin <noerw@noreply.gitea.io >
Co-committed-by: Norwin <noerw@noreply.gitea.io > 
						
						
					 
					
						2021-12-03 04:01:10 +08:00 
						 
				 
			
				
					
						
							
							
								Norwin 
							
						 
					 
					
						
						
							
						
						555f1ae516 
					 
					
						
						
							
							Makefile: add STATIC=true for static PIE builds ( #349 )  
						
						... 
						
						
						
						- `make build` + `make install` now support the `STATIC=true` parameter, creating statically linked builds that are also position independent executables
- this requires CGO and a static libc on the build system
- `CGO_ENABLED=0` is set for all make build targets, unless `STATIC=true` is set
- Debug symbols are stripped (`-s -w`) for all make build targets
- Release binaries are built statically by gox (no PIE), as before.
I also took the liberty to declutter the makefile from unused & duplicated variables.
Co-authored-by: Norwin Roosen <git@nroo.de >
Co-authored-by: 6543 <6543@obermui.de >
Reviewed-on: https://gitea.com/gitea/tea/pulls/349 
Reviewed-by: Andrew Thornton <art27@cantab.net >
Reviewed-by: 6543 <6543@obermui.de >
Co-authored-by: Norwin <noerw@noreply.gitea.io >
Co-committed-by: Norwin <noerw@noreply.gitea.io > 
						
						
					 
					
						2021-09-24 00:01:07 +08:00 
						 
				 
			
				
					
						
							
							
								Norwin 
							
						 
					 
					
						
						
							
						
						46945415c9 
					 
					
						
						
							
							Enable release builds for darwin/arm64 ( #360 )  
						
						... 
						
						
						
						Co-authored-by: Norwin Roosen <git@nroo.de >
Reviewed-on: https://gitea.com/gitea/tea/pulls/360 
Reviewed-by: techknowlogick <techknowlogick@gitea.io >
Reviewed-by: 6543 <6543@obermui.de >
Co-authored-by: Norwin <noerw@noreply.gitea.io >
Co-committed-by: Norwin <noerw@noreply.gitea.io > 
						
						
					 
					
						2021-05-11 08:03:39 +08:00 
						 
				 
			
				
					
						
							
							
								Tamás Gérczei 
							
						 
					 
					
						
						
							
						
						195bd2199c 
					 
					
						
						
							
							contributed container build definition ( #350 )  
						
						... 
						
						
						
						as discussed with @noerw on Discord
Co-authored-by: Tamás Gérczei <tamas@gerczei.eu >
Reviewed-on: https://gitea.com/gitea/tea/pulls/350 
Reviewed-by: 6543 <6543@obermui.de >
Reviewed-by: Norwin <noerw@noreply.gitea.io >
Reviewed-by: techknowlogick <techknowlogick@gitea.io >
Co-authored-by: Tamás Gérczei <tgerczei@noreply.gitea.io >
Co-committed-by: Tamás Gérczei <tgerczei@noreply.gitea.io > 
						
						
					 
					
						2021-03-30 19:13:23 +08:00 
						 
				 
			
				
					
						
							
							
								Norwin 
							
						 
					 
					
						
						
							
						
						f5b0004a52 
					 
					
						
						
							
							make install: use vendor dir ( #292 )  
						
						... 
						
						
						
						make install: use vendor dir
Co-authored-by: Norwin Roosen <git@nroo.de >
Reviewed-on: https://gitea.com/gitea/tea/pulls/292 
Reviewed-by: khmarbaise <khmarbaise@noreply.gitea.io >
Reviewed-by: 6543 <6543@obermui.de >
Co-Authored-By: Norwin <noerw@noreply.gitea.io >
Co-Committed-By: Norwin <noerw@noreply.gitea.io > 
						
						
					 
					
						2020-12-13 02:08:10 +08:00 
						 
				 
			
				
					
						
							
							
								6543 
							
						 
					 
					
						
						
							
						
						eeb9cbafe7 
					 
					
						
						
							
							Fix release build with gox ( #290 )  
						
						... 
						
						
						
						fix
Reviewed-on: https://gitea.com/gitea/tea/pulls/290 
Reviewed-by: mrsdizzie <info@mrsdizzie.com >
Reviewed-by: techknowlogick <techknowlogick@gitea.io >
Co-Authored-By: 6543 <6543@obermui.de >
Co-Committed-By: 6543 <6543@obermui.de > 
						
						
					 
					
						2020-12-12 06:02:58 +08:00 
						 
				 
			
				
					
						
							
							
								techknowlogick 
							
						 
					 
					
						
						
							
						
						3acd42f8d7 
					 
					
						
						
							
							Use gox to cross-compile ( #274 )  
						
						... 
						
						
						
						use gox for cross-compile
use xgo base image
correct flags for gox
no need to test drone anymore
Co-authored-by: Matti R <matti@mdranta.net >
Co-authored-by: 6543 <6543@obermui.de >
Reviewed-on: https://gitea.com/gitea/tea/pulls/274 
Reviewed-by: 6543 <6543@obermui.de >
Reviewed-by: Norwin <noerw@noreply.gitea.io >
Co-Authored-By: techknowlogick <techknowlogick@gitea.io >
Co-Committed-By: techknowlogick <techknowlogick@gitea.io > 
						
						
					 
					
						2020-12-09 01:45:48 +08:00 
						 
				 
			
				
					
						
							
							
								6543 
							
						 
					 
					
						
						
							
						
						eb37f14923 
					 
					
						
						
							
							Update gitea-vet v0.2.0 ( #164 )  
						
						... 
						
						
						
						tagged version v0.2.0
make vendor
Co-authored-by: 6543 <6543@obermui.de >
Reviewed-on: https://gitea.com/gitea/tea/pulls/164 
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-by: techknowlogick <techknowlogick@gitea.io > 
						
						
					 
					
						2020-07-21 16:17:52 +00:00 
						 
				 
			
				
					
						
							
							
								6543 
							
						 
					 
					
						
						
							
						
						4b059770ea 
					 
					
						
						
							
							Add gitea-vet ( #121 )  
						
						... 
						
						
						
						Close  #119 
Co-authored-by: 6543 <6543@obermui.de >
Co-authored-by: jolheiser <john.olheiser@gmail.com >
Reviewed-on: https://gitea.com/gitea/tea/pulls/121 
Reviewed-by: John Olheiser <john.olheiser@gmail.com >
Reviewed-by: Andrew Thornton <art27@cantab.net > 
					
						2020-04-28 13:02:21 +00:00 
						 
				 
			
				
					
						
							
							
								6543 
							
						 
					 
					
						
						
							
						
						81fa4e78ff 
					 
					
						
						
							
							Fix CI: Turn off go modules for xgo and gxz ( #115 )  
						
						... 
						
						
						
						Turn off go modules for xgo and gxz
as on https://github.com/go-gitea/gitea/pull/10963 
Revert "Fix CI: workaround from @kolaente (#113 )"
This reverts commit b37673c9546543@obermui.de >
Reviewed-on: https://gitea.com/gitea/tea/pulls/115 
Reviewed-by: techknowlogick <techknowlogick@gitea.io >
Reviewed-by: John Olheiser <john.olheiser@gmail.com > 
						
						
					 
					
						2020-04-06 14:21:36 +00:00 
						 
				 
			
				
					
						
							
							
								Lunny Xiao 
							
						 
					 
					
						
						
							
						
						5601c57059 
					 
					
						
						
							
							Improve makefile to enable goproxy when go get tools. ( #98 )  
						
						... 
						
						
						
						makefile go mod
always enable GO111MODULE=on
Reviewed-on: https://gitea.com/gitea/tea/pulls/98 
Reviewed-by: 6543 <6543@noreply.gitea.io >
Reviewed-by: Andrew Thornton <art27@cantab.net > 
						
						
					 
					
						2020-03-05 09:22:41 +00:00 
						 
				 
			
				
					
						
							
							
								techknowlogick 
							
						 
					 
					
						
						
							
						
						d1d3c70530 
					 
					
						
						
							
							Same release targets as gitea ( #73 )  
						
						
						
						
					 
					
						2019-11-15 03:46:18 +00:00 
						 
				 
			
				
					
						
							
							
								Lunny Xiao 
							
						 
					 
					
						
						
							
						
						912803706a 
					 
					
						
						
							
							Add missing make-compress to fix release ( #23 )  
						
						
						
						
					 
					
						2019-04-27 21:01:07 +08:00 
						 
				 
			
				
					
						
							
							
								Bo-Yi Wu 
							
						 
					 
					
						
						
							
						
						bf9620d18e 
					 
					
						
						
							
							chore: go support combine all coverage file ( #24 )  
						
						... 
						
						
						
						* Combine all coverage file in one command
* remove generate-coverage
* remove unused method: errCheck
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com > 
						
						
					 
					
						2019-04-26 14:51:03 +03:00 
						 
				 
			
				
					
						
							
							
								Lunny Xiao 
							
						 
					 
					
						
						
							
						
						6aa4629f05 
					 
					
						
						
							
							fix drone ( #21 )  
						
						... 
						
						
						
						* fix drone
* remove docker on drone 
						
						
					 
					
						2019-04-26 06:41:21 +03:00 
						 
				 
			
				
					
						
							
							
								Lunny Xiao 
							
						 
					 
					
						
						
							
						
						d4f107b710 
					 
					
						
						
							
							Add Makefile / .drone.yml, use go module with vendor ( #20 )  
						
						... 
						
						
						
						* add Makefile / .drone.yml, use go module with vendor
* Update .drone.yml
Co-Authored-By: lunny <xiaolunwen@gmail.com > 
						
						
					 
					
						2019-04-25 20:06:53 +03:00