Commit Graph

83 Commits

Author SHA1 Message Date
WaluigiWare64 7da4550eea
Add support for macOS (#771)
* use shm_open() instead of memfd_create() on macOS

malloc.h isn't a header on macOS

* Change OpenGL headers + create ifdef for DO_PROCLIST

macOS seems to already have the OpenGL functions defined, without the ifdef, it gives "ambiguous references" errors.

* macOS doesn't have ->gregs in uc_mcontext

and it doesn't have REG_RIP either
https://github.com/gperftools/gperftools/blob/master/m4/pc_from_ucontext.m4

* use getpid() to make memory file name unique

* #ifndef __APPLE__ for AF_PACKET and linux/if_packet.h

* Add include and link directories for macOS and link the OpenGL framework

* Add macOS CI

* Use newly added libslirp package from Homebrew

https://github.com/Homebrew/homebrew-core/pull/63412

* Use Apple's Clang instead of GNU GCC on macOS

* Add macOS build instructions to README

* Try to fix macOS undefined symbol

* snprintf doesn't take null terminator into account

* Map new memory on macOS for JIT

* Only use gcc-ar if using GNU Compiler

* re-add fastmem code - whoops!

* Fix style issue - use camelCase not snake_case

* Set Minimum macOS version

* Switch Minimum OS X version to 10.9

* Add macOS libpcap library name

* fix memory leak

* Fix binding keys in macOS

* Allow getting MAC address on macOS

melonDS on Linux uses AF_PACKET, which doesn't exist on macOS. Instead, this commit uses AF_LINK on macOS to get the MAC address.

* Remove unneeded macOS CI dependencies

* Build melonDS app bundle on macOS

Now it is no longer required to install the libraries on macOS, they come with the app bundle.

* fix macOS CI not being able to find macdeployqt

* copy melonDS.app with recursive because it's a folder

* Disable fastmem checkbox on macOS

* Disable fastmem by default in config

* forgot a semicolon

* Don't bundle libraries, causes issues on macOS <10.15

* Update README + allow finding version in Finder on macOS

* Make sure fastmem checkbox stays uncheckable
2020-11-29 17:11:33 +01:00
WaluigiWare64 fbc7648d1a
Fix Ubuntu AArch64 CI - round 3 (#811) 2020-11-11 18:29:25 +01:00
WaluigiWare64 8d70d0926c
Merge branch 'master' into feature/zip-support 2020-10-23 00:39:29 +01:00
WaluigiWare64 4b705556bc
Fix Ubuntu AArch64 CI - again (#767)
* Fix Ubuntu AArch64 CI - again

* Update build-ubuntu-aarch64.yml

* Update build-ubuntu-aarch64.yml

* Update build-ubuntu-aarch64.yml

* Update build-ubuntu-aarch64.yml

* Update build-ubuntu-aarch64.yml
2020-09-24 19:17:39 +02:00
WaluigiWare64 2850dfed15
Fix Ubuntu AArch64 CI (#764) 2020-09-19 18:10:03 +02:00
WaluigiWare64 ba0cbc53ca
Update build-ubuntu.yml 2020-08-26 14:21:34 +01:00
WaluigiWare64 6d71f9c832
Merge branch 'master' into feature/zip-support 2020-08-05 15:06:15 +01:00
Raphaël Zumer 68e310e4ef Deploy Qt libraries with dynamic Windows builds
Also stop using msys-dist.sh with the static CI build.
2020-07-31 16:50:19 -04:00
Nadia Holmquist Pedersen 40a9f41be8
Merge branch 'master' into fix/aarch64-ci 2020-07-27 16:06:53 +02:00
Nadia Holmquist Pedersen 5c08207f35 Do full upgrade to avoid issues when installing ARM dependencies 2020-07-27 15:56:43 +02:00
Nadia Holmquist Pedersen c547db21e9 Don't download CMake, the package is new enough 2020-07-26 21:52:35 +02:00
Nadia Holmquist Pedersen c9b9f43fbf Remove unneeded gtk3 package from the Ubuntu build 2020-07-26 21:48:01 +02:00
Nadia Holmquist Pedersen 8a1964a75c Add libslirp to workflows 2020-07-26 21:43:01 +02:00
Nadia Holmquist Pedersen acb1eec35d
Windows CI: Install MSYS2 with chocolatey 2020-07-25 20:26:36 +02:00
WaluigiWare64 fd4775c3ca
Fix Ubuntu ARM64 libzip dependency 2020-07-22 15:37:30 +01:00
U-RAYYAN-PC\Rayyan 523ff9ff1c Add libzip dependency in the workflow files and to CMakeLists.txt 2020-07-22 14:22:23 +01:00
Nadia Holmquist Pedersen d69c5df32e Use GCC 10 2020-06-12 03:21:57 +02:00
Nadia Holmquist Pedersen 612d3030f2 Use qtbase5-dev so we pull in less stuff 2020-06-12 03:06:11 +02:00
Nadia Holmquist Pedersen b05958a4c1 Correct name and fix syntax error 2020-06-12 03:00:53 +02:00
Nadia Holmquist Pedersen 4ceb1a2f52 Add aarch64 CI 2020-06-12 02:57:20 +02:00
Raphaël Zumer 2fab090344
Update Ubuntu version used for CI
Ubuntu 20.04 is supported "as a preview"
and may have to be replaced in the future,
but 18.04's Qt package is too old to build.
2020-06-08 18:20:56 +00:00
Arisotura 993048dd24 ASGHAFGSHASHJKQHD 2020-05-30 00:55:34 +02:00
Arisotura b3fad6f819 asaddazs
sneaky bastard
2020-05-30 00:51:50 +02:00
Arisotura 054b94b2b7 fix the Github Actions shit, hopefully 2020-05-29 22:00:31 +02:00
Raphaël Zumer fa1558319b Disable CI on non-master branches 2020-03-21 18:40:44 -04:00
Raphaël Zumer 67903b7974 Include romlist.bin with Linux CI artifacts 2019-12-13 13:01:06 -05:00
Raphaël Zumer 55db337c8d Package shared resources with Windows CI artifacts 2019-12-13 13:00:42 -05:00
Raphaël Zumer 86ae2e02d0 Fix Ubuntu CI when Microsoft breaks repositories 2019-12-13 09:59:28 -05:00
Raphaël Zumer 331c3c3b86 Upload CI build artifacts 2019-12-12 22:58:30 -05:00
Raphaël Zumer 546e7ded96 Add Windows CI configuration 2019-12-12 21:35:19 -05:00
Raphaël Zumer 469ff2d932 Update packages on CI before installing 2019-12-12 17:07:52 -05:00
Raphaël Zumer d2e7519763 Enable GitHub CI on pull request
Also rename the build to be more specific.
2019-12-12 15:34:44 -05:00
Raphaël Zumer 7027813cb2 Add C/C++ with CMake GitHub workflow
This enables continuous integration
with GitHub Actions.
2019-12-11 11:46:23 -05:00