Commit graph

9 commits

Author SHA1 Message Date
Denis Pauk
51d092660b ci/cd: Update package versions 2024-09-14 01:07:27 +03:00
Denis Pauk
8d5da27bc3 Merge remote-tracking branch 'yquake2/master' 2024-08-18 22:35:38 +03:00
Yamagi
6066b3c979 Another round of changes to the Github workflows.
* Build ref_gles1 only on Linux, it's of limited use under MacOS and Win.
* Fetch openal-soft from Github, the other mirror had several connection
  problems in the past.
* Always include the latest curl.dll in Windows builds. Since this isn't
  a stripped down build of curl, it's better to have it up to date.
* Make sure that we are on Ubuntu 22.04. Otherwise the binaries wouldn't
  work on newer distros when `ubuntu-latest` becomes Ubuntu 24.04.
* Fix some typos.
2024-08-18 16:55:02 +02:00
Yamagi
ccba5946fd Enable ref_gles1 in CI builds. 2024-08-13 00:17:50 +03:00
Yamagi
a26c496038 Enable ref_gles1 in CI builds. 2024-08-12 18:21:22 +02:00
Denis Pauk
247acb32fd Merge remote-tracking branch 'yquake2/master' 2024-08-12 18:46:04 +03:00
Yamagi
679c2d5509 Also trigger the CI workflows for PRs when new commits are added. 2024-08-12 15:43:40 +02:00
Denis Pauk
5d082ab2d9 Add test githaub action builds
Testbuild is applied to macos, linux, win32, win64.

Win32/64 additionally create release for tags.

Linux build is checked with disabled ffmpeg flag as LTS linux image
has unsupported ffmpeg version.

Based on:
*  180050b9a3
2024-08-11 18:08:44 +03:00
Yamagi
180050b9a3 Add Github Workflows to create test build for Linux, MacOS and Win32.
This is should make testing for normal endusers easier by providing
prebuild binaries for them. It also serves as a simple CI by compiling
every commit and Pull Request for Linux, MacOS and Win32. And it saves
time, because (Windows) test build must no longer created by hand.

* Windows is build for Win32 only. We won't add a Win64, because there's
  no point in having a 64 bit Windows release and it would break most
  existing mods. Savegames are also not compatible between 32 and 64 but
  builds.

* MacOS is build to get some test exposure and to publish up to date
  binaries to users. This doesn't mean that MacOS is now officially
  supported. It stays community supported. The binaries are untested,
  because I have no Mac. PRs are welcome. ;)

* Linux is build with ubuntu-latest, which is the last LTS release. The
  binaries should work on most other distros.

Windows includes all required dependencies. As a difference to release
builds the curl.dll is taken from upstream and not a cut down custom
build. MacOS and Linux do not ship the dependencies, users should
install them through Brew or their distro.

Github strips file permission when zipping the assets. A work around
would be to create a tar archive and zip that, but that is ugly. I
opted against it, users must mark the binaries executable by hand.

These workflows trigger at each push to the master master branch and at
each new or edited pull request.

Special features like SDL3 are not supported at this time.
2024-08-11 13:03:12 +02:00