Commit graph

43 commits

Author SHA1 Message Date
Nicolas "Pixel" Noble
f9b28facfd Stop using appcenter altogether now. 2024-12-29 23:29:17 -08:00
Nicolas Noble
c031b0e2af
Updating from outdated MacOS image. 2024-12-10 09:21:48 -08:00
Nicolas Noble
c9c4bb4655
Fixing MacOS build. 2024-08-25 11:54:14 -07:00
Nicolas "Pixel" Noble
fcfc71f7cd Adding MacOS arm build 2024-08-24 20:34:29 -07:00
Nicolas Noble
3f38387be3
Forgot one location to pin. 2024-08-24 05:12:08 -07:00
Nicolas Noble
4200045d24
Pinning node version to 22.6.0, and removing verbose mode. 2024-08-24 04:21:52 -07:00
Nicolas Noble
d886294da4
Using AppDistrib's new optional token for buildid. 2024-08-18 22:24:43 -07:00
Nicolas "Pixel" Noble
0609b6ca17 Ensure pull requests can still pass tests, take 2. 2024-08-17 22:10:22 -07:00
Nicolas "Pixel" Noble
f64f704b0f Ensure pull requests can still pass tests. 2024-08-17 20:57:17 -07:00
Nicolas Noble
6622a6b83b
Simplifying MacOS flow with new lookup argument. 2024-08-17 14:24:39 -07:00
Nicolas Noble
d161d8c72e
Fixing mac build. 2024-08-17 11:58:36 -07:00
Nicolas Noble
719f5954a4
Migrating MacOS self-update to AppDistrib. 2024-08-17 08:18:35 -07:00
Nicolas Pixel Noble
99667427b8 Flipping appcenter & appdistrib to re-arrange priorities. 2024-05-07 19:41:53 -07:00
Nicolas Pixel Noble
408c0cf70a Updating AppDistrib token & project. 2024-04-24 20:49:53 -07:00
Nicolas Pixel Noble
7b89d994c6 Trying to get appcenter to work again. 2024-04-23 22:22:59 -07:00
Nicolas Pixel Noble
3e90a0081f Trying to fix MacOS build. 2024-04-23 22:22:48 -07:00
Nicolas Pixel Noble
94a54192e4 Adding / fixing AppDistrib 2024-04-23 20:50:21 -07:00
Nicolas Noble
d4dd25981c
Another stab at fixing nodejs on macos... 2024-04-01 20:54:09 -07:00
Nicolas Noble
4c7bd5ebf7
Update nodejs version for macos builds. 2024-03-20 20:13:08 -07:00
Nicolas Noble
6152f22a56
Don't update brew automatically... 2024-03-08 20:17:37 -08:00
Nicolas Noble
7e1520736e
Bump to MacOS 12.
It looks like we finally can't build with MacOS 11 anymore.
2024-01-12 06:24:47 -08:00
Nicolas Noble
7732ac7d57
Trying to cache homebrew files is a useless endeavor. 2023-12-31 18:41:54 -08:00
Nicolas Noble
68eb4d09fe
Fuck me I'm an idiot. 2023-12-31 16:01:48 -08:00
Nicolas Noble
f2d79a163d
Groar. 2023-12-31 13:38:17 -08:00
Nicolas Pixel Noble
bfb67020c5 One last attempt before I just stop trying to speed MacOS up. 2023-12-31 11:05:51 -08:00
Nicolas Noble
6d9b906071
nth attempt at fixing homebrew... 2023-12-30 17:59:14 -08:00
Nicolas Pixel Noble
81565dda3f The proper directory to cache in homebrew is /usr/local/Cellar 2023-12-29 21:15:52 -08:00
Nicolas Pixel Noble
17e75ddef5 Preparing cache key change. 2023-12-28 23:15:37 -08:00
Nicolas Pixel Noble
729390f1d7 Trying to split homebrew cache in two. 2023-12-28 22:33:12 -08:00
Nicolas Noble
6fd8dd75e4 Simplify MacOS cache 2023-12-24 11:02:08 -08:00
Nicolas Noble
476977c968
Derp. 2023-12-23 22:51:17 -08:00
Nicolas Noble
729b2d812f
Trying to cache homebrew files
MacOS CI has become horrifyingly slow. Let's try caching brew's files.
2023-12-23 19:06:18 -08:00
Nicolas Noble
bf62a216b9 Trying to fix MacOS CI. 2023-12-23 11:05:25 -08:00
Nicolas Noble
ff8a7dbbf9
Trying to downgrade MacOS version. 2023-07-19 21:01:21 -07:00
Nicolas Pixel Noble
3c708bfc2c Fuck it, let's disable the tests for now. 2023-06-23 08:59:20 -07:00
Nicolas Pixel Noble
c12ea4267c Derp. 2023-06-20 20:55:40 -07:00
Nicolas Pixel Noble
394d0f8ff9 Factorizing some Lua out of UI, forcing the tests to use -no-ui, and trying to set up the CIs accordingly. 2023-04-07 19:19:02 -07:00
Thankful Machine
92ac38bad9 Move mac app codesigning into GitHub workflows
The app cannot be modified after signing, and there are some files copied into
the app bundle during the CI workflows, so move signing as the last modifying
step there.
2023-02-06 20:33:25 -08:00
Thankful Machine
8f0f41291d Improve mac app layout
When downloading an app or disk image from the Web, files get the
`com.apple.quarantine` attribute which signals to the OS that the app may be
unsafe. The user can still let the app to run from Finder, which removes the
attribute and allows future runs to proceed without a prompt.

However, if an app is irregular, the user can't approve it normally and it may
get labeled as "damaged". The workaround is to remove the attribute with
something like `xattr` in the terminal but that isn't necessary.

Change the `create-app.sh` script to bring the app into a more typical form for
macOS and remove files that might interfere with code-signing or needlessly
increase the app's size.

- Don't symlink the `pcsx-redux` binary. Make the real binary exist at
  `./Contents/MacOS/PCSX-Redux`.
  - Remove the now empty `./Contents/Resources/bin`.
- Call the app icon `AppIcon.icns` as is customary.
  - Remove source images after constructing the app icon.
- Move dylibs into `./Contents/Frameworks`.
  - Add this path to the executable's `@rpath`.
  - Use `@rpath` instead of `@executable_path` for library locations.
- Removing the quarantine attribute during the build has no effect.
- Remove the Linux desktop things from
  `./Contents/Resources/share/applications` as it isn't necessary for macOS.
- Ad-hoc codesign the app after making changes.
  This must *always* be the very last step.

Update the README about this.
2023-02-04 22:19:39 -08:00
Nicolas Pixel Noble
be9da8d4c2 Fixing MacOS workflows. 2022-04-30 23:49:21 -07:00
Nicolas Pixel Noble
dac73aa090 Derp? 2022-04-30 19:14:29 -07:00
Nicolas Noble
012f7a30d6
Adding version.json to MacOS build. 2022-04-17 20:47:18 -07:00
Nicolas 'Pixel' Noble
3e8ee491af Migrating from circleci to github actions. 2021-10-10 23:25:15 -07:00
Renamed from .github/workflows/build.yml (Browse further)