Commit Graph

85 Commits

Author SHA1 Message Date
halprin
3b741a9feb
Remove debug programs 2024-12-17 19:17:46 -07:00
halprin
61e77ff8da
Consolidate steps but add some debug output 2024-12-17 18:44:22 -07:00
halprin
842e3149e2
Try not running brew in x86_64 2024-12-17 18:25:48 -07:00
halprin
2f060343e1
Improve if statements and documentation 2024-12-15 21:03:56 -07:00
halprin
3189a29739
this time without all the shell config 2024-12-15 20:27:13 -07:00
halprin
c0d62f94ce
Does it work without arch after install 2024-12-15 20:24:10 -07:00
halprin
dc8aff0b50
Specify shell per runner 2024-12-15 19:49:46 -07:00
halprin
c7f48142c6
Overwrite PATH for future steps when running as macOS Intel 2024-12-15 19:18:11 -07:00
halprin
c049d35725
Tell me the arch of cmake 2024-12-15 19:04:21 -07:00
halprin
b9fb1aa2b8
Do not intall Rosetta with brew 2024-12-15 18:48:44 -07:00
halprin
fd8909296a
Do not use shell when installing Rosetta 2 2024-12-15 18:47:03 -07:00
halprin
cb3aedce3c
Specify the shell for macOS Intel 2024-12-15 18:43:31 -07:00
halprin
572070ad23
use direct arch 2024-12-15 18:16:03 -07:00
halprin
f8d01651a5
eval without arch -x86_64 2024-12-15 17:33:01 -07:00
halprin
f3f8d1e5fa
Set-up brew path correctly before bundle install 2024-12-15 17:23:07 -07:00
halprin
b7b410fe73
try installing Rosetta and build for Intel 2024-12-15 17:05:00 -07:00
Azamat H. Hackimov
7fe52ecb97
Merge pull request #642 from Lgt2x/arm64-cross
Introduce cross-compiled ARM64 build
2024-11-29 16:15:01 +03:00
Louis Gombert
d77383f8ab MacOS CI builds: use MacOS-13 instead of the deprecated MacOS-12 2024-11-26 20:44:29 +01:00
Louis Gombert
601765a18f Add ARM64 build to github actions 2024-11-25 22:44:37 +01:00
Louis Gombert
c676bdb5ff Github actions: fix ignored paths for build action 2024-10-29 21:14:35 +01:00
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