Commit Graph

65 Commits

Author SHA1 Message Date
Azamat H. Hackimov
8b0f27604c Use plog from vcpkg on CI
Additional documentation on changes.
2024-09-10 03:00:57 +03:00
Azamat H. Hackimov
83ff0eef99 GitHub Actions: recursive checkout sources 2024-09-10 03:00:26 +03:00
Azamat H. Hackimov
03a3b923a0 Add release flow to GitHub Actions
Initial support to automate release flow. Now after git tag of specific commit GitHub Actions will create a draft entry of release (named by tag) with source code package on it.
2024-08-12 17:07:44 +03:00
Chris Sarbora
f93f86e7dd
Update CI workflow with correct vcpkg dependencies 2024-08-04 10:42:09 -05:00
Chris Sarbora
e5dcce3c9f
Use vcpkg for all platform presets 2024-08-03 23:38:01 -05:00
Louis Gombert
79a59f25e4 Remove win32 preset, make x64 the default on Windows 2024-06-29 18:21:38 +02:00
Edu Garcia
a2d3a9cc75
Merge pull request #422 from Lgt2x/windows-ninja
Windows CMake preset: use ninja generator
2024-06-14 07:32:44 +01:00
Louis Gombert
3036f44017 x64 compilation fixes 2024-06-09 20:12:47 +02:00
Louis Gombert
87f19acc2f Internal editor: minimal compilation fixes 2024-06-07 21:41:40 +02:00
Louis Gombert
82c04f8fb9 Windows CMake preset: use ninja generator 2024-06-07 19:20:07 +02:00
Azamat H. Hackimov
95caa7b6c3 Remove ncurses enabled console
This type of console is enabled only with `-svgalib` and `-dedicated` options. Since there no svgalib direct support (which is pretty old and too specific to Linux tech), it's better completely remove this code for simplicity and reducing external dependencies.
Removed `-svgalib` option as unused now.
2024-05-31 13:12:28 +03:00
Azamat H. Hackimov
08b906fcc3 Introducing installation steps
Added installation steps for all built targets. Added FORCE_PORTABLE_INSTALL cmake option that controls portable installation (only supported for now).
2024-05-22 21:35:52 +03:00
JeodC
7576a353e4 Add win64 build preset 2024-05-22 10:21:59 -04:00
Jason Yundt
2bb1e4167a Use CMake to create LICENSE file, not CI
Before this change, the CI script had a special step that would ensure
that CI artifacts contained a copy of Descent 3’s license. This change
replaces that special CI step with a CMake target.

The main motivation behind this change is to make it easier for people
to create packages for Descent 3. Before this change, if you wanted to
create a package for Descent 3, then you would have to manually ensure
that your package contained a copy of the GPL.
2024-05-17 12:14:01 -04:00
Louis Gombert
0e69bf465f
Merge pull request #241 from icculus/ryan-sdl2-port
Initial SDL2 port
2024-05-06 08:57:20 +00:00
Jason Yundt
db742e6939 Add a copy of the GPL to CI artifacts
The GPL requires that you include a copy of the GPL with every copy of
programs that are released under the GPL [1]. Before this change, CI
artifacts didn’t include a copy of the GPL.

Fixes #276.

[1]: <https://www.gnu.org/licenses/gpl-faq.en.html#WhyMustIInclude>
2024-05-04 15:16:14 -04:00
Louis Gombert
ad78f4d756 Enable logger on all CI builds 2024-05-03 16:01:30 -04:00
Ryan C. Gordon
ff571ed7dd
Make sure Mac and Linux builds have SDL2 available.
Currently Windows gets this from vcpkg. Mac will get it from Homebrew,
and the GitHub linux builders will just install it with apt-get.

This might not be the perfect solution (having to install Homebrew is a pain,
GitHub Actions has an ancient SDL2), but it gets all the common platforms
running for now without much fuss.
2024-05-02 08:30:46 -04:00
Bryan Perris
b0e5754e96 Introduce spdlog logging system
* The game version is now printed via the log system rather than from within the loki_initialize function.
remove this line
2024-04-30 14:27:38 -04:00
Louis Gombert
38f75ee9a8
Merge pull request #171 from winterheart/ci-unittests
Enable unittests on CI
2024-04-28 21:09:56 +00:00
JeodC
edb988d404 Make it look prettier in reader mode
ffs
2024-04-27 19:39:36 -04:00
JeodC
14a1af5e68 Make it look prettier in editor mode 2024-04-27 19:37:17 -04:00
JeodC
77c93aab7e Move PR template to the .github folder 2024-04-27 19:34:49 -04:00
JeodC
f46e7bb6f2 Update pull_request_template.md 2024-04-27 19:28:02 -04:00
Azamat H. Hackimov
5c63dec1a5 Customize name of build job
Creates eye-candy look in GitHub CI UI
2024-04-26 10:21:53 +03:00
Azamat H. Hackimov
cab27f3018 Rearrange Build and Unittest steps
Simplify workflow with additional matrix.build_type items.
2024-04-26 10:21:50 +03:00
Azamat H. Hackimov
2af2728d74 Enable unittests on CI
Added additional dependency GTest for all platforms.
2024-04-26 10:19:41 +03:00
Jeod
351a145149
Update pull_request_template.md 2024-04-25 17:55:58 -04:00
JeodC
bec9f5fd30 Create pull_request_template.md 2024-04-25 17:54:05 -04:00
Thomas Otto
a0a247a117 CI: give OSes pretty names
And name the resulting zip file Descent3_<OS>.zip
2024-04-25 23:06:10 +02:00
Jeod
d46f61cca3
Allow manual triggering if needed 2024-04-24 15:57:52 -04:00
Oskar Strengbohm
132a725daa unzip: Link against real zlib. 2024-04-24 08:22:13 +02:00
Jeod
b274be59b7
Update build.yml 2024-04-22 17:31:41 -04:00
Jeod
c88c52b0ac
Update 03-wiki-issue.yml 2024-04-22 13:36:02 -04:00
Jeod
2db70717b1
Update 01-build-failure.yml 2024-04-22 13:11:10 -04:00
Jeod
66a0608b7d
Update 02-runtime-issue.yml 2024-04-22 13:10:25 -04:00
JeodC
26391834c3 Add new issue templates 2024-04-22 13:07:31 -04:00
Edu Garcia
ebc78a6463
Merge pull request #139 from winterheart/linux-clang
CI: Add Linux / clang to build matrix
2024-04-21 21:24:34 +01:00
Louis Gombert
f1ec3d76c6
Merge pull request #122 from winterheart/hogutils
Own implementation of HogUtils - HogMaker
2024-04-21 18:08:39 +00:00
Azamat H. Hackimov
6a6f6570be CI: Add Linux / clang to build matrix 2024-04-21 20:17:04 +03:00
Dan Raviv
eb1ad62b8b Verbose build in CI
Useful for debugging CI and build issues
2024-04-21 09:21:41 -07:00
Dan Raviv
462ae4de3f [CI] Use same job for both Debug and Release builds
Making use of CMake's multi-config generators which we're using.
Simpler and more efficient, halves number of jobs.
2024-04-21 09:21:15 -07:00
Azamat H. Hackimov
1765d07790 Remove now unused hogUtils-i686 2024-04-21 19:15:23 +03:00
Jason Yundt
423dfdb249 Remove unnecessary build dependency
2d4d82d (Accurately find the linux artifacts (#80), 2024-04-19) made it
so that make no longer gets used as a part of the build process, but it
didn’t remove make from the list of build dependencies.
2024-04-21 08:59:56 -04:00
JeodC
1382d9f2af Add proposed changes 2024-04-20 13:53:21 -04:00
JeodC
ec9800884e Add issue templates, adjust gitignore for windows 2024-04-20 09:30:44 -04:00
Edu Garcia
76ebfa19a0 fix CMakePresets for Windows, add build presets 2024-04-20 07:47:09 +01:00
Jeod
2d4d82d469
Accurately find the linux artifacts (#80)
use ninja for Linux builds, fixes missing Linux artifacts on CI
2024-04-19 12:13:19 +01:00
Louis Gombert
ee5478328c
Merge pull request #60 from Arcnor/macos-runners
enable both Intel & M1 macOS runners
2024-04-18 07:40:13 +00:00
Edu Garcia
dcfdbf0fcf enable both Intel & M1 macOS runners 2024-04-18 08:18:08 +01:00