summaryrefslogtreecommitdiffstats
path: root/.ci/scripts/windows (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fixup upload.ps1 for GHADanila Malyutin2023-05-141-1/+5
| | | No extra folders are created with ninja generator after previous CMake fixes.
* general: fix spelling mistakesLiam2023-03-121-1/+1
|
* ci/windows: Revert to using GCC for MinGW buildslat9nq2022-10-091-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).
* ci/windows: Upload debugging symbolslat9nq2022-09-051-2/+2
|
* ci,workflows: Enable crash dumps on MSVC buildslat9nq2022-09-051-0/+1
| | | | ci/windows: Enable crash dumps on MinGW builds
* ci: Graft source when archivinglat9nq2022-08-091-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.
* Merge pull request #8641 from Docteh/vcpkg_dllliamwhite2022-07-281-3/+4
|\ | | | | build: Ship vcpkg dlls with MSVC pr-verify builds
| * build: Ship vcpkg dlls with MSVC pr-verify buildsKyle Kienapfel2022-07-271-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
* | chore: make yuzu REUSE compliantAndrea Pappacoda2022-07-275-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
* Merge pull request #8596 from Docteh/fix_ghaliamwhite2022-07-231-0/+47
|\ | | | | package MSVC CI Builds differently, and include yuzu.exe
| * package MSVC CI Builds differently, and include yuzu.exeKyle Kienapfel2022-07-231-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
* | ci/windows: Cleanup unused data before packaginglat9nq2022-07-231-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.
* ci,CMake: Drop Conan support for vcpkglat9nq2022-07-231-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.
* ci/windows: Copy what of FFmpeg not already presentlat9nq2022-07-061-1/+1
| | | | | Prevents overwriting libwinpthreads.dll when one should already be present from the first DLL search.
* CI: unbreak ADO after GHA changesliushuyu2022-07-052-3/+3
|
* CI: lint scriptsliushuyu2022-07-051-2/+1
|
* CI: upload artifacts for pull request verificationliushuyu2022-07-051-0/+0
|
* CI: fix cachingliushuyu2022-07-051-2/+2
|
* CI: use Ninja to build stuff fasterliushuyu2022-07-051-3/+3
|
* CI: Use GitHub Actions to check pull requestsliushuyu2022-07-051-6/+11
|
* ci/windows: Build using Clanglat9nq2022-06-171-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.
* ci/windows: Split up cmake commandlat9nq2022-06-171-1/+8
| | | | Improves readability.
* video_core/codecs: (re-spin) refactor ffmpeg searching and handlingliushuyu2021-12-161-3/+2
|
* Revert "video_core/codecs: refactor ffmpeg searching and handling in cmake"bunnei2021-12-151-2/+3
|
* CI: fix CI on Linuxliushuyu2021-12-141-3/+2
|
* CI: fix MinGW installation stepliushuyu2021-12-141-1/+1
|
* ci: windows: Copy the styles directory when packaginglat9nq2021-06-191-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.
* ci: windows: Compress using xzlat9nq2021-06-101-2/+2
| | | | Use XZ instead of gzip for packing. Should save about 10 MB.
* externals: libusb: Use autotools for MinGWlat9nq2021-05-311-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.
* ci/windows: Copy downloaded FFmpeg librarieslat9nq2021-02-051-0/+5
| | | | | Copies FFmpeg libraries that were downloaded during the CMake configuration. Fixes dynamic linking issues with the MinGW builds.
* ci: Remove `-DYUZU_USE_BUNDLED_UNICORN=ON`lat9nq2020-12-081-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.
* yuzu: Port translation support from CitraFearlessTobi2020-07-181-1/+1
| | | | Co-Authored-By: Weiyi Wang <wwylele@gmail.com>
* Replace externals with Conan (#3735)James Rowe2020-05-082-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
* Re-enables building yuzu with Vulkan enabled via the CI scriptslat9nq2020-05-031-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.
* Fixed packaging on some systems with different QT5 pathgxcreator2020-04-231-1/+7
|
* ci: Disable Vulkan for Windows MinGW buildsReinUsesLisp2020-01-291-1/+1
|
* Add missing CMakeLists.txt from root folder to source uploadJames Rowe2019-12-031-1/+2
| | | Fixes #3190
* Move source in windows uploads into its own internal zipJames Rowe2019-11-121-7/+22
| | | | This should prevent path length issues when extracting the build from the installer
* ci: Package source with buildsZach Hilman2019-11-121-0/+3
|
* ci: Rename build folder only on non-mainline buildsbunnei2019-11-072-3/+16
|
* Revert "ci: Rename build folder only on non-mainline builds"bunnei2019-11-072-16/+3
|
* ci: Rename build folder only on non-mainline buildsZach Hilman2019-11-062-3/+16
|
* ci: Add TAR-XZ compression to MSVC buildsZach Hilman2019-10-071-1/+7
|
* ci: Add version counter variableZach Hilman2019-10-052-2/+2
|
* ci: Add Windows MSVC package scriptZach Hilman2019-10-021-0/+32
|
* Finalize Azure Pipelines DefinitionsZach Hilman2019-07-144-0/+174
d