Skip to main content
Notice removed Draw attention by CommunityBot
Bounty Ended with VonC's answer chosen by CommunityBot
edited title
Link
flup
  • 27.2k
  • 8
  • 56
  • 75

How can I build my local git repo on external server?

Notice added Draw attention by Industrial-antidepressant
Bounty Started worth 100 reputation by Industrial-antidepressant
Source Link

How can I build my git repo on external server?

In our company we have really powerful linux based build servers (double Xeon with 40 core) and not so powerful win7 laptops. We building our product in C/C++ language for an esoteric CPU. The compiler only exist in Linux. I can edit my git repo with Qt Creator. It is working and quite fast and everything. But I can't build the source on our Laptop. We have a main git repo and I can clone the same repo to my laptop and to our build server. I want to achieve that when I press the build button my code magically building on build server. I did a proof of concept solution where my build script do a git diff on my repo and scp it to the build server than it ssh to build server apply that diff on the server repo than start and wait the compilation. But that solution is not so fool proof. I think a better approaching/method is exist. So how can I build my git repo on external server?