Version 7 (modified by Aviv, 12 years ago) ( diff )

--

Brief approximation:

  • Check that SVN compiles and runs on Linux
  • Check that SVN compiles and runs on Linux (Gentoo) with --without-pch
  • Check that SVN compiles and runs on Windows
  • Check that SVN compiles and runs on OS X
  • Run Windows autobuilder (or build manually with VS 2008 if autobuild is down - update svn_revision.txt first!)
  • Update public trunk checkout
  • Ensure it is clean (svn st --no-ignore)
  • Run source/tools/dist/build.sh
  • Build OS X app bundle:
    • Requires OS X and Xcode
    • Currently using historicbruno's osx-build branch on GitHub
    • Make sure 0ad repo is synced with SVN
    • Make sure osx-build is synced with 0ad repo, if necessary pull in updates e.g. git pull 0ad master
    • Read documentation in build/workspaces/build-osx-bundle.sh, update options if necessary (defaults work with Xcode 4.2+ and Lion)
    • Run build-osx-bundle.sh, by default it creates a 64-bit 10.6+ compatible bundle, build/workspaces/0ad.app
    • Optionally build a 32-bit 10.5+ bundle, following Cross-compiling a 32-bit Leopard bundle.txt
    • Package app into DMG (as outlined here and here)
      • Use Disk Utility to create a DMG large enough to hold 0ad.app
      • Set background image, build/resources/dmgbackground.png
      • Copy 0ad.app and Applications shortcut, arrange icons, set folder view options as desired
      • Create a bzip2-compressed DMG with hdiutil: hdiutil convert 0ad.dmg -format UDBZ -o 0ad-[version]-alpha-osx64
  • Test on Windows:
    • Delete %localappdata%\0ad\cache
    • Extract release
    • Run pyrogenesis.exe, check everything seems to work
    • Run Atlas.bat, check everything seems to work
    • Delete %localappdata%\0ad\cache
    • Build Debug version, check everything seems to work
    • Run test project
  • Test on Linux:
    • Delete ~/.cache/0ad
    • Extract release
    • Build with config=debug, run test_dbg, run game, run editor
    • Build with config=release, run test, run game, run editor
  • Test on OS X:
    • Delete ~/Library/Caches/0ad/
    • Mount release DMG
    • Run 0ad and test that it works on e.g. Snow Leopard and Lion
    • Test Atlas (main menu > Tools & Options > Scenario Editor)
    • Delete ~/Library/Caches/0ad/
    • Optionally test 32-bit bundle if available
  • Update OBS packages 0ad, 0ad-data:
    • Update version numbers in 0ad.changes, 0ad.dsc, 0ad.spec, debian.changelog
    • Replace .tar.gz with new version
  • Update PPA packages:
    • Find an Ubuntu machine.
    • Copy source/tools/dist/ubuntu/ into a place for packaging
    • Update changelog files
    • Update build.sh version number
    • Run build.sh. (Optionally disable the debuild -b lines because they're not needed, we only require the source packages.)
    • dput ppa:wfg/0ad <source.changes>
  • Update Gentoo package:
    • Bump version number
    • FEATURES=test emerge 0ad
    • Upload to Bugzilla
  • On error goto beginning
  • Upload releases to http://releases.wildfiregames.com/
  • Verify sha1sums on server
  • Upload to Sourceforge: rsync -v --progress -e ssh 0ad-${SVNREV}-*.{exe,gz,xz} philiptaylor,zero-ad@frs.sourceforge.net:/home/frs/project/z/ze/zero-ad/releases/
  • Update release redirects to point to SF
  • Update release pages (links, file sizes, checksums?):
  • Announce release:
  • ?
  • Profit
Note: See TracWiki for help on using the wiki.