dependabot[bot]
9c771bf991
Bump actions/upload-artifact from 2 to 3
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
dependabot[bot]
4c0ae89cfe
Bump actions/checkout from 2 to 3
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Gleb Mazovetskiy
4d4c296bce
GitHub CI: Fix cache strategy
...
GitHub caches are immutable, so #5883 was wrong (caches were never
updated).
Goes back to the previous caching strategy but with a cleanup workflow
to delete caches for merged/closed PRs.
The cleanup code comes from the example in GitHub docs:
https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#force-deleting-cache-entries
3 years ago
Gleb Mazovetskiy
9a1056bd0c
GitHub CI: Remove git SHA from cache key
...
We're hitting the GitHub cache limit because we create a new cache for
every commit.
Reuse the same cache instead.
3 years ago
DakkJaniels
95c20c7ce9
ignore build workflows if only change is markdown
3 years ago
Gleb Mazovetskiy
83343a2d7e
Update Linux builds to more recent OS versions
3 years ago
Anders Jenbo
367223bb22
Cancel previous builds when PR is updated
3 years ago
Gleb Mazovetskiy
1791e1f71c
Replace AppVeyor with GitHub Actions
4 years ago
Gleb Mazovetskiy
ecf4efdf67
CMAKE_CXX_STANDARD: 17 -> 20
...
This allows us to use heterogenous `unordered_map` where available.
4 years ago
Gleb Mazovetskiy
d291159c66
Update libfmt from upstream
4 years ago
Oleksandr Kalko
d112f7155a
Use apt-get instead of apt in CI
4 years ago
staphen
9b32c8d541
Update libzt to the latest version
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
Adam Heinermann
1484b4d8cf
Implement Discord rich presence ( #3711 )
4 years ago
staphen
66beceba59
Remove NIGHTLY_BUILD and BINARY_RELEASE options
4 years ago
Gleb Mazovetskiy
5ccdbe52d4
GitHub workflow fixes
...
1. Adds act support. https://github.com/nektos/act
2. Fixes OpenDingux workflows
OpenDingux workflows tested with act:
act -W .github/workflows/retrofw_release.yml -j retrofw
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
Anders Jenbo
6321ddb721
Generate devilutionx.mpq
5 years ago
staphen
60492ef954
Add proper graphics for gamepad
5 years ago
Anders Jenbo
ceaad03905
Cache GitHub Action build folders
5 years ago
Anders Jenbo
d94dd1d746
Avoid multiple tasks per job
5 years ago
Trihedraf
7586239857
Skip duplicate actions.
5 years ago
Trihedraf
b4cf8a9aeb
update build environment commands
5 years ago
Trihedraf
1bf85a1f37
add Linux_x86, Linux_x86_64, Linux_SDL1 to GH Actions
5 years ago