Commit graph

341 commits

Author SHA1 Message Date
Gunter Labes
667af05a19
Separate wesnoth independent checks out into their own job 2023-05-31 15:57:40 +02:00
Pentarctagon
30449e11f4 Fixup copy/paste error. 2023-05-13 15:56:08 -05:00
Pentarctagon
f6be887a91
Let wesnothd and campaignd build without SDL. (#7621) 2023-05-12 19:30:38 -05:00
Gunter Labes
4d23134c63
Make sure the build is not marked as modified 2023-04-24 18:55:34 +02:00
Sergey Popov
db61119ea1
Made flatpak ci job upload bundle too
Convert git checkout to dir in flatpak manifest since otherwise some git operation fails.
Set branch name to "ci" to avoid clashes with other installs.
2023-04-24 10:32:18 +02:00
Gunter Labes
06045142c2
Simplify workflow 2023-04-20 23:26:09 +02:00
Gunter Labes
2a0638120f
Run flatpak job directly on container 2023-04-20 22:38:53 +02:00
Gunter Labes
b5c850fe8f
Run translations job directly on container 2023-04-20 21:05:06 +02:00
Steve Cotton
bb28f54e52 Stop removing manually-added labels on Github PRs
Setting sync-labels to "true" means that it removes labels which people
have added, but which aren't implied by the filelist.
2023-04-16 07:08:30 +02:00
Steve Cotton
e973cdb489 Temporarily disable Windows CI builds
It's better to disable them that to get in the habit of ignoring the CI fails
from the following two issues; this can be reverted once either is fixed.

glib has a bug where it builds things out of order which results in it failing
to build the dependencies, which fails the build.
https://github.com/microsoft/vcpkg/issues/28722

vcpkg also has a bug where it very often fails to use the cache of the
previously built dependencies even if none of them changed, which then makes it
rebuild all the dependencies again.
https://github.com/microsoft/vcpkg/issues/26601

If the glib bug was fixed, then the errors wouldn't happen since rebuilding the
dependencies wouldn't fail. If the caching bug was fixed, then the errors
wouldn't happen since it'd just reuse the cached dependencies.
2023-04-10 19:30:23 +02:00
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
Gunter Labes
7514654c3e
Generalize labeler patterns to cover any campaign 2023-02-01 16:14:37 +01:00
Pentarctagon
3e46c68761 Add achievements to the github auto-tagger. 2023-01-27 18:05:14 -06: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 8bd8c53f98 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