Commit graph

24 commits

Author SHA1 Message Date
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)