aboutsummaryrefslogtreecommitdiffhomepage
path: root/.ci/scripts/windows
AgeCommit message (Collapse)Author
2023-10-08qt: implement automatic crash dump supportLiam
2023-07-09ci/mingw: Remove pefile installation steplat9nq
This is unnecessary here: pefile is already installed on the container. This step also causes issues in coming changes to the container.
2023-07-07general: Update VulkanSDK and Vulkan-HeadersMorph
Latest as of this commit
2023-07-07ci: Download and install Vulkan SDK directly from LunarGMorph
2023-05-14Fixup upload.ps1 for GHADanila Malyutin
No extra folders are created with ninja generator after previous CMake fixes.
2023-03-12general: fix spelling mistakesLiam
2022-10-09ci/windows: Revert to using GCC for MinGW buildslat9nq
Using MinGW in the future may not be ideal as it does not work very well with crash dumps (#8682). Switch back to GCC on MinGW. This also gives CI a way to check GCC 12 (as of writing, or whatever version of mingw-gcc Arch happens to be shipping on a given week).
2022-09-04ci/windows: Upload debugging symbolslat9nq
2022-09-04ci,workflows: Enable crash dumps on MSVC buildslat9nq
ci/windows: Enable crash dumps on MinGW builds
2022-08-09ci: Graft source when archivinglat9nq
Instead of including yuzu and all the sources it uses directly, include only what specifically belongs to yuzu. Submodules can be downloaded separately later using git since a shallow clone includes minimally all the repository information needed for it.
2022-07-27Merge pull request #8641 from Docteh/vcpkg_dllliamwhite
build: Ship vcpkg dlls with MSVC pr-verify builds
2022-07-27chore: make yuzu REUSE compliantAndrea Pappacoda
[REUSE] is a specification that aims at making file copyright information consistent, so that it can be both human and machine readable. It basically requires that all files have a header containing copyright and licensing information. When this isn't possible, like when dealing with binary assets, generated files or embedded third-party dependencies, it is permitted to insert copyright information in the `.reuse/dep5` file. Oh, and it also requires that all the licenses used in the project are present in the `LICENSES` folder, that's why the diff is so huge. This can be done automatically with `reuse download --all`. The `reuse` tool also contains a handy subcommand that analyzes the project and tells whether or not the project is (still) compliant, `reuse lint`. Following REUSE has a few advantages over the current approach: - Copyright information is easy to access for users / downstream - Files like `dist/license.md` do not need to exist anymore, as `.reuse/dep5` is used instead - `reuse lint` makes it easy to ensure that copyright information of files like binary assets / images is always accurate and up to date To add copyright information of files that didn't have it I looked up who committed what and when, for each file. As yuzu contributors do not have to sign a CLA or similar I couldn't assume that copyright ownership was of the "yuzu Emulator Project", so I used the name and/or email of the commit author instead. [REUSE]: https://reuse.software Follow-up to 01cf05bc75b1e47beb08937439f3ed9339e7b254
2022-07-26build: Ship vcpkg dlls with MSVC pr-verify buildsKyle Kienapfel
With our recent switchover from conan to vcpkg, we're shipping a few more dll files, these need to be in the full zip. cp .\build\bin\*.dll .\artifacts\ also tacking on the fix where we're shipping scm_rev.cpp accidentally
2022-07-23Merge pull request #8596 from Docteh/fix_ghaliamwhite
package MSVC CI Builds differently, and include yuzu.exe
2022-07-23package MSVC CI Builds differently, and include yuzu.exeKyle Kienapfel
This is related to 8486 Ninja places the exe files into .\build\bin while MSBuild may place them into .\build\bin\Release upload.ps1 was originally written for use with Azure Dev Ops to cough up about 5 files and the script appears to be used for both CI and mainline builds GHA (GitHub Actions) makes available a single zip of the items uploaded by each Upload action (artifacts directory), so we want to work with that. I'm doing changes to upload.ps1 to accomplish this. The changes to the verify.yml are as follows -DGIT_BRANCH=pr-verify changes the header in yuzu, instead of saying HEAD-<hash>-dirty it'll say pr-verify-<hash> -DCLANG_FORMAT_SUFFIX=discordplzdontclang tricks the CMake stuff for discord-rpc to NOT run clang-format, as this was marking CI builds as dirty I'm also making it upload just the exe by itself, as the msvc builds are quite chunky. but maybe this is unnecessary. Currently the MSVC artifact option is a 274MB zip that contains 3 copies of the DLLs, and 4 copies of the source tarball, and zero copies of yuzu.exe This PR should have msvc artifacts of about 190MB that downloads as 81 MB zip
2022-07-23ci/windows: Cleanup unused data before packaginglat9nq
vcpkg data takes up a lot of space, and currently the scripts will package all that data with the source archive which is unnecessary.
2022-07-22ci,CMake: Drop Conan support for vcpkglat9nq
Between packages breaking, Conan always being a moving target for minimum required CMake support, and now their moves to Conan 2.0 causing existing packages to break, I suppose this was a long time coming. vcpkg isn't without its drawbacks, but at the moment it seems easier on the project to use for external packages. Mostly removes the logic for Conan from the root CMakeLists file, leaving basic find_package()'s in its place. Sets only the find_package()'s that require CONFIG mode as necessary. clang and linux CI now use the vcpkg toolchain file configured in the Docker container when possible. mingw CI turns off YUZU_TESTS because there's no way on the container to run Windows executables on a Linux host anyway, and it's not easy to get Catch2 there.
2022-07-05ci/windows: Copy what of FFmpeg not already presentlat9nq
Prevents overwriting libwinpthreads.dll when one should already be present from the first DLL search.
2022-07-05CI: unbreak ADO after GHA changesliushuyu
2022-07-04CI: lint scriptsliushuyu
2022-07-04CI: upload artifacts for pull request verificationliushuyu
2022-07-04CI: fix cachingliushuyu
2022-07-04CI: use Ninja to build stuff fasterliushuyu
2022-07-04CI: Use GitHub Actions to check pull requestsliushuyu
2022-06-16ci/windows: Build using Clanglat9nq
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-16ci/windows: Split up cmake commandlat9nq
Improves readability.
2021-12-15video_core/codecs: (re-spin) refactor ffmpeg searching and handlingliushuyu
2021-12-15Revert "video_core/codecs: refactor ffmpeg searching and handling in cmake"bunnei
2021-12-13CI: fix CI on Linuxliushuyu
2021-12-13CI: fix MinGW installation stepliushuyu
2021-06-19ci: windows: Copy the styles directory when packaginglat9nq
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-09ci: windows: Compress using xzlat9nq
Use XZ instead of gzip for packing. Should save about 10 MB.
2021-05-31externals: libusb: Use autotools for MinGWlat9nq
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-02-05ci/windows: Copy downloaded FFmpeg librarieslat9nq
Copies FFmpeg libraries that were downloaded during the CMake configuration. Fixes dynamic linking issues with the MinGW builds.
2020-12-08ci: Remove `-DYUZU_USE_BUNDLED_UNICORN=ON`lat9nq
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-07-18yuzu: Port translation support from CitraFearlessTobi
Co-Authored-By: Weiyi Wang <[email protected]>
2020-05-08Replace externals with Conan (#3735)James Rowe
* 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-03Re-enables building yuzu with Vulkan enabled via the CI scriptslat9nq
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-04-23Fixed packaging on some systems with different QT5 pathgxcreator
2020-01-29ci: Disable Vulkan for Windows MinGW buildsReinUsesLisp
2019-12-03Add missing CMakeLists.txt from root folder to source uploadJames Rowe
Fixes #3190
2019-11-12Move source in windows uploads into its own internal zipJames Rowe
This should prevent path length issues when extracting the build from the installer
2019-11-11ci: Package source with buildsZach Hilman
2019-11-06ci: Rename build folder only on non-mainline buildsbunnei
2019-11-06Revert "ci: Rename build folder only on non-mainline builds"bunnei
2019-11-05ci: Rename build folder only on non-mainline buildsZach Hilman
2019-10-06ci: Add TAR-XZ compression to MSVC buildsZach Hilman
2019-10-05ci: Add version counter variableZach Hilman
2019-10-02ci: Add Windows MSVC package scriptZach Hilman
2019-07-13Finalize Azure Pipelines DefinitionsZach Hilman
d