Commit Graph
137 Commits
Author SHA1 Message Date
Gleb Mazovetskiy 31234149a9 Fix Linux_aarch64 build 2023-09-02 15:05:49 +01:00
Anders Jenbo df416dd46f Merge remote-tracking branch 'origin/development' 2023-09-02 06:40:51 +02:00
Gleb Mazovetskiy 9701101634 Switch to C++20
glibc compatibility remains the same.

We now use Clang 18 and static libc++ for the Aarch64 build.
Linux x86 and x86_64 builds now use GCC 13.
2023-09-01 21:56:59 +01:00
Anders Jenbo 1616318bb1 Bump version to 1.5.1 2023-09-01 22:54:19 +02:00
Gleb Mazovetskiy af869ac732 Merge branch 'master' into dev-merged 2023-09-01 20:49:34 +01:00
Oleksandr Kalko e9de3cc820 Upgrade vcpkg baseline commit (#6528) 2023-08-29 13:28:26 +02:00
staphen 0e00f21676 Change cache version in Android CI script 2023-08-27 03:30:47 +02:00
KPhoenix cb1c99acc6 Update feature_request.yml 2023-08-24 20:01:59 +02:00
Eric Robinson cc03d56635 Update bug_report.yml (#6498) 2023-08-24 19:47:52 +02:00
Eric Robinson 29d4ff28ae Create feature_request.yml (#6497) 2023-08-24 19:47:37 +02:00
Gleb Mazovetskiy 52e55b43be vcpkg.json: Update builtin-baseline
This is the version that is currently installed on GitHub Actions.
2023-08-13 21:38:19 +02:00
Gleb Mazovetskiy 2f03bbb2e9 Xbox One: Fix SDL2 checkout command
Also updates SDL2 version to the latest SDL2 branch commit.
2023-08-13 21:38:15 +02:00
Gleb Mazovetskiy 69efd70556 Disable LTO for the Linux SDL1 test build
ICE: https://github.com/diasurgical/devilutionX/actions/runs/5828283630/job/15805736402
2023-08-11 22:58:44 +01:00
Anders Jenbo 2ff60b480a Remove macOS release builds from CI 2023-06-24 04:35:47 +02:00
staphen 32dc218549 Update vcpkg commit ID for MSVC CI 2023-06-20 13:06:51 +02:00
staphen 7a3cfed325 Add 1.5.0 to the list of versions in issue form 2023-06-14 05:47:01 +02:00
Gleb Mazovetskiy 3e2a26a195 Bump libfmt to 10.0.0 2023-05-18 03:16:07 +01:00
Gleb Mazovetskiy d5a78f6b9e Update RetroFW SDK 2023-05-18 04:15:27 +02:00
Gleb Mazovetskiy b90ae7890a Automate macOS x86_64 release
Also cleans up CPack files in other workflows after building (to avoid saving them to cache)
2023-05-07 14:29:49 +01:00
Gleb Mazovetskiy 8896a34a13 Overhaul version handling
Stop using git for the version tag.
The new process is as follows:

1. The `VERSION` file contains the version.
   For release, it should contain "1.5.0".
   Immediately after the release, it should be changed to "1.6.0-dev".
2. The build type is included in the version string unless it is
   "Release". The commit hash is now included into the version string
   whenever the `VERSION` file has a suffix (i.e. 1.5.0-dev rather than
   just 1.5.0). The full version string for development builds now
   looks like this: `1.5.0-dev-Debug-b102dccf8`.

This means we longer need git or `-DVERSION_NUM` to get a sensible version number.

The in-development versions are now always clearly indicated with the
`-dev` suffix no matter how DevilutionX was built.
2023-05-06 21:18:50 +01:00
Gleb Mazovetskiy 9021e3b89e Automate Linux x86_64 release
Also adds `discord_game_sdk.so` to the Linux release builds.
2023-05-02 10:41:31 +02:00
Gleb Mazovetskiy ae99697cfc GitHub actions: Automate i386-linux-gnu release
Also updates aarch64 to be basically the same as the i386 one.
2023-04-26 02:40:57 +01:00
Anders Jenbo eac35f4377 Update Android to gradle 8.0.0 (#6048) 2023-04-26 02:19:00 +01:00
dependabot[bot] 521e71c437 Bump microsoft/setup-msbuild from 1.1 to 1.3
Bumps [microsoft/setup-msbuild](https://github.com/microsoft/setup-msbuild) from 1.1 to 1.3.
- [Release notes](https://github.com/microsoft/setup-msbuild/releases)
- [Changelog](https://github.com/microsoft/setup-msbuild/blob/main/building-release.md)
- [Commits](https://github.com/microsoft/setup-msbuild/compare/v1.1...v1.3)

---
updated-dependencies:
- dependency-name: microsoft/setup-msbuild
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-04-24 11:16:42 +02:00
dependabot[bot] 2dfb22ccbd Bump actions/setup-java from 2 to 3
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 2 to 3.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-04-24 10:54:06 +02:00
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] <[email protected]>
2023-04-24 10:53:47 +02:00
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] <[email protected]>
2023-04-24 10:52:52 +02:00
dependabot[bot] 75ee37f3a5 Bump jidicula/clang-format-action from 4.3.1 to 4.11.0
Bumps [jidicula/clang-format-action](https://github.com/jidicula/clang-format-action) from 4.3.1 to 4.11.0.
- [Release notes](https://github.com/jidicula/clang-format-action/releases)
- [Commits](https://github.com/jidicula/clang-format-action/compare/v4.3.1...v4.11.0)

---
updated-dependencies:
- dependency-name: jidicula/clang-format-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-04-24 10:52:24 +02:00
Gleb Mazovetskiy b8ddb36cfd Add dependabot for GitHub Actions 2023-04-24 09:18:01 +01:00
Gleb Mazovetskiy dd3103497a aarch64-linux-gnu cross-compilation
Allows one to easily cross-compile for aarch64 on a Debian/Ubuntu host.
Also adds a GitHub Action for it.
2023-04-01 17:56:02 +01:00
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
2023-03-18 15:21:06 +00:00
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.
2023-03-13 10:22:33 +00:00
DakkJaniels 95c20c7ce9 ignore build workflows if only change is markdown 2023-03-03 16:50:21 +01:00
qndel 12daaf4b37 reverse data/exe order for artifacts storage (#5793) 2023-02-13 20:07:39 +01:00
staphen dba224f511 Include files necessary to run MSVC build 2023-01-31 04:35:36 +01:00
Gleb Mazovetskiy 0f8d5c1cce Discord: Re-enable for MinGW builds 2023-01-21 15:18:53 +00:00
Gleb Mazovetskiy f4a3b54fb9 Update Discord SDK 2023-01-16 19:31:30 +00:00
Felipe Wannmacher 34077e775c Renewed uwp certificate (#5669)
Added new certificate with expiration set for 100 years
2023-01-16 16:10:36 +00:00
Anders Jenbo 727661b532 Fix code coverage
@glebm looks like there is still an issue with coverage not working on Ubuntu 22.04
2023-01-15 16:54:02 +01:00
Gleb Mazovetskiy b5f8ea7012 Disable Xbox One CI build
Temporarily disabled due to https://github.com/diasurgical/devilutionX/issues/5661
2023-01-15 16:39:05 +01:00
Gleb Mazovetskiy 83343a2d7e Update Linux builds to more recent OS versions 2023-01-12 13:01:41 +01:00
Gleb Mazovetskiy aedaeed764 miyoo_mini: Fix build
1. Install gettext.
2. Use a CMake toolchain file (fixes `strip`).
3. Update toolchain to v0.0.3.

Fixes #5628
2022-12-25 13:32:11 +01:00
Gleb Mazovetskiy 5fa554c2e6 GitHub Actions: Test on a big-endian platform
Run tests on a big-endian platform (s390x) via qemu.

The test suite takes ~50m to run so we only trigger it manually.
2022-12-09 00:58:01 +01:00
Anders Jenbo 281d3c3fa0 Switch tests back to 20.04 to fix coverage
gcov appears broken in 22.04 (results have been 0% since the image was upgraded)
2022-12-08 17:21:16 +01:00
Gleb Mazovetskiy 25b3e30ccc PS4: Update SDK (1.0 -> 1.1) 2022-11-20 18:18:52 +01:00
Anders Jenbo 367223bb22 Cancel previous builds when PR is updated 2022-11-12 02:06:06 +01:00
Gleb Mazovetskiy 016a06b99b OpenDingux: Update toolchain versions
The new toolchains result in faster code thanks to using some
XBurst-specific instructions.
2022-10-21 03:28:24 +01:00
staphen fb6b9306df Upgrade libpng to 1.6.38 2022-09-19 01:42:50 +02:00
Gleb Mazovetskiy 6c5b5612c2 CMake: Fix MinGW pkgconfig
`PKG_CONFIG_EXECUTABLE` must be a cache variable, otherwise only the first call to `find_program(PkgConfig)` succeeds.

Also bumps the CI environment to Ubuntu 22.04, because Ubuntu 20.04
version of mingw pkgconfig is bugged.
2022-08-30 10:10:32 +02:00
Gleb Mazovetskiy c1204d0bc8 iOS workflow: Fix upload-release-action 2022-08-29 10:18:59 +02:00