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
Anders Jenbo
367223bb22
Cancel previous builds when PR is updated
3 years ago
Gleb Mazovetskiy
ecf4efdf67
CMAKE_CXX_STANDARD: 17 -> 20
...
This allows us to use heterogenous `unordered_map` where available.
4 years ago
staphen
fbf95556fa
Add artifact to MacOSX workflow
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
Anders Jenbo
10c5cbab9f
Fix and clen up macOS build
4 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
1bf85a1f37
add Linux_x86, Linux_x86_64, Linux_SDL1 to GH Actions
5 years ago
Lou Rinaldi
8826fd27c9
Generate Mac build artifact ( #1406 )
5 years ago