Our CI builds are very slow (can take up to an hour). #1783 will help, but that will only reduce the durations of some CI builds (and those builds will still take >20 minutes).
make release
usually takes about 20 minutes to complete in Drone. Is it absolutely necessary for us to compile to every supported architecture in every build? What is running make release
supposed to ensure/accomplish?
for Pull Request, make release
is no need I think.
Only for tag builds?
@ethantkoenig Not only tags. Also master and other branches since we provides these downloads on https://dl.gitea.io
@tboerger @bkcsoft @appleboy
Is this linked to #1783? If yes, maybe we can close it.
@DblK @lunny I will make new PR to fix @tboerger comments https://github.com/go-gitea/gitea/pull/1783#issuecomment-304476001
Would it be possible to cache compiled vendor/
packages that are generated in make release
, and reuse them across different builds? The contents of vendor/
rarely change, so it seems like a waste to repeatedly recompile them (multiple times, once for each supported architecture) every build.
This has been resolved.
Most helpful comment
@DblK @lunny I will make new PR to fix @tboerger comments https://github.com/go-gitea/gitea/pull/1783#issuecomment-304476001