summaryrefslogtreecommitdiffstats
path: root/.ci/scripts/windows (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-10-08qt: implement automatic crash dump supportLiam1-1/+0
2023-07-09ci/mingw: Remove pefile installation steplat9nq1-1/+0
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-HeadersMorph1-1/+1
Latest as of this commit
2023-07-07ci: Download and install Vulkan SDK directly from LunarGMorph1-0/+33
2023-05-14Fixup upload.ps1 for GHADanila Malyutin1-1/+5
No extra folders are created with ninja generator after previous CMake fixes.
2023-03-12general: fix spelling mistakesLiam1-1/+1
2022-10-09ci/windows: Revert to using GCC for MinGW buildslat9nq1-5/+1
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-05ci/windows: Upload debugging symbolslat9nq1-2/+2
2022-09-05ci,workflows: Enable crash dumps on MSVC buildslat9nq1-0/+1
ci/windows: Enable crash dumps on MinGW builds
2022-08-09ci: Graft source when archivinglat9nq1-7/+3
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-27chore: make yuzu REUSE compliantAndrea Pappacoda5-1/+16
[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-27build: Ship vcpkg dlls with MSVC pr-verify buildsKyle Kienapfel1-3/+4
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-23package MSVC CI Builds differently, and include yuzu.exeKyle Kienapfel1-0/+47
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 packaginglat9nq1-0/+3
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-23ci,CMake: Drop Conan support for vcpkglat9nq1-4/+1
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-06ci/windows: Copy what of FFmpeg not already presentlat9nq1-1/+1
Prevents overwriting libwinpthreads.dll when one should already be present from the first DLL search.
2022-07-05CI: unbreak ADO after GHA changesliushuyu2-3/+3
2022-07-05CI: lint scriptsliushuyu1-2/+1
2022-07-05CI: upload artifacts for pull request verificationliushuyu1-0/+0
2022-07-05CI: fix cachingliushuyu1-2/+2
2022-07-05CI: use Ninja to build stuff fasterliushuyu1-3/+3
2022-07-05CI: Use GitHub Actions to check pull requestsliushuyu1-6/+11
2022-06-17ci/windows: Build using Clanglat9nq1-3/+11
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-17ci/windows: Split up cmake commandlat9nq1-1/+8
Improves readability.
2021-12-16video_core/codecs: (re-spin) refactor ffmpeg searching and handlingliushuyu1-3/+2
2021-12-15Revert "video_core/codecs: refactor ffmpeg searching and handling in cmake"bunnei1-2/+3
2021-12-14CI: fix CI on Linuxliushuyu1-3/+2
2021-12-14CI: fix MinGW installation stepliushuyu1-1/+1
2021-06-19ci: windows: Copy the styles directory when packaginglat9nq1-5/+6
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-10ci: windows: Compress using xzlat9nq1-2/+2
Use XZ instead of gzip for packing. Should save about 10 MB.
2021-05-31externals: libusb: Use autotools for MinGWlat9nq1-0/+3
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 librarieslat9nq1-0/+5
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`lat9nq1-1/+1
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 CitraFearlessTobi1-1/+1
Co-Authored-By: Weiyi Wang <wwylele@gmail.com>
2020-05-08Replace externals with Conan (#3735)James Rowe2-12/+3
* 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 scriptslat9nq1-1/+1
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 pathgxcreator1-1/+7
2020-01-29ci: Disable Vulkan for Windows MinGW buildsReinUsesLisp1-1/+1
2019-12-03Add missing CMakeLists.txt from root folder to source uploadJames Rowe1-1/+2
Fixes #3190
2019-11-12Move source in windows uploads into its own internal zipJames Rowe1-7/+22
This should prevent path length issues when extracting the build from the installer
2019-11-12ci: Package source with buildsZach Hilman1-0/+3
2019-11-07ci: Rename build folder only on non-mainline buildsbunnei2-3/+16
2019-11-07Revert "ci: Rename build folder only on non-mainline builds"bunnei2-16/+3
2019-11-06ci: Rename build folder only on non-mainline buildsZach Hilman2-3/+16
2019-10-24Revert "ci: Add build name to archive root folder"James Rowe2-6/+3
This reverts commit 5e553a6c267f4ab96a89833f1006ea27fd78b30a.
2019-10-23ci: Add build name to archive root folderZach Hilman2-3/+6
2019-10-07ci: Add TAR-XZ compression to MSVC buildsZach Hilman1-1/+7
2019-10-05ci: Add version counter variableZach Hilman2-2/+2
2019-10-02ci: Add Windows MSVC package scriptZach Hilman1-0/+32
2019-07-14Finalize Azure Pipelines DefinitionsZach Hilman4-0/+174
d