Preparing dmg installer » History » Version 2

« Previous - Version 2/5 (diff) - Next » - Current version
pospelov, 14 Jul 2016 16:03


Preparing dmg installer

This explains how to compile BornAgain into OS X binary installer using scgmini build server.
Instruction will change as soon as more automation will be achieved

  • Login to scgmini

ssh scg@scgmini

  • Pull latest changes from main repository

cd /Users/scg/development/BornAgain/BornAgain; git checkout hotfix-1.6.1; git pull

  • Proceed to Vagrant project directory, run build

cd /Users/scg/deployment/vagrant/projects/mavericks-dev; vagrant up

at this point compilation will start. It will last ~30 min. Results will be uploaded to the build server.

  • Take results

scp /Users/scg/deployment/results/BornAgain-1.4.0-macosx64-10.9+.dmg <somewhere>

  • Destroy virtual machine

vagrant destroy

The command should be run from mavericks-dev directory

Troubleshooting

  • If something went wrong, you can always ssh to virtual machine

vagrant ssh

vagrant should be in "up" state, the command should be run from mavericks-dev directory

  • Actual build configuration is defined in two build files on scgmini

mavericks-dev/Vagrantfile
mavericks-dev/build_bornagain.sh