staphen
56af849632
Use romfs on Switch for devilutionx.mpq
4 years ago
Oleksandr Kalko
d112f7155a
Use apt-get instead of apt in CI
4 years ago
staphen
422ae249e7
[3DS] Use latest version of makerom
4 years ago
Gleb Mazovetskiy
076b0c0c05
Overhaul tests
...
1. Adds a `libdevilution_so` target when tests are enabled.
2. Each test file is now a separate binary target linked against `libdevilutionx_so` (can now run tests in parallel).
3. Tests are now defined in a separate `test/CMakeLists.txt` file.
4. Building the tests is now controlled by the standard `BUILD_TESTING` option (defined by CTest).
5. Tests are now built by default.
6. On CI, test errors are now reported.
Also:
* `.clang-format`: Enable SortIncludes in tests
* `path_test.cpp`: Fix -Wsign-compare
4 years ago
staphen
66beceba59
Remove NIGHTLY_BUILD and BINARY_RELEASE options
4 years ago
staphen
5d14513f3b
Add 3dsx back to the 3DS build
4 years ago
Stephen C. Wills
08792e0b49
Remove 3dsx from docs and builds ( #3458 )
4 years ago
Gleb Mazovetskiy
3d308983a8
Migrate to libmpq
...
libmpq is a much simpler alternative to StormLib for reading MPQ archives.
We use our own fork of libmpq: https://github.com/diasurgical/libmpq
Impact:
* DevilutionX is now a lot more portable. Unlike StormLib, libmpq only
needs platform-specific code for Windows.
* Locks around file access **removed** (instead we duplicate the file descriptor for streamed audio only).
* RAM usage is **300 KiB** lower than StormLib.
* Stripped release linux_x86_64 binary is **32 KiB** smaller.
* Amiga build now hangs instead of crashing.
4 years ago
frrsth
11dae845a9
remove ttf references
4 years ago
frrsth
779c17a688
remove ttf references
4 years ago
Ivan Epifanov
9b125997b4
Add gettext builddep
4 years ago
staphen
e4a7920922
Use GitHub Actions for Android test builds
4 years ago
Ivan Epifanov
82b319c989
Remove smpq from vita build
4 years ago
Gleb Mazovetskiy
f29215a167
CI: Manually build & install SMPQ on Vita CI
5 years ago
Anders Jenbo
6321ddb721
Generate devilutionx.mpq
5 years ago
staphen
60492ef954
Add proper graphics for gamepad
5 years ago
staphen
c11929e282
Install gettext in 3DS CI
5 years ago
staphen
7510048bd6
Add 3DS CI commands to download ffmpeg
5 years ago
ephphatha
0efb134e18
Add tests for quest randomisation code
...
Required splitting the code to a separate function so it can be tested in isolation
5 years ago
Anders Jenbo
3f7ad14306
Set up CI for Android builds
5 years ago
staphen
6aba719ed1
Remove 3DS package updates from CI script
5 years ago
staphen
fc9793cd73
Fix 3DS CI build
5 years ago
staphen
2c03da3516
Adjust cmake commands for 3DS build
5 years ago
Gleb Mazovetskiy
7ab16c5c5d
🔨 CMake: Cleanup Nintendo Switch variables
5 years ago
Dave Murphy
733cf56a1e
use upstream devkitPro cmake machinery
5 years ago
obligaron
ac6a398cb6
New CMake option ENABLE_CODECOVERAGE to toggle instrumentation of code for code coverage
5 years ago
Gleb Mazovetskiy
74490885d5
🔨 Fix 3DS build
5 years ago
Gleb Mazovetskiy
633a47fd76
🔨 Fix Switch CI build
...
The image was updated from Debian Stretch to Debian Buster in 491845c3c3
5 years ago
Trihedraf
9a27132ad9
Move Linux x64 back to circleci and debian:stretch-backports
5 years ago
Trihedraf
3461652e99
Move Win CircleCI builds to GitHub Actions
5 years ago
Trihedraf
5a9c74a52d
remove Linux_x86, Linux_x86_64, Linux_SDL1 from circleci
5 years ago
Gleb Mazovetskiy
acee2ef14c
🎉 Switch from SDL_mixer to SDL_audiolib
...
SDL_mixer can only stream a single music track
SDL_audiolib has unlimited streams.
With this change, we finally have streaming sounds (respecting
sfx_STREAM).
Audio options can now also be set via diablo.ini, which should help us
better diagnose the static noise issues.
5 years ago
Gleb Mazovetskiy
1977f39ecb
🔨 Switch: Better fix for pkgconfig support
5 years ago
Gleb Mazovetskiy
fdc6cd6f7e
🔨 Switch CI: Fix pkgconfig support
...
Works around https://github.com/devkitPro/docker/issues/16
5 years ago
Gleb Mazovetskiy
2f40211404
🔨 CI: Use system libfmt on Debian Testing builds
5 years ago
Gleb Mazovetskiy
7e9ef03334
🔨 CMake MinGW: Set pkgconfig path and fix prefix
...
1. Make CMake use MinGW's pkgconfig wrapper.
2. Set the correct `prefix` in `pkgconfig` files.
5 years ago
Gleb Mazovetskiy
4f31703b73
🔨 CMake Vita: Set pkgconfig path and fix prefix
...
1. Make CMake use VitaSDK's pkg-config wrapper.
Fix sent upstream: https://github.com/vitasdk/vita-toolchain/pull/182
2. Work around broken `prefix` in `pkgconfig` files:
https://github.com/vitasdk/vdpm/issues/69
5 years ago
Trihedraf
0f583bb7ed
Bring Linux_SDL1 inline with other Linux builds
5 years ago
Trihedraf
b71c5aa0d1
Move to Debian:Testing, remove redunant cmake --build commands
5 years ago
Gleb Mazovetskiy
7cf4f2142d
CTest: Output details on failure
5 years ago
Trihedraf
0f7b2682b2
adjust AppRun file to updates in #1253 . move linux packaging and appimage commands to helper scripts
5 years ago
Trihedraf
e55d226326
update appimage to use devilutionx.mpq and charissilb.ttf
5 years ago
Anders Jenbo
629339bbd9
👷 Build Switch test builds as nightly
...
Builds are now working correctly without optimization on Switch
5 years ago
Anders Jenbo
54c54ac5dd
👷 Update switch build container
5 years ago
Trihedraf
33e550ceb6
Build an AppImage for Linux on CircleCi
5 years ago
Trihedraf
2472058bb4
Change Linux packaging to match release packaging and move devilutionx.mpq to root of package
5 years ago
Trihedraf
582508a123
Add Linux Packages
5 years ago
Anders Jenbo
9737ccfcfe
Limit CI builds to 2 cpus ( #1116 )
...
CI only provides us 2 CPUs but nproc reports it as 32 leading to some bad balancing and some tiles stalled builds
5 years ago
Anders Jenbo
5cd96dd1b6
Add git to Vita build server
...
This is reguired for fetching the version from the git tags
5 years ago
Epifanov Ivan
f49b55cbe1
Migrate to vitasdk
5 years ago