2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00
yuzu/.ci/scripts
Kyle Kienapfel 5cda630417 package MSVC CI Builds differently, and include yuzu.exe
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-23 08:35:26 -07:00
..
clang ci,CMake: Integrate vcpkg into CMakeLists 2022-07-22 20:54:00 -04:00
common CI: lint scripts 2022-07-04 21:21:56 -06:00
format CI: unbreak ADO after GHA changes 2022-07-05 00:50:46 -06:00
linux ci,CMake: Integrate vcpkg into CMakeLists 2022-07-22 20:54:00 -04:00
merge ci: Don't fetch submodules when fetching PRs 2021-11-16 22:26:54 -05:00
transifex .ci/transifex: Mark docker.sh as executable 2021-10-16 00:59:18 +02:00
windows package MSVC CI Builds differently, and include yuzu.exe 2022-07-23 08:35:26 -07:00