Commit graph

32 commits

Author SHA1 Message Date
liushuyu
b69c2847c2 CI: unbreak ADO after GHA changes 2022-07-05 00:50:46 -06:00
liushuyu
937a6d6e15 CI: lint scripts 2022-07-04 21:21:56 -06:00
liushuyu
6a5c605d3a CI: upload artifacts for pull request verification 2022-07-04 21:21:56 -06:00
liushuyu
dd009ddf84 CI: fix caching 2022-07-04 21:21:56 -06:00
liushuyu
8d9b644bdc CI: use Ninja to build stuff faster 2022-07-04 21:21:56 -06:00
liushuyu
9f5e8c4869 CI: Use GitHub Actions to check pull requests 2022-07-04 21:21:56 -06:00
lat9nq
607fe38581 ci/windows: Build using Clang
Uses the MinGWClangCross toolchain script to build yuzu. Disables our
bundled SDL2 to use the system ones that have been modified to not use
`-mwindows`. Also set's `-e` to stop the script on an error (as opposed
to packaging nothing).

Uses LLVM's linker for linking yuzu. Adds -femulated-tls due to a
libstdc++ incompatibility between GCC and Clang in vulkan_common.
2022-06-16 23:57:39 -04:00
lat9nq
9dd5e3e9da ci/windows: Split up cmake command
Improves readability.
2022-06-16 23:57:39 -04:00
liushuyu
f722e83537 video_core/codecs: (re-spin) refactor ffmpeg searching and handling 2021-12-15 20:57:01 -07:00
bunnei
15a4248f46 Revert "video_core/codecs: refactor ffmpeg searching and handling in cmake" 2021-12-15 00:02:53 -08:00
liushuyu
538db2d872 CI: fix CI on Linux 2021-12-13 22:31:19 -07:00
liushuyu
ca89f4fa2f CI: fix MinGW installation step 2021-12-13 17:48:05 -07:00
lat9nq
134a14ed4f ci: windows: Copy the styles directory when packaging
Qt can make use of qwindowsvistastyle.dll if present, and our MinGW
container has the library, but it was not being copied during the
packaging process. Thus, yuzu looked like a Windows 98 application when
using the PR-verify artifacts.

This copies over the DLL during packaging, for that sweet-sweet Windows
Vista style.

In addition, set the Qt plugins path instead of the plugins/platforms
path. This way we can use the directory directly, rather than appending
a `..` everytime we need something just outside of it.
2021-06-19 05:24:56 -04:00
lat9nq
bffabb7744 ci: windows: Compress using xz
Use XZ instead of gzip for packing. Should save about 10 MB.
2021-06-09 18:54:23 -04:00
lat9nq
a075dc1304 externals: libusb: Use autotools for MinGW
After updating to 1.0.24, MinGW fails to build libusb as a result of
numerous errors. So we build libusb their way and let them update the
nontrivial stuff.

This only applies to MinGW: the old path is still in use for Linux
toolchains as well as MSVC.

This will dynamically link libusb, since I hit build errors with the old
way we used to resolve the conflict with SDL2.
2021-05-31 13:57:06 -04:00
lat9nq
14ec1dddac ci/windows: Copy downloaded FFmpeg libraries
Copies FFmpeg libraries that were downloaded during the CMake
configuration. Fixes dynamic linking issues with the MinGW builds.
2021-02-05 14:49:57 -05:00
lat9nq
7459d47cb6 ci: Remove -DYUZU_USE_BUNDLED_UNICORN=ON
Unicorn has been removed, yet CI still enables building with Unicorn.
This just cleans up a few leftovers by removing the variable from the
CMake parameters in CI.
2020-12-08 15:06:02 -05:00
FearlessTobi
0dec785dc4 yuzu: Port translation support from Citra
Co-Authored-By: Weiyi Wang <wwylele@gmail.com>
2020-07-18 14:09:11 +02:00
James Rowe
2991e7441a Replace externals with Conan (#3735)
* Remove git submodules that will be loaded through conan

* Move custom Find modules to their own folder

* Use conan for downloading missing external dependencies

* CI: Change the yuzu source folder user to the user that the containers run on

* Attempt to remove dirty mingw build hack

* Install conan on the msvc build

* Only set release build type when using not using multi config generator

* Re-add qt bundled to workaround an issue with conan qt not downloading prebuilt binaries

* Add workaround for submodules that use legacy CMAKE variables

* Re-add USE_BUNDLED_QT on the msvc build bot
2020-05-08 17:09:29 -04:00
lat9nq
6a4fd89f4c Re-enables building yuzu with Vulkan enabled via the CI scripts
This is possible now with the updated Docker images and their updated packages.
Before, there were build errors due to old QT5 packages on Ubuntu, but now since
they have updated packages it is feasible to build with Vulkan enabled once more.
2020-05-03 01:20:33 -04:00
gxcreator
a9c6146a12 Fixed packaging on some systems with different QT5 path 2020-04-23 21:45:07 +03:00
ReinUsesLisp
609bfb7f69 ci: Disable Vulkan for Windows MinGW builds 2020-01-29 19:44:00 -03:00
James Rowe
0f6cf32d53 Add missing CMakeLists.txt from root folder to source upload
Fixes #3190
2019-12-03 15:35:28 -07:00
James Rowe
1d2acb8a2c Move source in windows uploads into its own internal zip
This should prevent path length issues when extracting the build from the installer
2019-11-12 15:32:16 -07:00
Zach Hilman
c32358b8aa ci: Package source with builds 2019-11-11 22:32:22 -05:00
bunnei
5fc5237616 ci: Rename build folder only on non-mainline builds 2019-11-06 23:26:29 -05:00
bunnei
55eefbfb07 Revert "ci: Rename build folder only on non-mainline builds" 2019-11-06 21:36:50 -05:00
Zach Hilman
7713eb71f1 ci: Rename build folder only on non-mainline builds 2019-11-05 21:07:30 -05:00
Zach Hilman
b686e521eb ci: Add TAR-XZ compression to MSVC builds 2019-10-06 20:44:30 -04:00
Zach Hilman
23f9b9f578 ci: Add version counter variable 2019-10-05 00:09:11 -04:00
Zach Hilman
93f1734f55 ci: Add Windows MSVC package script 2019-10-02 17:53:53 -04:00
Zach Hilman
6ddb4a1c1f Finalize Azure Pipelines Definitions
d
2019-07-13 21:34:40 -04:00