Commit Graph
107 Commits
Author SHA1 Message Date
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 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
Gleb Mazovetskiy 7c7236d248 GitHub Actions: Upload iOS release 2022-07-31 16:39:01 +02:00
Gleb Mazovetskiy a91277614e Miyoo mini: Rename zip files
Add "miyoo-mini" to the release archive name to make it clear what
device this is for.
2022-07-31 16:38:29 +02:00
Gleb Mazovetskiy ac5ae22490 PS4: Release build GitHub Action 2022-07-26 10:34:02 +01:00
Gleb Mazovetskiy fbf60bf02f Xbox One: Release build GitHub Action 2022-07-26 10:34:02 +01:00
Gleb Mazovetskiy 4dd63ea627 Xbox nxdk: Release build GitHub Action 2022-07-26 10:34:02 +01:00
Gleb Mazovetskiy dd47a96abb GitHub Actions: Maybe fix release uploading
1. Use the `release.published` event because `release.created` never
   triggers for releases that start off as drafts.
2. Use a simpler action to upload files (the defaults are more
   appropriate for what we need, which is just uploading the files and
   not doing anything else).
2022-07-25 22:55:10 +02:00
Anders Jenbo bb76b5fbcd Bump NDK version (#5115) 2022-07-25 16:18:07 +02:00
Gleb Mazovetskiy 509e9726ce OpenDingux: Fix lepus GitHub Action
Updates to ubuntu-22.04 because ubuntu-latest (20.04) fails with:

> version `GLIBC_2.33' not found (required by /opt/lepus-toolchain/bin/mipsel-lepus-linux-musl-gcc.br_real)
2022-07-23 02:11:25 +02:00
Brocky 1d7f20c9ec Added build steps for new platform Miyoo Mini (#5057) 2022-07-22 20:48:57 +02:00
Gleb Mazovetskiy c9dd83bd12 Xbox nxdk: Add documentation
Also renames `NXDK` to `nxdk` where applicable.
2022-07-19 09:47:34 +01:00
Gleb Mazovetskiy bbd89eda21 Xbox NXDK: Switch to upstream NXDK
Everything that DevilutionX needs has been merged 🎉
2022-07-19 09:56:49 +02:00
Anders Jenbo 4c01871ec9 Fetch shareware data for tests 2022-07-13 18:54:36 +02:00
qndel 5438a67752 Revert "artifacts as releases (#4892)" (#4982)
This reverts commit 7612fb4bb5.
2022-07-12 20:26:00 +02:00
obligaron 34f2871e12 Only upload artifacts to sotrage repo in diasurgical org 2022-07-12 18:24:35 +02:00
Gleb Mazovetskiy ff3f2da054 Update OpenDingux toolchains 2022-07-11 20:15:00 +01:00
Gleb Mazovetskiy cf891a0e3c CI: Fix Xbox One/Series archive 2022-07-11 17:50:07 +01:00
staphen ad75f2a97b Move CMakePresets.json out of the project root 2022-07-11 16:00:10 +02:00
Gleb Mazovetskiy 7472dcdbb8 Fix Xbox One/Series CI build
`upload-artifact` preserves the least common ancestor of the directory
tree but we actually want the zip file to be flat.
2022-07-11 07:23:04 +02:00
Gleb Mazovetskiy 1791e1f71c Replace AppVeyor with GitHub Actions 2022-07-10 19:21:53 +02:00
Gleb Mazovetskiy 0812cbd65d Xbox NXDK: Build a zip instead of iso
ISO is not useful for us because the user still has to put diabdat.mpq
on the hard drive. At this point, might as well put DevilutionX on the
hard drive as well.

Changes the CI to produce a zip file with our assets and the `default.xbe`
executable.
2022-07-09 18:50:53 +01:00
Gleb Mazovetskiy 361f56c1e3 Xbox NXDK: Generate ISO 2022-07-09 18:50:53 +01:00
Gleb Mazovetskiy 4063afb792 Xbox NXDK platform 2022-07-09 18:50:53 +01:00
qndel 7612fb4bb5 artifacts as releases (#4892) 2022-07-05 02:50:37 +02:00
qndel 2c011837f1 upload windows artifacts to second repo (#4859) 2022-07-04 10:28:25 +02:00