Commit graph

2438 commits

Author SHA1 Message Date
Pentarctagon
a6a927139b Change back to creating the macOS dmg from scratch.
On macOS 10.14 on travis, mounting the dmg template results in the job failing due to hanging indefinitely. This can be revisited when 10.15 is available, or perhaps dmgbuild could be used to add in the background image/ds_store metadata from scratch as well.
2020-03-28 22:09:33 -05:00
Pentarctagon
67c169ed80 Add scripts to pull various pieces of information from the MP database.
The intent being that I plan to run these once a month and post the results on the forum.
2020-03-26 14:54:53 -05:00
Pentarctagon
a04dce619b Add the VS2019 Debug configuration job to travis. 2020-03-22 19:54:02 -05:00
Pentarctagon
111e327e7b Add VS2019 jobs to travis.
The first run of the 2019 jobs will fail, since that run will be used to build and cache the vcpkg dependencies - there's no way to get enough time to build wesnoth and build the dependencies in a single job.
2020-03-20 16:07:18 -05:00
Pentarctagon
7ecc6a3fb4 Use the vcvarsall bat script. 2020-03-14 23:20:12 -05:00
Pentarctagon
1487fec273 Use macOS dmg template on travis. 2020-03-12 17:06:12 -05:00
Pentarctagon
046c0a0f80 Fix for git archive from travis' shallow clone. 2020-03-12 17:06:12 -05:00
Pentarctagon
0c7b8a5007 Fix SFTP handling of files not in the directory the SFTP scripts is called from.
This is meant for moving single files to a single remote directory.  Handling anything more complex is not meant to be supported, and currently doesn't work anyway.
2020-03-12 17:06:12 -05:00
loonycyborg
85cea309fa Made mingw build docker image make installer in its entrypoint too 2020-03-11 15:48:51 +03:00
Pentarctagon
5185071e96 Fix the occasional mp unit tests travis failure.
Probably could be written more succinctly, but should work.
2020-03-04 07:29:00 -06:00
Pentarctagon
faa58bc441 Update the VC14 toolset to the same as used on travis. 2020-03-02 07:35:09 -06:00
Pentarctagon
b100cebd4b Upload VS pdb files for the Debug configuration. 2020-03-02 07:35:09 -06:00
Pentarctagon
2f22de2636 Make debug builds instead of -O0 builds.
Rename OPT -> CFG.
Rename LTS -> IMAGE.
Reorder travis jobs.
2020-02-28 11:35:04 -06:00
Pentarctagon
d8e79a8e89 Run the pre-release translation targets on travis.
This will then catch errors on the commit it happens instead of usually much later.
2020-02-24 20:45:07 -06:00
Pentarctagon
5642ca74e4 Create macOS debug dmg image on travis.
Also uploads it to SourceForge.  This is also set to be UDBZ(bzip2) rather than UDZO(zlib), since it shrinks the dmg size for 30-40 MBs.
2020-02-21 22:20:08 -06:00
Pentarctagon
6b3245f643 Install paramiko for future SFTP use. 2020-02-19 21:32:13 -06:00
Pentarctagon
0f163825e6 Move variable exports to the install step. 2020-02-19 21:32:13 -06:00
Pentarctagon
dbe2eeabde Disable macOS code signing.
The Release configuration defaults to requiring it.
2020-02-19 21:32:13 -06:00
Pentarctagon
598310579c Build translations on macOS. 2020-02-19 21:32:13 -06:00
Pentarctagon
af74d9853c Remove code for no longer used scons/cmake travis builds. 2020-02-19 21:32:13 -06:00
Pentarctagon
abd7aed0f9 Switch to running Release and Debug xcode jobs on macOS. 2020-02-19 21:32:13 -06:00
Pentarctagon
082e209552 Run valid character checks during the translations job. 2020-02-19 21:32:13 -06:00
Pentarctagon
46e9a42f13 Fix travis script for checking for invalid UTF8.
Previously it wouldn't treat not having the `isutf8` command like a failure.
2020-02-19 21:32:13 -06:00
Pentarctagon
a36b99225a Upload .tar.bz2 from travis.
While it can't be used currently, it's there and functioning in case that changes in the future.
2020-02-16 09:56:44 -06:00
Pentarctagon
d9ba86ffe2 Upload the debug output of the VS job. 2020-02-16 05:27:10 -06:00
Pentarctagon
7c3869f360 Update mingw docker image for creating the Windows installer. 2020-02-15 18:41:01 -06:00
Pentarctagon
204c4b804c Create windows installer on Travis. 2020-02-15 18:41:01 -06:00
Pentarctagon
e679909762 Increase the xcode job's ccache size.
For whatever reason the existing limit of 200MB is no longer enough, resulting in a significant number of cache misses, which results in partial rebuilds taking far longer than they should.
2020-02-07 16:49:50 -06:00
Pentarctagon
61964a096c Handle the SFTP_PASSWORD not being present more gracefully on forks. 2020-02-07 16:49:50 -06:00
Pentarctagon
b14dfb25eb Fix the return code from the mingw job.
The job should take its final return code from the scons job if it failed, not the sftp attempt.
2020-02-07 16:49:50 -06:00
Pentarctagon
84d88e97e3 Make variables provided to docker environment variables.
Currently they are only regular variables passed to a script, so they are not picked up by cmake as expected.
2020-02-07 16:49:50 -06:00
Pentarctagon
656737e6c9 Upload executables from travis.
This will SFTP the wesnoth and wesnothd executables from Travis (UPLOAD_ID=<something>) to SourceForge.
2020-02-07 08:18:40 -06:00
Earth-Cake
23cb2eecf7 Remove WoV from wmlling and schema_validation 2020-02-04 18:05:59 -06:00
Iris Morelle
8cf5ce51cd pofix: 1.14 announcement rules for 1.14.11
[ci skip]
2020-02-02 22:30:28 -03:00
Steve Cotton
95e3b7aa91 Port the GDB pretty-printing functions to Python3 and update docs
The code in the documentation needed to change slightly for the port,
so the documentation update is combined in the same commit.
2020-01-22 19:34:01 +01:00
Steve Cotton
845b3ab5bb Update GDB pretty printers for renamed members in config.hpp 2020-01-22 19:34:01 +01:00
Pentarctagon
95dc6b5f45 Only store game information once the game starts. 2020-01-21 18:02:28 -06:00
Steve Cotton
10f08333dc Delete utils/update-language-percent as it's obsolete
When this utility was written, the list of languages was hardcoded in
src/language.cpp, an example of running it is shown in c2e397e07d.
That hardcoded list was removed by 3fbe2a5863 and b5270e41b9.
2020-01-21 06:03:02 +01:00
Iris Morelle
39be458d8e pofix: 1.14 announcement copyright update
[ci skip]
2020-01-10 00:22:16 -03:00
pentarctagon
6e27a84071 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.
2020-01-05 01:35:09 -06:00
pentarctagon
d1f2d9add2 Make sure to exit with the correct status. 2020-01-05 01:35:09 -06:00
pentarctagon
392f84afff 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.
2020-01-05 01:35:09 -06:00
pentarctagon
0a7f483c72 Add debug and release Windows jobs to travis.
This also removes the separate WML_tests.cmd scripts from VC14 and VC16, now instead using the same run_wml_tests script as the linux jobs.

There is currently no caching of the Windows jobs, since msbuild unfortunately uses timestamps rather than more complete information like scons/ccache in order to determine if things need to be rebuilt. Since git doesn't preserve any sort of last modified timestamp, the cloned repo into the travis job is always "newer" than the cached compiled output, and therefore wesnoth is always fully rebuilt.

Ideally, assuming this sticks around and gets out of early access from travis, we could then use just travis instead of travis and appveyor.
2019-12-31 17:17:34 -06:00
pentarctagon
21d133828b Add a flatpak travis job.
NOTE: This doesn't sign/upload/etc the output anywhere.
2019-12-31 17:17:34 -06:00
pentarctagon
f3ed41d728
Remove schema validation for AOI. 2019-12-01 20:06:48 -06:00
pentarctagon
acb2dd8226
Install python3 for the WML unit tests. 2019-11-28 00:55:04 -06:00
pentarctagon
1a2be4bef5 Add steam runtime job to travis. 2019-11-18 19:28:15 -06:00
pentarctagon
9a34cbb329
Add quotes around UID variable.
On my own system, this variable isn't set, which cases the command to fail.
2019-11-15 19:05:23 -06:00
pentarctagon
d83fd5d9c8 Add mingw crosscompile job to travis.
Of note:
* The image now created by Dockerfile-base-mingw is available on wesnoth's Docker Hub.
* Strict building is disabled, as there are a couple warnings that show up when crosscompiling.
2019-11-15 18:54:49 -06:00
loonycyborg
479278a0d9 Improve dockerbuild scripts
- recreate output dir
- write output at user's uid
- mount /build dir onto tmpfs
2019-11-14 17:33:22 +03:00