Tamás Bálint Misius
b4213a20f7
Fix workflow sometimes releasing debug builds
...
Both the debug and release jobs would upload artifacts, with the same name, which ghactions of course accepted without question. Snapshot 240 happens to have been released correctly (so all binaries are release builds), but that's just luck. I'd thought I'd fixed this problem with another commit, but turns out I hadn't.
Also factor out a bunch of variables so I won't mess up in the future.
2022-09-15 12:11:52 +02:00
Tamás Bálint Misius
fefafa3b3d
Display link command line when building for windows
...
Command line is limited in length on windows so meson/ninja puts it in a response file and passes that to the linker instead. Only problem is, ninja -v displays only the part of the command line where it tells link.exe where the response file is, not what's in the response file. So I just had the script print it. Care must also be taken for the script to properly fail if ninja fails, but not before the command line is printed.
Also add /GL and /LCTG to msvc command lines because they can't hurt. Right?
2022-09-11 14:15:34 +02:00
Tamás Bálint Misius
f42c8372d2
Fix release assets failing to upload
2022-09-11 07:15:36 +02:00
Tamás Bálint Misius
bc208a700f
Fix new workflow not creating releases in some cases
2022-09-11 06:49:07 +02:00
Tamás Bálint Misius
1f1f450177
Fix starcatcher uploads
2022-09-11 01:03:53 +02:00
Tamás Bálint Misius
513d2cae3e
Update tpt-libs
...
Also restructure meson.build and the ghactions workflow a bit, and enable -ffunction-sections and -fdata-sections.
Note that starcatcher uploads have not been tested and most likely don't work.
2022-09-03 07:01:21 +02:00
Tamás Bálint Misius
c140b4bff0
Fix non-future-proof android NDK path resolution
2022-07-31 08:20:03 +02:00
Tamás Bálint Misius
20bdee33e2
Fix starcatcher-publish step so it actually uploads apks now
2022-04-19 06:25:24 +02:00
Tamás Bálint Misius
f7527b46e6
Update tpt-libs, add support for android
2022-04-14 21:18:21 +02:00
Tamás Bálint Misius
6fe82d7221
Update tpt-libs, use SDL2main the way it's meant to be
...
Also fix the first mouse click not being detected on windows with sdl 2.0.20. Apparenlty, we need SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH set to 1 for it to be detected.
2022-04-10 10:39:23 +02:00
Tamás Bálint Misius
b963010187
New ghactions reltype to ease tpt-libs development
2022-04-09 20:29:17 +02:00
Tamás Bálint Misius
656ace10c6
Add support for MacOS on ARM
...
Also build with real -no-pie on ghactions, and fix SDL include directories (it's probably blind luck that they worked correctly on most systems).
2022-02-18 18:56:41 +01:00
Tamás Bálint Misius
286d0d60b9
Fix mingw-on-linux builds
2021-12-24 22:47:57 +01:00
xphere07
674134588c
Upgrade to C++17 ( #819 )
2021-12-13 14:41:02 +01:00
Tamás Bálint Misius
cb7665b631
Fix starcatcher-release step (see 8c80dca9
)
2021-11-17 20:38:16 +01:00
Tamás Bálint Misius
8c80dca91b
Print starcatcher release response to console if it fails
...
I guess we'll see at the next release whether I did this correctly.
2021-11-08 15:32:05 +01:00
Tamás Bálint Misius
5582d6881d
Update tpt-libs, add support for compiling with MinGW on Windows
2021-10-22 23:14:54 +02:00
Tamás Bálint Misius
ae01c36f59
Update tpt-libs to v20210712201911, freeze build step ubuntu runner at 18.04
2021-07-12 21:19:05 +02:00
Tamás Bálint Misius
a77bf9342b
Add beta support to ghactions workflow
2021-06-30 22:29:26 +02:00
Tamás Bálint Misius
dba0bcd535
Freeze build step ubuntu runner at 20.04
...
This will hopefully also freeze the minimum required glibc version at 2.29.
2021-06-30 21:47:42 +02:00
Tamás Bálint Misius
1a06f5ba48
Only attempt a starcatcher upload if the relevant repo secrets are present
...
Also get rid of the release_url hack.
2021-06-03 19:23:30 +02:00
jacob1
7409b08a2f
Update changelog for snapshot
2021-04-16 21:05:49 -04:00
Tamás Bálint Misius
62af7504b2
Correctly set snapshot_id (acting as build number) for mods
...
Also refactor a bunch of variables and their handling in the workflow.
2021-04-16 23:31:14 +02:00
Tamás Bálint Misius
706be01044
Pass github secrets the correct way
2021-04-16 21:02:00 +02:00
Tamás Bálint Misius
b94e26d6f0
Disconnect version numbers from the content of v* tags
2021-04-16 17:54:25 +02:00
Tamás Bálint Misius
824372102f
Use more recent python and homebrew on ghactions
2021-04-12 21:23:39 +02:00
Tamás Bálint Misius
7f83e21de1
Add commit parameter to perform-release request
2021-04-09 16:22:49 +02:00
Tamás Bálint Misius
4e5527ce97
Wire up the starcatcher.us snapshot service
2021-04-05 00:09:52 +02:00
Tamás Bálint Misius
36e9fdc39d
Add support for i686-win
2021-03-20 23:02:03 +01:00
Tamás Bálint Misius
ba708fa9ef
Only build render and font on lin64-static
2021-01-21 19:20:56 +01:00
Tamás Bálint Misius
0832615599
Use versioned tpt-libs
...
Also move bzip2 sources out of their own subproject.
2021-01-03 11:00:45 +01:00
Tamás Bálint Misius
6ab46c20e7
Make servers configurable from meson
2020-12-15 22:31:45 +01:00
Tamás Bálint Misius
360297c338
Mesonification
2020-12-14 20:16:52 +01:00