178 Commits

Author SHA1 Message Date
Pentarctagon
ee2c2fb8a9 Fix labeler actions error. 2023-03-25 09:14:07 -05:00
Steve Cotton
4c22f736ec Store glib build log on build failure
The Windows CI builds are intermittently failing. Even though a prebuilt vcpkg
is already cached, it will sometimes choose to rebuild lots of packages anyway.
On some of those rebuilds, there's a failure when building glib.

On the times that it does fail, the failure is often enough glib that checking
the build log manually seems more reasonable than checking what failed.

An alternative would be to look at why it sometimes chooses to rebuild, but
that would mean remotely debugging a CMake config. I'm hoping the build log
will have a clear compiler error pointing to a race condition in the order that
packages are built.
2023-02-03 10:12:59 +01:00
Steve Cotton
4997bc8ada CI: Make the Windows CI builds use separate caches
Looking at recent build failures, one of Debug or Release is using the prebuilt
vcpkg from the cache, and the other one is detecting it but then deciding to
rebuild many of the packages.

The build logs circa 8bd8c53f9887ae2440b9a4d29ec55655de08b519 are no longer
accessible, only the success/failure and time taken are still accessible.
Looking at build timings around those changes is inconclusive, however my guess
is that the CI is noticing that CFG is different between the two builds, and
that's forcing a rebuild for one of them.
2023-01-26 11:56:23 +01:00
Steve Cotton
be432e441b Bump vcpkg baseline to use a non-obsolete version of libtool
The vital commit is fd766eba2b4cf59c7123d46189be373e2cee959d, but
I'm taking the most recent version of vcpkg as the new baseline
because it might as well use the latest.
2023-01-17 14:09:46 +01:00
Pentarctagon
ffbb1c0913 Try setting a more specific cache name 2022-12-20 15:18:21 -06:00
Charles Dang
ca83759ef0 Bump vcpkg baseline again to fix issue with images not loading in debug builds
T'was likely this fix https://github.com/microsoft/vcpkg/pull/28137
2022-12-17 22:26:01 -05:00
Gunter Labes
870bd71521
Make map diff workflow ignore errors
It's not really a check but a support feature. Errors can still be seen when looking at the workflow run.
2022-12-14 09:37:09 +01:00
Gunter Labes
56c32c3e06 Update used actions to avoid deprecated Node.js 12 2022-12-01 16:12:06 +01:00
Charles Dang
699e50a485 Bump vcpkg cache 2022-11-28 01:17:04 -05:00
Pentarctagon
0ac49cf126 Update vcpkg baseline. 2022-11-05 20:49:36 -05:00
Pentarctagon
b1d740d85d That shouldn't be there. 2022-08-30 22:25:48 -05:00
Pentarctagon
e85b64c6f0 See if this gets vcpkg caching working. 2022-08-30 22:22:40 -05:00
Charles Dang
c414056b8d
Fixed vcpkg build issue for port update to 2.6.1 (#6958) 2022-08-12 19:02:02 -04:00
macabeus
3e8ed56ffd small code review fixes 2022-08-09 14:54:13 +02:00
macabeus
4e6402dea3 map-diff: add logs 2022-08-09 14:54:13 +02:00
macabeus
eea512134d map-diff: change maps order on the image output 2022-08-09 14:54:13 +02:00
Pentarctagon
43a1ea2132 Re-implement the boost tests execution.
All tests are now executed one at a time in order to avoid cross-test pollution.

Fixes #6937
2022-08-06 03:03:17 -05:00
Pentarctagon
966f5cd255 Silence new git warning that's irrelevant to the CI. 2022-08-06 03:03:17 -05:00
Pentarctagon
b03a5df7d4 Change CI to use Ubuntu 22.04 docker images. 2022-08-06 03:03:17 -05:00
Pentarctagon
66d5e7bc43
Update workflow since github actions is deprecating using macOS 10.15. 2022-07-27 22:37:29 -05:00
Gunter Labes
b988608bfb
Set default dir and avoid shell injection 2022-07-11 18:37:07 +02:00
Gunter Labes
b39b7e348b
Run test steps independently 2022-07-10 23:18:22 +02:00
Gunter Labes
4313e2485c
Move notifications to the bottom 2022-07-10 16:56:52 +02:00
Gunter Labes
8bd8c53f98 Combine windows jobs into a matrix 2022-07-10 16:37:44 +02:00
Gunter Labes
b063bb5e2e Split ubuntu build into separate steps 2022-07-10 14:24:15 +02:00
Gunter Labes
7cbf24c9e7 Split macos build into separate steps 2022-07-10 13:44:23 +02:00
Pentarctagon
10e40aa8e3 Print vcpkg_abi_info.txt contents.
The only suggestion that came up was checking to see if something in this file changed between when the vcpkg cache is used vs isn't used, so... print out the contents of a random dependency and then check back later I guess.
2022-07-08 23:09:23 -05:00
Celtic Minstrel
be1a347618
Run Boost unit tests on MacOS CI (#6827)
This also fixes the architecture not specified warning
2022-07-05 22:43:13 -04:00
Pentarctagon
628d388a6a
More explicitly specify the cmake version to use. 2022-07-04 00:39:43 -05:00
Pentarctagon
3a796974c3 Skip vcpkg setup if the cache exists already. 2022-07-02 16:11:05 -05:00
Pentarctagon
d1d07f6f0e
Re-add vcpkg caching. 2022-06-18 16:39:25 -05:00
Pentarctagon
335dc36ba8 Unsetting macOS code signing is no longer needed. 2022-06-17 20:25:47 -05:00
Gunter Labes
cc3ab60be0
Color each line separately
In the log display on github.com otherwise only the first line gets the color.
2022-06-10 15:49:21 +02:00
Gunter Labes
848381ae2a
Add back the bold bit 2022-06-10 11:58:25 +02:00
Gunter Labes
782cc4a27f
Avoid subjecting variable expansions to echo -e
Also consistently use tput instead of mixing in hardcoded escape sequences.
2022-06-10 11:51:04 +02:00
Tommy
fed8f6cbcb CI: Colour some failure messages, and make test sections stand out. 2022-06-10 16:45:38 +12:00
Tommy
1cffa2e8fd CI: Enable coloured CMake progress statements. 2022-06-10 16:45:38 +12:00
Tommy
ab9951b272 CI: Fix MP Test executor.
It was not getting called. In stead the Play Test executor was being
run twice.
2022-06-10 16:45:38 +12:00
Tommy
74649f4966 CI: Force colour diagnostics for compilation errors. 2022-06-10 16:45:38 +12:00
Gunter Labes
ae09d75267
Don't use --tty for the translation job 2022-06-04 04:17:28 +02:00
Gunter Labes
810e1e105a
Avoid explicit temp Dockerfile 2022-06-04 02:25:02 +02:00
Gunter Labes
404cde1117
Print errors in red again 2022-06-03 17:11:04 +02:00
Gunter Labes
8d1a4edd5b
Allocate tty so programs can use terminal features 2022-06-03 14:25:17 +02:00
macabeus
77d5c6cf47 map-diff: replace previous comment 2022-05-17 08:10:52 +02:00
macabeus
403112457a map-diff: fix get new map 2022-05-17 08:10:52 +02:00
macabeus
c90f5d5bda map-diff: fix get map 2022-05-15 19:57:17 -05:00
macabeus
39a96df685 map-diff: fix missing permission 2022-05-15 11:58:37 -05:00
Pentarctagon
f5dfdd71b0
Remove CI caching - hasn't worked for a while. 2022-05-07 22:46:05 -05:00
Pentarctagon
0aa8dc3c6c Have cmake also execute the conftests. 2022-05-03 18:10:46 -05:00
macabeus
d1083054c8 wesnoth-map-diff: improve github action code quality 2022-04-27 17:40:52 -05:00