Commit Graph

453 Commits

Author SHA1 Message Date
Yao Wei Tjong 姚伟忠 0de428ba3e For Travis CI - skip mirror deletion if there are more commits. 2015-05-02 01:08:27 +08:00
Yao Wei Tjong 姚伟忠 7f55f78a36 For Travis CI - hack Travis to support multi-docs .travis.yml stream.
The CI mirror branches are now created and deleted on the fly. No more overhead to maintain them (i.e. resolving rebase conflict).
This is partial implementation of what has been requested in this feature request https://github.com/travis-ci/travis-ci/issues/3719.
2015-04-29 21:51:15 +08:00
Yao Wei Tjong 姚伟忠 530513750a For Travis CI - allow initial Coverity-Scan branch creation on demand.
[ci skip]
2015-04-29 13:10:14 +08:00
Yao Wei Tjong 姚伟忠 0b64216424 For Travis CI - fix rake ci_rebase task.
Test [ci scan] on demand.
2015-04-27 13:50:56 +08:00
Yao Wei Tjong 姚伟忠 50bc9d5793 Attempt to enable coverity scan to the project. 2015-04-27 06:37:11 +08:00
Yao Wei Tjong 姚伟忠 98863e183a Code clean up to remove temporary workaround for Emscripten. 2015-04-26 16:20:29 +08:00
Yao Wei Tjong 姚伟忠 886cc93d7a For Travis CI - fix RPM packaging build for Raspberry-Pi.
It was broken before the migration to the new build infra.
2015-04-24 22:48:28 +08:00
Yao Wei Tjong 姚伟忠 c74dda6f75 For Travis CI - Migrate to new container-based build infra. 2015-04-22 15:19:02 +08:00
Yao Wei Tjong 姚伟忠 c16ed4073c Suppress Clang compiler warnings when using ccache. 2015-04-18 15:56:01 +08:00
Yao Wei Tjong 姚伟忠 403691d50c Enhance rake cmake/make tasks to pass workaround env var for ccache.
[ci skip]
2015-04-17 22:25:52 +08:00
Yao Wei Tjong 姚伟忠 810929d13c For Travis CI - readjust the rebase order so Emscripten comes last. 2015-04-17 01:41:08 +08:00
Yao Wei Tjong 姚伟忠 9e8046efc7 Fine tune 'rake make' task to use physical CPU count for Emscripten. 2015-04-13 17:26:10 +08:00
Yao Wei Tjong 姚伟忠 efe35b27a9 For Travis CI - temporarily reorder CI rebase sequence.
This is for investigating random build error on Mac OS X build environment.
2015-04-09 15:47:17 +08:00
Yao Wei Tjong 姚伟忠 b285bd2325 Enhance the rake make task to also support Ninja. 2015-04-08 17:09:55 +08:00
Yao Wei Tjong 姚伟忠 c93327bf00 For Travis CI - wrap the 'make package' inside 'setarch' command.
Related to fc14b30e42. [ci package]
2015-04-07 18:08:26 +08:00
Yao Wei Tjong 姚伟忠 b468eac53e Only supply the CCACHE environment variable when user hasn't done it. 2015-04-02 16:17:35 +08:00
Yao Wei Tjong 姚伟忠 8ab5ffac52 Add a small chapter on how to setup ccache to work correctly. 2015-04-02 00:06:44 +08:00
Yao Wei Tjong 姚伟忠 601dfc4603 Enhance the 'rake make' task to utilise all the logical cpu cores.
[ci package]
2015-03-31 17:08:21 +08:00
Yao Wei Tjong 姚伟忠 bcf5286158 For Travis CI - attempt to enable integration tests in Emscripten-CI. 2015-03-14 11:04:12 +08:00
Yao Wei Tjong 姚伟忠 8a77399bd0 Fix integration tests execution for Emscripten platform.
A test case is considered passed when the html exits as the result of emscripten_force_exit() function being called, which happens when the engine's elapsed time reaches URHO3D_TEST_TIMEOUT seconds. When something goes wrong, the engine's elapsed time does not progress as per normal, in this case the emrun's timeout would kick in and terminate the test case with failed exit status. The EMRUN'S timeout is set to be 2 times URHO3D_TEST_TIMEOUT auotmatically.
Add new build option EMSCRIPTEN_EMRUN_BROWSER to select which browser to use for testing. Default is 'firefox'. Refer to https://github.com/kripken/emscripten/issues/3234 to apply the recommended Firefox preference setting for emrun.
2015-03-12 18:04:16 +08:00
Yao Wei Tjong 姚伟忠 0fe597223f Add initial support for integration tests on Emscripten platform.
At the moment the 'make test' cannot be run non-interactively yet on Linux host and Mac OS X host systems due to what-could-be a bug in 'emrun' script. The issue with 'emrun' has been reported to upstream (https://github.com/kripken/emscripten/issues/3234).
2015-03-07 12:00:47 +08:00
Yao Wei Tjong 姚伟忠 6a145befa5 Misc. clean up. [ci skip] 2015-03-05 21:57:31 +08:00
Yao Wei Tjong 姚伟忠 6ef0f702c7 For Travis CI - sync the samples first then update json data file.
[ci skip]
2015-03-05 17:31:10 +08:00
Yao Wei Tjong 姚伟忠 6c3d32d64a Use Urho3D custom HTML shell for Emscripten build.
Simplify the custom command for share data generation since we are not going to "fix" the UUID issue of the file_packager.py anymore. Although this would mean the slightest change in the output JS file caused by UUID change could force a long relink process in our build.
For Travis CI - upload Emscripten HTML5 samples to Urho3D main website.
[ci package]
2015-03-05 16:23:59 +08:00
Yao Wei Tjong 姚伟忠 4d34d0a626 Add new Emscripten build option for creating shared data file. 2015-03-03 23:32:27 +08:00
Yao Wei Tjong 姚伟忠 9612a5c164 For Travis CI - add CI build jobs for Raspberry Pi 2. 2015-02-27 22:45:35 +08:00
Yao Wei Tjong 姚伟忠 4b6951f9f4 For Travis CI - return exit code from worker thread correctly. 2015-02-26 17:15:32 +08:00
Yao Wei Tjong 姚伟忠 e780854eec Enhance Rakefile to perform xcodebuild install in a worker thread.
The main Ruby thread outputs '.' character while waiting for the worker thread to complete. This should avoid Travis-CI from thinking the install process has stalled.
2015-02-26 15:43:07 +08:00
Yao Wei Tjong 姚伟忠 d3f90cbe08 Make the URHO3D_LUA build option available for Emscripten build. 2015-02-16 07:23:10 +08:00
Yao Wei Tjong 姚伟忠 8be7896e44 For Travis CI - switch back to use Linux CI build environment.
Add Emscripten-CI into the CI-mirror branches list.
2015-02-13 21:42:07 +08:00
Yao Wei Tjong 姚伟忠 85c893a83d Attempt to enable CI build for Emscripten. 2015-02-13 21:31:59 +08:00
Yao Wei Tjong 姚伟忠 19ab396e74 Add new Emscripten/CMake toolchain file based on Urho3D convention.
Use EMSCRIPTEN_ROOT_PATH environment variable to specify the root path to the emscripten, instead of the original EMSCRIPTEN environment variable exported in emsdk_set_env.sh.
This is because the original EMSCRIPTEN environment variable name clashes with our build scripts.
2015-02-13 21:23:05 +08:00
Yao Wei Tjong 姚伟忠 564b77c39f Fix Ninja build by adding directory containing PCH to its search path.
Officially add Ninja build support. Close #653.
2015-02-06 13:49:32 +08:00
Yao Wei Tjong 姚伟忠 395b926d26 Rename Readme.md to README.md. Replace history section with link.
[ci package]
2015-02-05 11:07:18 +08:00
CrackedP0t 70fd3c7988 Rename Readme.txt to Readme.md. 2015-02-05 10:49:58 +08:00
Yao Wei Tjong 姚伟忠 cfff44873f Bump missed out files. [ci skip]
$ for f in `git grep -l '2008-2014 the Urho3D project'`; do perl -pi -e 's/2008-2014 the Urho3D project/2008-2015 the Urho3D project/g' $f; done
2015-02-01 08:16:05 +08:00
Yao Wei Tjong 姚伟忠 8e81d3ff36 Use regex replacement to handle path with spaces in between correctly.
Enhance build scripts to handle source tree and build tree with spaces.
Fix PCH generation with incorrect compiler flags caused by -fPIC and -fpic from being added at the same time.
Fix compiler warning on Android platform with PCH enabled on the external main project due to CMake bug in 'VISIBILITY_INLINES_HIDDEN' implementation.
Close #637.
2015-01-29 20:15:13 +08:00
Yao Wei Tjong 姚伟忠 05dd995b85 Refactor all the codes and scripts to use the renamed 'bin' subdir. 2015-01-18 21:40:54 +08:00
Yao Wei Tjong 姚伟忠 f865522e1d Make the xcpretty filter optional for the 'rake make' task.
Minor documentation update.
2015-01-15 23:32:15 +08:00
Yao Wei Tjong 姚伟忠 02a5945b83 For Travis CI - Display where the SDK is being installed to in the log.
Minor document update on new Rake tasks.
2015-01-12 14:17:33 +08:00
Yao Wei Tjong 姚伟忠 74296e8123 Clean up the rake task comment. [ci skip] 2015-01-08 12:23:27 +08:00
Yao Wei Tjong 姚伟忠 2ad47fc0ff Enhance 'rake cmake' and 'rake make' tasks to take optional arguments.
When the '<platform-specific>_build_tree' or 'build_tree' argument is provided then use it as the build tree path, otherwise use the default build tree path as before.
The '<platform-specific>_build_tree' takes precedence over 'build_tree'.
2015-01-08 11:42:12 +08:00
Yao Wei Tjong 姚伟忠 2e9d9f4806 Fix MinGW build on Windows host system. 2015-01-06 17:25:58 +08:00
Yao Wei Tjong 姚伟忠 352842b0fa For Travis CI - skip the site update when it is already done earlier. 2015-01-06 13:28:09 +08:00
Yao Wei Tjong 姚伟忠 dddce6bec1 For Travis CI - remove the packages after successfully uploaded to FRS.
So that they do not get re-uploaded again the second time when uploading the 64-bit RPM package with URHO3D_USE_LIB64_RPM build option set.
[ci package]
2015-01-05 22:31:32 +08:00
Yao Wei Tjong 姚伟忠 1cbbb6b805 Finalize SDK-like include dirs clean up. Fix build using MSVC. 2015-01-04 22:32:41 +08:00
Yao Wei Tjong 姚伟忠 b654478715 For Travis CI - also use DESTDIR=~ when installing on OSX host. 2015-01-04 22:32:41 +08:00
Yao Wei Tjong 姚伟忠 a4a4cde236 Refactor all CMake toolchains to reset CMAKE_INSTALL_PREFIX variable.
Add new build options for specifying tool-prefix and target-sysroot in cross-compiling build.
Add new IOS_SYSROOT variable to store the path to iOS sysroot and use it to set CMAKE_FIND_ROOT_PATH variable.
Now also generate pkg-config Urho3D.pc for iOS platform.
For Travis CI - simplify SDK installation logic. Use DESTDIR=~ to avoid sudo.
2015-01-04 22:32:41 +08:00
Yao Wei Tjong 姚伟忠 1b465fb704 Clean up FindUrho3D.cmake module.
Add new build options to override 64-bit Linux package setup for Debian and Redhad -based host systems.
For Travis CI - fix 64-bit RPM package generation to install library in /usr/lib64, also fix external project build test using Urho3D library from SDK.
2015-01-04 22:32:41 +08:00
Yao Wei Tjong 姚伟忠 0c2e47a42d Use SDK include dir for SDL to fix Direct3D MinGW build.
For Travis CI - Correct the DESTDIR for MinGW CI build because cross-compiling MinGW is rooted.
2015-01-04 22:32:41 +08:00