[wesnoth-commits] [wesnoth/wesnoth] 392f84: Fail quickly if dependencies fail to install.

Pentarctagon noreply at github.com
Sun Jan 5 07:35:11 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 392f84afff36087e0a57dec2d9c399481df6a135
      https://github.com/wesnoth/wesnoth/commit/392f84afff36087e0a57dec2d9c399481df6a135
  Author: pentarctagon <pentarctagon at tutamail.com>
  Date:   2020-01-05 (Sun, 05 Jan 2020)

  Changed paths:
    M utils/travis/steps/install.sh

  Log Message:
  -----------
  Fail quickly if dependencies fail to install.

The chocolatey package manager seems to semi-frequently have 503 errors.  Ideally there's a way to cache these packages on Windows rather than re-downloading them every time.


  Commit: d1f2d9add2c2797fbe42fdef9ccc07c2708f28ef
      https://github.com/wesnoth/wesnoth/commit/d1f2d9add2c2797fbe42fdef9ccc07c2708f28ef
  Author: pentarctagon <pentarctagon at tutamail.com>
  Date:   2020-01-05 (Sun, 05 Jan 2020)

  Changed paths:
    M utils/travis/steps/script.sh

  Log Message:
  -----------
  Make sure to exit with the correct status.


  Commit: 6e27a84071d44d2368baa1622ea9b49106ac0763
      https://github.com/wesnoth/wesnoth/commit/6e27a84071d44d2368baa1622ea9b49106ac0763
  Author: pentarctagon <pentarctagon at tutamail.com>
  Date:   2020-01-05 (Sun, 05 Jan 2020)

  Changed paths:
    M .travis.yml
    M utils/travis/steps/install.sh
    M utils/travis/steps/script.sh
    A utils/travis/windows-file-hasher.sh

  Log Message:
  -----------
  Enable caching/incremental builds for Windows builds on travis.

Problem: msbuild uses timestamps to determine what needs to be rebuilt, and git doesn't track files' last modified time, so everything is always fully rebuilt.
Solution: This commit adds an sqlite database that tracks C/C++ files and their md5 hashes. If a file's hash hasn't changed, then it doesn't need to be rebuilt, so its last modified time is backdated 20 years. The 20 years is an arbitrarily chosen amount of time and has no special significance.


  Commit: 1b6b0c95ad0718291549308ac9b29dfea393566f
      https://github.com/wesnoth/wesnoth/commit/1b6b0c95ad0718291549308ac9b29dfea393566f
  Author: pentarctagon <pentarctagon at tutamail.com>
  Date:   2020-01-05 (Sun, 05 Jan 2020)

  Changed paths:
    M projectfiles/VC14/wesnoth.vcxproj
    M projectfiles/VC14/wesnothd.vcxproj
    M projectfiles/VC16/campaignd.vcxproj
    M projectfiles/VC16/wesnoth.vcxproj
    M projectfiles/VC16/wesnothd.vcxproj

  Log Message:
  -----------
  Make the Debug and Release builds put their executables in the same place.


Compare: https://github.com/wesnoth/wesnoth/compare/ce4fb8217371...1b6b0c95ad07



More information about the Commits mailing list