42 Commits

Author SHA1 Message Date
ciciplusplus
230bc855fc NSMutableString deleteCharactersInRange: implementation + tests
Change-Id: I711a6ba7518f1dc323c3df436c5b0aede3c50353
2026-01-13 23:15:29 +01:00
ciciplusplus
8f46b692a6 Add "Sanity check tests" to the macOS CI
This step ensures that our non-iOS-specific tests are passing on macOS.

Change-Id: Iec2e2cfcde9df081338be97cfe93765b24031555
2026-01-03 23:16:05 +01:00
hikari_no_yume
25ccf040c5 Enable building true release builds with GitHub Actions
Change-Id: I86a908c608a9b6b8dd5b37f182f0ada93545c739
2026-01-02 01:37:49 +01:00
abnormalmaps
9666ff6746 Support building Objective C in TestApp
Supports building Objective-C code inside TestApp by using the
common3.0-sdk.

Change-Id: I684e2892f750c03818dd2bc35f0d108e61611e15
2025-09-18 12:22:40 +02:00
ciciplusplus
59671d0afe Pin version of cargo-ndk to v3.5.4
Partially addresses https://github.com/touchHLE/touchHLE/issues/478

Change-Id: I55a12fcfd2434c946f2a21b735fb28fb9995f04e
2025-07-30 23:08:31 +02:00
hikari_no_yume
97fc52f3fa Add icon, branding and version metadata to macOS bundle, like on Android
Change-Id: Ie264db1167578d8913b38f39acd21d4acf9f4ef1
2025-06-29 23:09:40 +02:00
hikari_no_yume
aa8cbb665c Bump Android Gradle Plugin and Gradle versions (and related changes)
I upgraded to Android Studio 2024.3.2 Patch 1 locally, and then:

- The AGP and Gradle versions were bumped using Android Studio's
  Upgrade Assistant. It also made some required config changes:
  - The package name was moved from AndroidManifest.xml to
    build.gradle
  - Some stuff was added to gradle.properties
- I updated the CI and build docs for these changes.
- The Kotlin plugin version was manually updated due to an
  incompatibility with the newer JDK bundled with Android Studio,
  as suggested here: https://stackoverflow.com/a/79167210
- JDK target versions for Java and Kotlin were specified in order
  to fix the newly-fatal error when they don't match.

Change-Id: I4a9e838cf4b3f8243fc66d4dc3a4e1b3194a8baf
2025-06-14 20:31:32 +02:00
hikari_no_yume
5eadbcda83 Bundle required files (options, dylibs, fonts) for Windows preview builds
Resolves #257.

Change-Id: I79e6923ff93028c40c4587f16c258b6254260d56
2025-06-06 19:05:28 +02:00
abnormalmaps
a634cf4938 Use downloaded CMake 3 in CI
Fixes CI since CMake 4 drops support for files requesting CMake < 3.5

Change-Id: I40a3ec113da70383a14e89f34ea18fe0e7738480
2025-04-02 20:43:00 -04:00
Alexander Cieslewicz
28822ad41c Allow 7z symlink follow for android-ndk extraction
Change-Id: I199ab6a5a7f7264987d00e2a7a54f4d8c981c630
2025-02-18 15:22:26 -07:00
ciciplusplus
968c80753c Update actions/upload-artifact to v4
Change-Id: Ia426eaa6006cec321ced543bc70c6bfda999b62e
2025-01-30 23:31:34 +01:00
hikari_no_yume
401e270d0a Update Boost download URL
Change-Id: Ibe436a8538c65e08cec816fc6252ea57f68e22e1
2025-01-06 19:26:16 +01:00
hikari_no_yume
86656465e5 Package touchHLE into a .app bundle on macOS by default
In order to support this, resource files are now looked up from the
bundle, and user data is now stored in Application Support. The old
behaviour of looking in the current directory is still supported if
the touchHLE executable is outside a bundle. Fixes #290.

Change-Id: Ib5b9b1316cdb910d8b2e1f18db1143d351b3bffb
2024-12-27 22:33:35 +01:00
ciciplusplus
695d9fde95 Fix macOS CI biuld
Change-Id: I425b0c5ec6cc0790956b2a7aff561aa021ab3a12
2024-11-15 23:42:06 +01:00
hikari_no_yume
bb6c1041f2 Disable macOS build in CI until further notice
The x86-64 cross-compilation is very broken and it will not be trivial
to fix.

Reverts "Trying to fix CI as macos-12 was deprecated and failing now"

This reverts commit 23d727ff79.

Change-Id: Ida993e882035c2e2019bb2dc948af352f7ecbd16
2024-11-04 21:42:13 +01:00
ciciplusplus
23d727ff79 Trying to fix CI as macos-12 was deprecated and failing now
Change-Id: Iba2626c6350003cb1809074960328a35377e5421
2024-11-04 21:13:48 +01:00
hikari_no_yume
e8a574470b Run linter for Android builds too
Change-Id: I442ee9f2e013b934d21f8ef03fadbae35f03c001
2024-08-24 23:13:44 +02:00
ciciplusplus
ba07bd3100 Fix Android CI build (again)
CI runner doesn't include anymore the version of Android NDK which
we're using, so we need to install it manually

Change-Id: I92749c107ca9ff45053454db5f8043b1924e286c
2024-08-22 13:46:20 +03:00
ciciplusplus
dcef0c0218 Fix Android CI build
Github runner seems to bump a vendored version of NDK to version 27,
resulting in an incorrect value of ANDROID_NDK_ROOT being set.

The problem is fixed by explicitly setting that variable with a path
to NDK with a correct version.
(the same version as in build.gradle file "25.2.9519653")

Change-Id: I052d15124c1020fd6a4ef4135e304dbdd58b58af
2024-08-05 23:07:35 +02:00
hikari_no_yume
e70a67208d Force macos-12 runner so macOS builds are for x86_64
Change-Id: I335adbea19b723f7107c853db7c816335a6438b4
2024-07-21 17:07:35 +02:00
hikari_no_yume
378346ea0c Switch to new issue template flow
Change-Id: I5e20b22e9606d5da4e9f77d2b16c5d9b3e4e835c
2024-06-25 22:19:23 +02:00
hikari_no_yume
4cee2ed3ff Revert "Trigger builds when new tags are pushed"
This reverts commit 083ace1e66.

The intention was to allow tagging a release and then `git describe`
would pick up the new tag name, but unfortunately that doesn't work:
https://github.com/actions/checkout/issues/290

Instead re-running a trunk build is the only way. So, there's no point
letting tags trigger builds.
2024-04-02 22:54:35 +02:00
hikari_no_yume
083ace1e66 Trigger builds when new tags are pushed
Change-Id: Ide25b17ad17a78ef70f0a05636d76b1c216fc13b
2024-04-01 21:39:33 +02:00
hikari_no_yume
e8359f61e0 Clarify and de-emphasise my role in the project, update copyrights
Change-Id: I996f8e8384939a048cdd84bc385559eaa6832b37
2024-03-05 10:39:16 +01:00
hikari_no_yume
a050b1da7c Add GitHub Actions workflow for building for Android
This commit also contains some Android build fixes. For some reason,
the GitHub Actions runner encountered problems I don't get on my
machine.

Change-Id: I8f052aa0feadbbbd356d453a2f44220decf52111
2024-02-23 16:23:40 +01:00
hikari_no_yume
0abf491a54 Add formatting script and run it in CI in check mode
Change-Id: Id896a68ec5a1171ff909d398292a7227e6161d19
2023-11-07 20:05:11 +01:00
hikari_no_yume
d941d0b785 Run linting script in CI
Change-Id: I03278aab8ed25c777cd10b939c281b00028a6726
2023-11-07 20:04:12 +01:00
hikari_no_yume
d5607e7bde Prepare for 0.2.1 release
Change-Id: I688e0c3c996ded0b0d22b5d7f3d23c751d67234b
2023-10-31 20:59:01 +01:00
hikari_no_yume
eda594dc9a Add GitHub Sponsors button
Change-Id: Ia0e276c54c57a74bb4eaf1a3396575dce52ae76b
2023-09-20 22:51:51 +02:00
hikari_no_yume
0a81aa9ffb Add FUNDING.yml (GitHub's sponsor links thing) 2023-08-29 09:07:26 +02:00
hikari_no_yume
68a97dbeb3 Add headless mode, use it for integration tests, run them on Windows CI
The GitHub Actions CI on Windows didn't like the attempt to spawn a
window, so it had to be disabled until a headless mode could be added.
2023-08-22 12:53:24 +02:00
hikari_no_yume
d1072934d8 Use upstream LLVM to build the integration tests, remove binary from git 2023-08-21 21:52:02 +02:00
ciciplusplus
79a58cac86 Run tests in CI 2023-07-31 17:37:56 +02:00
hikari_no_yume
6cc0f41395 Revert "Allow Windows builds to fail due to #130"
It seems like Windows builds no longer fail so we no longer need this.

This reverts commit a4b7d39dd7.
2023-07-15 14:01:38 +02:00
hikari_no_yume
a4b7d39dd7 Allow Windows builds to fail due to #130 2023-06-17 20:20:37 +02:00
hikari_no_yume
bef9fc01e7 GitHub action: use caching for Boost 2023-04-18 16:00:22 +02:00
hikari_no_yume
a48b193e3b Use full checkout in GitHub action so git-describe will see tags 2023-04-15 15:55:30 +02:00
Dylan
6a1937bc18 Add Github Action workflows for MacOS and Windows builds
(Merged pull request by @dylanpdx, resolves #93.)
2023-04-15 15:16:18 +02:00
hikari_no_yume
049cd38ade Remove FUNDING.yml 2023-02-20 17:19:33 +01:00
hikari_no_yume
1e887c6488 Add some important things to the CONTRIBUTING file 2023-02-04 21:40:20 +01:00
hikari_no_yume
7879a6e6c8 Attempt to add an issue template 2023-02-04 21:28:12 +01:00
hikari_no_yume
c35e9dc2f9 Add FUNDING.yml (why does this have to be in git…) 2023-02-02 17:57:29 +01:00