Commit Graph

83 Commits

Author SHA1 Message Date
Nadia Holmquist Pedersen e7eeefe48e huh 2024-02-01 21:49:48 +01:00
Nadia Holmquist Pedersen f609236d5c bash? 2024-02-01 21:45:08 +01:00
Nadia Holmquist Pedersen 299898d7e7 consolidate ubuntu jobs 2024-02-01 21:41:09 +01:00
Nadia Holmquist Pedersen fac941d9b8 yeah using a separate job for that was a little silly, wasn't it? 2024-02-01 21:15:37 +01:00
Nadia Holmquist Pedersen 21dd0796b7 does it need to be under usr/? 2024-02-01 20:57:20 +01:00
Nadia Holmquist Pedersen 48f865e11c a 2024-02-01 20:51:28 +01:00
Nadia Holmquist Pedersen 17e054c279 fix artifact path 2024-02-01 19:54:11 +01:00
Nadia Holmquist Pedersen 50afeb6996 add more random numbers 2024-02-01 19:49:48 +01:00
Nadia Holmquist Pedersen 906dcabc80 fix dependencies 2024-02-01 19:44:17 +01:00
Nadia Holmquist Pedersen e4701768d5 fix install prefix 2024-02-01 19:33:04 +01:00
Nadia Holmquist Pedersen 9976ed78b3 let's try reusing the build for the AppImage
removes the need to build everything twice
2024-02-01 19:23:51 +01:00
Nadia Holmquist Pedersen ed27ab96af Looks like Qt 6 on Windows isn't happening for now...
The qt6-static package in MSYS2 is apparently kinda broken, as evidenced by all the build failures here and also having tried it locally.
2024-02-01 18:52:33 +01:00
Nadia Holmquist Pedersen c8c0d0a9ea b 2024-02-01 16:33:15 +01:00
Nadia Holmquist Pedersen 22082c9c5b a 2024-02-01 16:31:38 +01:00
Nadia Holmquist Pedersen 5561efb1fb a 2024-02-01 16:28:33 +01:00
Nadia Holmquist Pedersen 274d53f620 I can not express in words how filled with rage this GitHub Actions shit makes me 2024-02-01 16:18:01 +01:00
Nadia Holmquist Pedersen 9a95d29618 qt6-default doesn't exist I guess 2024-02-01 16:11:36 +01:00
Nadia Holmquist Pedersen e1e6581d72 a 2024-02-01 15:49:30 +01:00
Nadia Holmquist Pedersen e80c67ee5b blarg3 2024-02-01 15:25:54 +01:00
Nadia Holmquist Pedersen 1d45ab64c8 blarg 2024-02-01 14:54:10 +01:00
Nadia Holmquist Pedersen 64478d5afb blarg 2024-01-28 17:27:33 +01:00
Nadia Holmquist Pedersen 8355d869be of course the package names are different lol 2024-01-28 17:20:07 +01:00
Nadia Holmquist Pedersen 829f5795ec Try to use Qt 6 for CI builds 2024-01-28 17:15:18 +01:00
Nadia Holmquist Pedersen da26453911
CI stuff (#1935)
Add new macOS CI using vcpkg
2023-12-28 15:03:44 +01:00
Nadia Holmquist Pedersen 75ae38ec7b codesign the final universal macOS app bundle
otherwise the code signature in it will be invalid, and macOS won't run
it witohout manually removing xattrs
2023-07-24 11:29:43 +02:00
TGP17 24a4cacaae
Add AppImage Builds (#1670)
* Create build-appimage.yml

* Update build-appimage.yml

This Adds the new Dependencies for MelonDS
2023-07-14 22:40:35 +02:00
Nadia Holmquist Pedersen 38b0d21c22
Support loading Zstandard-compressed ROMs (#1667)
This is different from the archive support in that the compressed ROMs
are standalone files, rather than archives, making it possible to use
them exactly as if they were regular ROMs, while saving a bunch of space
on disk. This is supported both for DS and GBA ROMs, though given GBA
ROMs' generally small size it's mostly useful for the former.
2023-04-28 19:19:58 +02:00
Nadia Holmquist Pedersen b069a2acf1 Clean Windows build instructions
* CMake in MSYS2 now depends on Ninja and uses it by default, use it
  instead of Make as it has much easier to read output when doing
  parallel builds and doesn't need an extra program
* Ninja uses the maximum number of cores by default, so we don't have to
  run nproc --all
* We don't need mesa for its headers anymore
2022-11-09 19:54:35 +01:00
RSDuck ac3118cbc5
No more context mess (#1531)
* WIP: use Duckstation's context code to directly render into QT Widget from separate thread without two OpenGL contexts

currently only works on Windows

* reenable gay OSD

* add back vsync

* make it atleast a little more thread safe

* linux support

* don't segfault on closing

* reorganise and cleanup build system
it's still not good, but better than before

* macos?

* try to get it working on Ubuntu CI
also update instructions

* let's try this

* ok how about this

* try creating an OGL 4.3 context first
(https://i.kym-cdn.com/photos/images/original/001/264/842/220.png)

* fix Ubuntu

* hm

* try again for Windows

* let's try this

* make the OpenGL renderer work again
that was stupid

* do OGL surface resizing from the mainthread

* Fix small mistake in GL context creation on macOS causing version 3.2 to
be considered invalid

* C stupidness

* cleanup

* don't let the emuthread deinit OGL if there's no OGL

* reset lastScreenWidth/Height when deiniting OpenGL

* disable stencil test while drawing framebuffers

* macOS: Link Cocoa framework explicitly when not building with Qt6

Seems to be needed for the classes used by DuckStation's GL context
code.

* Set ScreenPanelGL's minimum size immediately

Fixes GL context creation for OpenGL display on macOS using the wrong
size as the underlying window was not resized to the correct size by Qt
yet.

* don't emit window updates when OGL display is used

* stuff Arisotura said

Co-authored-by: Nadia Holmquist Pedersen <nadia@nhp.sh>
2022-10-17 22:55:11 +02:00
Arisotura 3f4573574a
actual DSi camera support (#1520)
basically feeding something that isn't a fixed stripe pattern, and emulating enough of the camera hardware to make this work
2022-10-02 16:47:57 +02:00
Rayyan Ansari 926f200329 Find correct pkg-config 2022-08-31 18:26:36 +01:00
Rayyan Ansari 08f5a2aa82 Fix CMake prefixes 2022-08-31 18:06:19 +01:00
Rayyan Ansari 76c9340920 Create parent directories as well 2022-08-31 17:57:31 +01:00
Rayyan Ansari 80f76ef34d Fix dependencies between jobs 2022-08-31 17:56:18 +01:00
Rayyan Ansari cac1ec8fbd Fix macOS runner cleanup 2022-08-31 17:53:09 +01:00
Rayyan Ansari d1dbb1f51e Add self-hosted macOS ARM64 Universal Binary runner
Adds a workflow file for building a universal binary with a self hosted runner.
Also adds a Python script to assist with creating the universal binary
2022-08-31 17:50:03 +01:00
Nadia Holmquist Pedersen 94b33c924e
Modernize CMake build system (#1434)
These changes modernize the CMake build system to (hopefully) match newer best practices

* Library linking is simpler and more automatic because of using imported targets
* Multi-configuration builds should be supported (Ninja Multi-Config, Visual Studio, etc. generators)
* Clean up build options using cmake_dependent_option
* Let CMake do its job in more cases, like finding the math/dl libraries and detecting and enabling LTO support
* Remove platform-specific kludges like the Fedora/flatpak LTO workaround and a bunch of Windows stuff
* Simplify Windows static builds
* Consistent formatting
2022-05-21 19:54:55 +02:00
Nadia Holmquist Pedersen 3d24057155
CI: Fix Ubuntu aarch64 build again
* Use a clean Ubuntu Docker container to hopefully have a more stable environment
* Remove old workarounds
2021-12-28 18:26:52 +01:00
WaluigiWare64 1cd477db71 Change workflow upload name to platform on GitHub CI 2021-06-13 13:06:15 +01:00
WaluigiWare64 def272fac4
Use Azure Pipelines so we can target macOS 10.14 (#1042) 2021-04-24 13:27:11 +00:00
Nadia Holmquist Pedersen 796ef95862
Improve macOS bundling (#1067)
* Improve macOS bundling
* Bundle libs for macOS CI
* Add MACOS_BUILD_DMG CMake option and make the CI upload the DMG so we don't lose executable permissions.
* Manually copy plugins if macdeployqt doesn't
* Ad-hoc codesign the app
2021-04-21 23:50:32 +02:00
WaluigiWare64 f7347b1f7a
tell pkg-config the location of libarchive 2021-03-21 15:12:34 +00:00
WaluigiWare64 ae7761c33e
Remove temporary macOS CI workarounds 2021-03-08 12:50:09 +00:00
WaluigiWare64 0ea85fdd2b
Use setup-msys2 GitHub Action (#1029)
* Use setup-msys2 GitHub Action

This makes the Windows CI a few minutes faster
2021-03-06 19:37:51 +00:00
WaluigiWare64 b5e601bb88
Try to fix Ubuntu AArch64 CI (#979)
Also remove previous fixes, they were fixed upstream
2021-02-02 13:29:51 +00:00
WaluigiWare64 ab222ab135
Use libepoxy to load in OpenGL functions (#960)
* Use libepoxy to load in OpenGL functions

Prevents having to load them in manually

* Install libepoxy in the CI

* Do not link OpenGL libraries, libepoxy opens them itself

* Add libepoxy to build instructions
2021-01-26 13:19:32 +00:00
WaluigiWare64 8829b0511c
Change all mentions of qt5 to qt@5 on macOS (#937)
* Change all mentions of qt5 to qt@5 on macOS

* Use temporary workaround to get macOS brew updating

https://github.com/actions/virtual-environments/issues/2322#issuecomment-749211076

* Don't install CMake, it is already installed in the macOS runner
2021-01-13 14:56:06 +01:00
WaluigiWare64 6b8738bb60 Update workflow files 2020-12-19 17:51:23 +00:00
WaluigiWare64 df190b0400
Merge branch 'master' into feature/zip-support 2020-12-19 17:43:53 +00:00
Nadia Holmquist Pedersen af62c99124
Ubuntu CI cleanups (#842) 2020-12-09 23:08:48 +01:00