Commit graph

11 commits

Author SHA1 Message Date
liamwhite
8358567c4d Merge pull request #8596 from Docteh/fix_gha
package MSVC CI Builds differently, and include yuzu.exe
2022-07-23 15:11:19 -04:00
Kyle Kienapfel
4997dd4858 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
lat9nq
ce872fa1b0 ci/windows: Cleanup unused data before packaging
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-23 10:16:44 -04: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
93f1734f55 ci: Add Windows MSVC package script 2019-10-02 17:53:53 -04:00