Commit Graph

453 Commits

Author SHA1 Message Date
urho3d-travis-ci
70049ba582 Travis CI: bump copyright to 2018.
[cache clear]
2018-01-01 05:35:37 +00:00
Yao Wei Tjong 姚伟忠
08b838022b Add CMake messages for deprecated build option usage. 2017-12-15 23:32:46 +08:00
Yao Wei Tjong 姚伟忠
912df7381c Remove support for VS 2013. 2017-12-15 23:13:21 +08:00
Yao Wei Tjong 姚伟忠
21ed39fad6 Remove support for old Visual Studio versions.
Only newer versions that can handle C++11 features are supported now.
2017-10-26 22:52:15 +08:00
Yao Wei Tjong 姚伟忠
e0df869ec3 For CI - add debug builds for Android-CI. 2017-09-07 21:56:58 +08:00
Yao Wei Tjong 姚伟忠
6acff357c5 For CI - cache the whole initial build tree for OSX-CI builds.
Close #2095
2017-09-04 21:33:47 +08:00
Yao Wei Tjong 姚伟忠
be87f315f2 For CI - misc. post-mortem fixes. 2017-08-20 16:43:33 +08:00
Yao Wei Tjong 姚伟忠
848f52fbe9 For CI - attempt to implement the conditional build stage on our own.
This is to fix packaging build on OSX build environment where they were running out of time in the absense of the pre-cache stage.
[ci package] test that it does not trigger on a branch.
2017-08-14 09:01:30 +08:00
Yao Wei Tjong 姚伟忠
a3a0465c8d For CI - take advantage of Travis CI's build stages.
Perform housekeeping at the last stage when all the build jobs in the build stage have completed.
Add a placeholder for new lint stage in primary CI.
Use alternate mirror branch to prevent technical error due to multiple commits being pushed to HEAD on slow moving build queues.
Close #1942.
2017-07-19 21:55:18 +08:00
Yao Wei Tjong 姚伟忠
ec84cfdfd1 Remove the usage of add_compiler_export_flags() deprecated function.
Fix #1945.
2017-07-13 23:17:09 +08:00
Yao Wei Tjong 姚伟忠
c7a0149dc9 Another sweep for tvOS conditional code branch. 2017-06-05 23:04:09 +08:00
Yao Wei Tjong 姚伟忠
75b8420a31 Initial work for porting Urho3D to AppleTV platform. 2017-06-05 23:04:09 +08:00
Yao Wei Tjong 姚伟忠
3d39061627 Simplify the build option for sharing pak-loader script and data. 2017-05-21 20:21:27 +08:00
Yao Wei Tjong 姚伟忠
b9947eee3a For CI - Upgrade CMake (3.8.1) and compiler toolchain to support C++11. 2017-05-18 22:40:17 +08:00
Yao Wei Tjong 姚伟忠
9623f94230 For CI - prevent coverity scan for CI build on feature branches.
[ci only: Web]
2017-04-27 23:18:04 +08:00
Yao Wei Tjong 姚伟忠
10881e0f9e For CI - perform the coverity scan on each CI build now.
It appears the service quota has been increased to one scan per day for the project of our size.
2017-04-27 00:12:55 +08:00
Yao Wei Tjong 姚伟忠
2efbcd570c Rename "define_resource_files" macro to "define_resource_dirs".
Enhance it to take extra arguments for specifiying target-specific resource directories and other extra for Web platform support.
Close #809.
2017-04-05 18:16:36 +08:00
Yao Wei Tjong
f3a596ad42 For CI - another temp fix for Web CI build.
Fix https://github.com/urho3d/urho3d.github.io/issues/20. 
[ci packaging]
2017-03-31 09:47:20 +08:00
Yao Wei Tjong 姚伟忠
473c6c2380 For CI - temporary fix for web sample upload using default HTML shell.
In future the statically generated page at urho3d.github.io will be the shell for the *.js and *.wasm modules.
[skip appveyor] [ci only: Web]
2017-03-29 22:35:07 +08:00
Yao Wei Tjong 姚伟忠
9d84ccffe4 Initial attempt to support MODULE library type for Web platform.
Disallow memory growth when using MODULE lib-type.
Move the resource defining and checking logic into their own macros.
2017-03-26 22:18:35 +08:00
Yao Wei Tjong 姚伟忠
c9b45bf1f1 Allow generation of .js instead of .html as output for Web platform. 2017-03-05 08:46:37 +08:00
Yao Wei Tjong 姚伟忠
7102a25409 For CI - disable web run tests as they are not reliable on Travis. 2017-03-05 08:46:29 +08:00
Yao Wei Tjong 姚伟忠
d7eded9178 Add new build option to enable WASM support.
Remove redundant Emscripten build option for pre-generating the system libraries because newer Emscripten version has fixed the cache lock issue.
2017-03-05 08:46:29 +08:00
Yao Wei Tjong 姚伟忠
f32cbb72b0 Rename Urho3D-CMake-common.cmake module to UrhoCommon.cmake.
To be consistent with the other modules. Drop the '3D' simply because it sticks out in 'Urho3DCommon'.
2017-03-05 08:45:39 +08:00
Yao Wei Tjong 姚伟忠
9f19d51c08 Remove older constructs that have been earmarked previously. 2017-03-05 08:34:41 +08:00
Yao Wei Tjong 姚伟忠
3475afba54 Bump the CMake minimum version in the CMakeLists.txt files. 2017-03-05 08:34:41 +08:00
Yao Wei Tjong 姚伟忠
5ffb40b643 For CI - use the new build option to reduce number of changed objects.
Close #1762.
2017-02-23 23:11:46 +08:00
Yao Wei Tjong 姚伟忠
c017c2e607 For CI - fix the CI builds on AppVeyor to use the build cache. 2017-02-14 23:10:40 +08:00
Yao Wei Tjong 姚伟忠
85caa88eff For CI - correct typo in the cache setup script. 2017-02-12 02:05:09 +08:00
Yao Wei Tjong 姚伟忠
a9973de026 For CI - adjust the timestamp to achieve incremental build on AppVeyor.
[ci only: master, MinGW]
2017-02-12 01:33:02 +08:00
Yao Wei Tjong 姚伟忠
71cdfdbf26 Revert "For CI - still exclude tool building for PR build on AppVeyor."
This reverts commit d7bae3aef8.
2017-02-10 08:02:56 +08:00
Yao Wei Tjong 姚伟忠
d7bae3aef8 For CI - still exclude tool building for PR build on AppVeyor.
Unlike Travis, initial build for PR on AppVeyor does not inherit cache from the master branch, thus exclude the tool for faster build time.
2017-02-10 01:39:23 +08:00
Yao Wei Tjong 姚伟忠
949fef6239 For CI - take advantage of AppVeyor's cache mechanism.
Close #1804.
2017-02-10 01:02:04 +08:00
Yao Wei Tjong 姚伟忠
8ac70b2ad3 For CI - setup new MinGW CI build on Windows server. 2017-02-05 19:26:30 +08:00
Yao Wei Tjong 姚伟忠
08b132b86d For CI - don't attempt to reuse the UUID when the binary data differs.
[ci only: Web]
2017-01-17 23:05:14 +08:00
Yao Wei Tjong 姚伟忠
5db9581a97 For CI - keep Travis happy - old Ruby version doesn't support grep_v().
[ci only: Web]
2017-01-16 01:36:45 +08:00
Yao Wei Tjong 姚伟忠
cd0b9c463c For CI - attempt to reuse the web package uuid to reduce commit size.
Close #1762.  [ci only: Web]
2017-01-16 00:58:41 +08:00
Yao Wei Tjong 姚伟忠
1481228bb5 For CI - fix the sample upload task to preserve the index.md file.
Change the task execution order. Now upload samples first then perform packaging build, if it is required. The artifacts may have been ruined after the packaging build.
[ci only: Web]
2017-01-14 18:02:53 +08:00
Yao Wei Tjong 姚伟忠
20b3b18602 For CI - modify JSON data file for web samples.
[ci skip]
2017-01-09 00:51:27 +08:00
Yao Wei Tjong 姚伟忠
be51253606 For CI - suppress stderr when there are nothing added to the index. 2017-01-05 00:14:06 +08:00
urho3d-travis-ci
ee054a1507 Travis CI: bump copyright to 2017.
[ccache clear]
2017-01-01 13:01:31 +00:00
Yao Wei Tjong 姚伟忠
d4e74a35c0 Set the default for SDL's VIDEO_MIR build option to FALSE.
Related to issue #1714.
2016-12-16 22:24:21 +08:00
Yao Wei Tjong 姚伟忠
e045b29c59 Split 3rd-party licenses into its own file. 2016-12-05 23:28:39 +08:00
Yao Wei Tjong 姚伟忠
4010ff8e40 For CI - always disable MIR support for ARM-CI build for now.
SDL 2.0.5 requires MIR version 0.24.0+ and the MIR version in our sysroot is older.
2016-11-09 23:10:02 +08:00
Yao Wei Tjong 姚伟忠
9908b08e83 For CI - fix the housekeeping logic for the SF.net.
The old snapshots were not being removed in the correct order due to a bug in the housekeeping logic. Since we have more build artifacts per build now, reduce to only keep the build artifacts from the lasts 10 builds instead of 30.
Also generate 64-bit ARM RPM package using 'lib64' (suitable for RH/Fedora) for completeness sake.
[ci package]
2016-08-06 19:38:20 +08:00
Yao Wei Tjong 姚伟忠
98414a9ad6 Shorten the package name for ARM build due to space constraint.
Fix 32-bit ARM packaging build on 64-bit Travis-CI host system.
[ci package]
2016-08-06 17:32:36 +08:00
Yao Wei Tjong 姚伟忠
9123b7a51c For CI - add new CI jobs for 64-bit generic ARM builds.
Upgrade GCC to 4.9 only for 64-bit generic ARM CI builds because it appears LuaJIT requires version greater than 4.8 for 64-bit ARM build.
2016-08-05 18:49:31 +08:00
Yao Wei Tjong 姚伟忠
a01ee5ec30 For CI - add new CI jobs for 32-bit generic ARM builds. 2016-08-05 18:33:35 +08:00
Yao Wei Tjong 姚伟忠
9fee916c55 For documentation - use https protocol when it is available. 2016-07-24 13:39:14 +08:00
Yao Wei Tjong 姚伟忠
eff1cd46b9 Sort samples list, just for consistency sake. 2016-06-11 20:43:33 +08:00
Yao Wei Tjong 姚伟忠
ff64de61be Initial support for Linux on generic ARM cross-compiling.
Close #1384.
2016-06-10 19:14:34 +08:00
Yao Wei Tjong 姚伟忠
64d975ba1a Add initial build support for generic ARM platform.
Add a new build option "ARM_ABI_FLAGS" for supplying additional ABI compiler flags when targeting generic arm.
Fix Linux build from using OpenGLES instead of GLEW, fix RPI build from using wrong OpenGLES library, fix iOS build from using arm-specific compiler flags directly which would cause problem in universal binary build containing iphonesimulator archs as well.
And other minor refactoring.
2016-06-10 17:17:21 +08:00
Yao Wei Tjong 姚伟忠
84b5b2cef4 For CI - reuse the copyright bumper function using the same loop.
[ci skip]
2016-05-29 16:47:39 +08:00
Yao Wei Tjong 姚伟忠
f151c4e6a8 Regenerate HEAD version of the documentation pages with unique title. 2016-05-29 16:33:24 +08:00
Yao Wei Tjong 姚伟忠
d7ac415408 For CI - more checkpoints.
[ci package]
2016-05-07 10:29:34 +08:00
Yao Wei Tjong 姚伟忠
66eacf2e71 For CI - add more checkpoint for packaging build.
[ci skip]
2016-05-03 14:16:57 +08:00
Yao Wei Tjong 姚伟忠
450bf8c6ea Fix scaffolding rake task to also create a symlink for 'Autoload' dir. 2016-04-30 12:08:14 +08:00
Yao Wei Tjong 姚伟忠
a15abf5068 Avoid hard-coding of the sample list in the build script. 2016-04-27 12:23:35 +08:00
Yao Wei Tjong 姚伟忠
87f408be51 For CI - avoid hard-coding of the sample list in the build script.
Switch the build output verboseness to normal as the diagnostic mode also does not help to reveal any additional information on the crowd navigation sample when it segfaulted during test.
2016-04-26 13:25:45 +08:00
Yao Wei Tjong 姚伟忠
42e18222e1 For CI - give 5 seconds delay in between CI mirror branches creation.
This ensures the GitHub pushes would trigger the Travis CI build jobs in a deterministic fashion.
[ci skip]
2016-04-24 17:58:20 +08:00
Yao Wei Tjong 姚伟忠
789adac03d For CI - revert back to use 40 minutes as the cutoff time.
Travis CI appears to error out a few minutes sooner than 50 minutes, we need to buffer some time to upload cache objects in the after script step.
[ci only: OSX] [skip appveyor]
2016-04-22 00:08:40 +08:00
Yao Wei Tjong 姚伟忠
dfcc445d30 For CI - give subprocess time to close all the resources.
Dangling temporary files in ccache's cache directory may prevent a successful uploading of cache objects for the next build.
2016-04-21 22:20:21 +08:00
Yao Wei Tjong 姚伟忠
1638ebc79f For CI - just send the kill signal to the specified subcommand only. 2016-04-21 18:23:17 +08:00
Yao Wei Tjong 姚伟忠
9b9a53260a For CI - Also kill the child processes when time out. 2016-04-20 18:47:47 +08:00
Yao Wei Tjong 姚伟忠
70db25ac45 For CI - allow guarded long running process to use longer cutoff time. 2016-04-18 16:56:51 +08:00
Yao Wei Tjong 姚伟忠
faf50b0d99 For CI - wake up the main thread as soon as worker thread completes. 2016-04-18 12:38:07 +08:00
Yao Wei Tjong 姚伟忠
b531d1b2e5 For CI - yield the code block in full speed when not using Xcode. 2016-04-17 18:58:30 +08:00
Yao Wei Tjong 姚伟忠
01760b8ada For CI - make worker thread has higher priority than the main thread. 2016-04-16 21:00:18 +08:00
Yao Wei Tjong 姚伟忠
fb47f495da For CI - check the time each minute instead of at each post build step.
This should fix 2 things: 1) long running glew compilation being killed by Travis CI due to absent of output; 2) long running universal binary for Urho3D library target on iOS build overshoot the build time limit.
2016-04-16 20:24:34 +08:00
Yao Wei Tjong 姚伟忠
53f064c5af For CI - guard against 'install' process which is long running on iOS. 2016-04-16 11:41:24 +08:00
Yao Wei Tjong 姚伟忠
fffdeffec8 For CI - add another checkpoint after the first scaffolding test. 2016-04-13 11:10:17 +08:00
Yao Wei Tjong 姚伟忠
9181173e43 For Travis - do not split the time when reaching each make's target.
Tighten up to only perform more granular timeup check on the longest build process on Xcode as it may overshoot due to universal binary build.
2016-04-06 13:24:46 +08:00
Yao Wei Tjong 姚伟忠
6d089c28a3 For Travis - use alternative way to detect make's time up.
Do not rely on the actual exit code from GNU make because it appears the code is different between Linux version and Darwin version.
[ci only: OSX] [skip appveyor]
2016-04-05 22:14:51 +08:00
Yao Wei Tjong 姚伟忠
01b86ba68a For Travis CI - more granular timeup check to avoid timeout error.
[ci only: OSX] [skip appveyor]
2016-04-05 16:36:33 +08:00
Yao Wei Tjong 姚伟忠
15a90276f5 For AppVeyor CI - bring checkpoint timer to AppVeyor. 2016-03-26 19:41:20 +08:00
Yao Wei Tjong 姚伟忠
3749d72279 For Travis CI - display lap time between checkpoints. 2016-03-25 22:43:28 +08:00
Yao Wei Tjong 姚伟忠
1796182337 For Travis CI - cleanup homebrew caches to free up disk space. 2016-03-25 21:11:15 +08:00
Yao Wei Tjong 姚伟忠
8ef50490ba For Travis CI - switch to Xcode 7.3 and display second in checkpoints.
Add temporary scouting logic to hunt down Java and other unneeded software components in the OSX build environment.
2016-03-25 14:33:02 +08:00
Yao Wei Tjong 姚伟忠
1e2baf7d7f Correct typo error in the ci_delete_mirror rake task.
Related to commit c93c164e01
2016-03-20 14:28:25 +08:00
Yao Wei Tjong 姚伟忠
c93c164e01 Fix head movement detection in ci_delete_mirror rake task.
Close #1234. [ci skip]
2016-03-20 12:11:41 +08:00
Yao Wei Tjong 姚伟忠
f5fcfc48f1 Set CMake minimum version to 3.2.3 for Windows platform.
This is in preparation to use optional components feature of find_package() command for FindDirectX.cmake module (was FindDirect3D).
2016-03-16 01:45:08 +08:00
Yao Wei Tjong 姚伟忠
14d4e0d378 Fix all the cross-compiling builds due to bugs in SDL CMakeLists.txt.
Fix SDL library build on Linux, Android, and RPI platforms.
2016-03-16 01:45:08 +08:00
Yao Wei Tjong 姚伟忠
ccf6648eb3 Utilize new SDLActivity's get arguments feature. 2016-03-16 01:42:01 +08:00
Yao Wei Tjong 姚伟忠
8c8e4c475a For Travis & AppVeyor - fix the CI mirror branch deletion logic. 2016-03-04 00:47:50 +08:00
Yao Wei Tjong 姚伟忠
873e80e98e For Travis & AppVeyor - do not use 'abort' when skipping deletion.
Pardon our dust.
Related to cac7a8419c
2016-03-03 12:19:19 +08:00
Yao Wei Tjong 姚伟忠
cac7a8419c For Travis & AppVeyor - simplify the logic for CI mirror deletion.
Attempt to fix issue with CI mirror deletion for VS-CI.
Only apply the verbosity option for msbuild when building RUN_TESTS and not when building other targets.
2016-03-02 23:28:34 +08:00
Yao Wei Tjong 姚伟忠
f73f9e182f For Travis & AppVeyor - fix rake task for CI mirror branch deletion.
Since the ctest -VV does not reveal anything useful in troubleshooting the 39_CrowdNavigation demo, attempt to increase the verbosity of msbuild output to see it could reveal anything useful.
2016-03-02 17:21:51 +08:00
Yao Wei Tjong 姚伟忠
98006623a8 For Travis CI & AppVeyor - fix the primary/secondary VS CI build setup.
Revert previous changes to do a force push on the 'git subtree add' rake task as it is quite dangerous to do so. Trade off the convenience to prevent potential accident to lose the subtree branch due invalid operation.
2016-03-01 23:18:41 +08:00
Yao Wei Tjong 姚伟忠
877cfaf384 For AppVeyor - pass '-C Debug' to ctest invocation.
[ci only: VS]
Related to #1200.
2016-02-26 23:36:38 +08:00
Yao Wei Tjong 姚伟忠
a03a9f06a7 For Travis CI - fix .appveyor.yml generation for secondary AppVeyor CI.
Bitten by ancient Ubuntu 12.04 LTS again. Its Rake/yaml module still uses old convention to output "non-specific tag" in front of value with reserved yaml symbols although they are already escaped in quotes.
Related to #1200.
2016-02-26 19:18:30 +08:00
Yao Wei Tjong 姚伟忠
4cec292342 Attempt to fix secondary AppVeyor CI mirror branch creation.
Related to #1200.
2016-02-26 10:01:43 +08:00
Yao Wei Tjong 姚伟忠
fcbc0030c5 Move the crowd navigation sample unit test out of primary AppVeyor CI.
A new secondary AppVeyor CI mirro branch is now setup just for troubleshooting the offending sample.
Related to issue #1200.
2016-02-25 23:32:53 +08:00
Yao Wei Tjong 姚伟忠
1e311acb6a Speed up build for Debug configuration by building only active arch. 2016-02-02 22:19:57 +08:00
Yao Wei Tjong 姚伟忠
829d1923a6 Use force when pushing local subtree to remote. 2016-01-31 13:15:08 +08:00
Yao Wei Tjong 姚伟忠
16fd906363 For CI - Fix the scaffolding test on Mac VM using abs path.
[ci only: master, OSX] [skip appveyor]
2016-01-28 21:02:38 +08:00
Yao Wei Tjong 姚伟忠
1dbb27d3c0 Pardon our dust. Fix the scaffolding test on Win using abs path.
[ci only: AppVeyor]
2016-01-28 19:27:39 +08:00
Yao Wei Tjong 姚伟忠
9c42773439 Minor clean up on Rakefile and fix scaffolding rake task on Windows.
Close #1174
2016-01-28 19:00:01 +08:00
Yao Wei Tjong 姚伟忠
4e2a7d6b19 For CI - reduce sample count for iOS, otherwise artifact is too big. 2016-01-27 14:17:43 +08:00
Yao Wei Tjong 姚伟忠
90b53f859a For CI - fix build artifact upload.
[ci package]
2016-01-27 01:32:11 +08:00
urho3d-travis-ci
c4f6f315ff Travis CI: bump copyright to 2016.
[ccache clear]
2016-01-26 13:55:03 +00:00