Changes between Version 13 and Version 14 of ReleaseProcess


Ignore:
Timestamp:
Apr 2, 2013, 2:17:54 AM (11 years ago)
Author:
Philip Taylor
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ReleaseProcess

    v13 v14  
    7979 * ?
    8080 * Profit
     81
     82== Building on EC2
     83
     84Sign up to EC2. Create an EC2 instance (e.g. Ubuntu 12.04 on c1.medium). ssh into it (as user 'ubuntu').
     85{{{
     86screen
     87
     88sudo apt-get update
     89sudo apt-get install zip cmake nsis p7zip-full
     90
     91# Standard dependencies for building the game:
     92sudo apt-get install build-essential libboost-dev libboost-filesystem-dev   \
     93    libboost-signals-dev libcurl4-gnutls-dev libenet-dev libjpeg-dev        \
     94    libmozjs185-dev libnvtt-dev libogg-dev libopenal-dev libpng-dev         \
     95    libsdl-dev libvorbis-dev libwxgtk2.8-dev libxcursor-dev libxml2-dev     \
     96    subversion zlib1g-dev
     97
     98sudo mkdir /mnt/0ad
     99sudo chown ubuntu:ubuntu /mnt/0ad
     100cd /mnt/0ad
     101svn co http://svn.wildfiregames.com/public/ps/trunk/ 0ad
     102cd 0ad/build/workspaces
     103./update-workspaces.sh -j4
     104cd gcc
     105make -j4
     106mkdir /mnt/0ad/dist
     107cd /mnt/0ad/dist
     108cp ../0ad/source/tools/dist/build.sh .
     109nano build.sh
     110# change EXE, SVNWC, PREFIX, makensis command
     111./build.sh
     112# manually rename the .exe
     113rsync -avP 0ad-*.{tar.gz,tar.xz,exe} philip@zaynar.co.uk:/var/www/releases/rc/
     114}}}
     115Then delete the EC2 instance so you don't keep paying for it.
     116
     117The whole process takes about 2 hours.