I had a few spare moments this afternoon and with the release of ansible 2 put together a quick Vagrant VM provisioner.
This vagrant script will create a standard headless ubuntu 14.04 VM with 2 gig ram and 2 cores, install all the required libraries to compile warzone2100 for linux environments then create the .deb files with checkinstall.
I'll add an rpm builder into the mix as well if things are slow tomorrow.
Usage instructions are in the readme.md
https://github.com/aidygus/vagrant-warzone2100
Vagrant VM with ansible provisioning
Re: Vagrant VM with ansible provisioning
Nice.
BTW, master is development branch, 3.1 is release branch, and we tag releases.
Oh, and also, just doing ./configure && make will produce a "debug" build, not meant for releases, since it will have 0 optimizations done.
Something along the lines of ./configure --disable-debug CFLAGS="-O2 -gstabs -g -g3" CXXFLAGS="-O2 -gstabs -g -g3" is needed for releases.
BTW, master is development branch, 3.1 is release branch, and we tag releases.
Oh, and also, just doing ./configure && make will produce a "debug" build, not meant for releases, since it will have 0 optimizations done.
Something along the lines of ./configure --disable-debug CFLAGS="-O2 -gstabs -g -g3" CXXFLAGS="-O2 -gstabs -g -g3" is needed for releases.
/facepalm ...Grinch stole Warzone contra principia negantem non est disputandum
Super busy, don't expect a timely reply back.
Super busy, don't expect a timely reply back.
Re: Vagrant VM with ansible provisioning
Thanks for that information. I think I might add a separate builder playbook for this.
It could be run from the console with:
vagrant provision --provision-with build
It could be run from the console with:
vagrant provision --provision-with build