summaryrefslogtreecommitdiff
path: root/.ci/scripts (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-02-04ci: android: Play store publishing setupGravatar t8952-0/+42
2024-01-13android: Move ktlintCheck to yuzu-verifyGravatar t8951-0/+3
2024-01-11ci: fix file mode check in format scriptGravatar Liam1-1/+1
2024-01-10ci: fix format taskGravatar Liam1-2/+1
2024-01-08ci: make verify format workflow output more helpfulGravatar Liam1-20/+15
2024-01-08general: fix trailing whitespaceGravatar Liam1-1/+1
2023-12-28actions: android: Build relWithDebInfo on main repoGravatar t8952-5/+17
2023-10-31ci: android: Use signing key if availableGravatar Charles Lombardo2-12/+9
Lets gradle handle apk signing when available
2023-10-10ci/linux: Fix find parameter orderGravatar toast29031-1/+1
Co-authored-by: liamwhite <liamwhite@users.noreply.github.com>
2023-10-10ci/linux: Upload separated debug symbolsGravatar lat9nq3-2/+20
Creates a new archive with a debug suffix that contains the debug symbols from compiling yuzu for mainline. The yuzu executable also gets a GNU debug link to the symbols file. ci/linux: Compile with debug symbols and upload separately Currently only uploads for yuzu but yuzu-cmd or other future executables can be added to the for-loop's parameters.
2023-10-08qt: implement automatic crash dump supportGravatar Liam3-1/+2
2023-07-09ci/mingw: Remove pefile installation stepGravatar lat9nq1-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-HeadersGravatar Morph1-1/+1
Latest as of this commit
2023-07-07ci: Download and install Vulkan SDK directly from LunarGGravatar Morph1-0/+33
2023-07-06ci/linux: Target deploy script from appimage pathGravatar lat9nq1-1/+1
Includes AppImage changes so that the needed Qt Wayland libraries are included.
2023-06-03android: Various fixes for CI.Gravatar bunnei2-0/+6
2023-06-03CI: add Android build systemsGravatar liushuyu2-0/+36
2023-05-14Fixup upload.ps1 for GHAGravatar Danila Malyutin1-1/+5
No extra folders are created with ninja generator after previous CMake fixes.
2023-03-30Re-enable LTO for LinuxGravatar Matías Locatti1-0/+1
Using the tested method of only enabling it for core and video_core. Clang is skipped, because Clang.
2023-03-12general: fix spelling mistakesGravatar Liam1-1/+1
2023-01-29apply-patches-by-label: Remove unused variables and importsGravatar Morph1-5/+2
2023-01-29apply-patches-by-label: Use python f-stringsGravatar Morph1-5/+5
2023-01-29ci: Abort on failure to query Github's APIGravatar Morph1-1/+2
This raises an exception if the GET request to Github's API returns anything other than 200 OK, ensuring we always have successful merges of tagged PRs. Also, reduces the number of queried pages from 29 to 9 to reduce the number of requests.
2023-01-29Move to Clang Format 15Gravatar Levi Behunin1-1/+1
Depends on https://github.com/yuzu-emu/build-environments/pull/69 clang-15 primary run
2022-12-30ci: Allow setting clang-format binaryGravatar Colin Kinloch1-1/+1
2022-12-17Enable compiler optimizations and enforce x86-64-v2 on GCC/Clang (#9442)Gravatar Matías Locatti2-0/+2
* Testing LTO (#4) * Testing LTO * clang * linux * Added the rest of Blinkhawk's optimizations * Unlikely asserts * Removing LTO from Linux builds - GCC * Removing LTO from Linux builds - Clang
2022-12-01ci/clang: Enable bundled FFmpegGravatar lat9nq1-0/+1
Explicitly use the bundled FFmpeg version, since we were auto-choosing it before.
2022-10-16Set TX_TOKEN for transifex clientGravatar Kyle Kienapfel1-8/+0
I did some tests on my own fork, and we're writing to ~/.transifexrc but the client can't seem to read that file. maybe issue with $HOME or something. Workaround is to set TX_TOKEN environment variable and now the pesky ~/.transifexrc file is not needed.
2022-10-14Translations: new transifex clientGravatar Kyle Kienapfel1-6/+2
Currently we're using the python client which uses an API that they state will sunset Nov 30, 2022. `tx push -s` actually appears to work properly, some of the other commands require tweaking, like instead of suggesting `tx pull -a` in dist/languages we need to suggest `tx pull -t -a`
2022-10-09ci/windows: Revert to using GCC for MinGW buildsGravatar lat9nq1-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-10-01Migrate deploy-linux.sh from lat9nq's repo.Gravatar bunnei1-1/+1
2022-09-26ci/linux: Drop linuxdeploy usageGravatar lat9nq1-5/+3
Recent versions of Docker appear to cause the Qt linuxdeploy plugin to throw a boost file copy error. This switches from linuxdeploy to a script of mine I've been working on for a while.
2022-09-20ci/linux: Use AppRun.sh to start AppImageGravatar lat9nq1-3/+3
The current AppRun is more difficult to update. This script still uses the old version of AppImageKit-checkrt, but now we use the shell script version so we can set our own environment variables as the application starts up. This specific version searches for and sets the correct root CA file to prevent SSL errors in yuzu.
2022-09-04ci/windows: Upload debugging symbolsGravatar lat9nq1-2/+2
2022-09-04ci,workflows: Enable crash dumps on MSVC buildsGravatar lat9nq1-0/+1
ci/windows: Enable crash dumps on MinGW builds
2022-08-09post-upload: Upload Linux source to artifacts dirGravatar lat9nq1-0/+1
The source from the Linux build is desireable as it has permissions and line endings set correctly.
2022-08-09ci: Graft source when archivingGravatar lat9nq2-8/+5
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-31ci/linux: EA AppImage adjustmentsGravatar lat9nq1-1/+8
Prevent AppImageLauncher from trying to integrate our AppImage on end user systems. Don't include the basic yuzu executable with EA or Mainline.
2022-07-31ci,linux: Support Patreon releasesGravatar lat9nq1-5/+11
The Early Access AppImage needs to be accessible through liftinstall, so a couple modifications need to made: The DIR_NAME needs to not include the revision info. The EA AppImage name cannot contain revision info. The EA AppImage has to be packaged with the rest of the yuzu package, which means both binaries and the source are bundled with it now in an archive. In addition, fix the source archive so yuzu can actually be built from it. upload: Copy AppImage to both mainline and EA release package
2022-07-27chore: make yuzu REUSE compliantGravatar Andrea Pappacoda21-3/+66
[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 buildsGravatar Kyle 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-26ci/linux: Delete libwayland-client from AppDirGravatar lat9nq1-0/+3
This library causes issues in Vulkan driver detection. libQt5MultimediaGstTools's dependencies seem to be the issue.
2022-07-23ci,transifex: enable vcpkg on transifex stepGravatar Kyle Kienapfel1-1/+4
The slim docker container that runs transifex needs a few packages added in, curl zip unzip I've tested everything except actually pushing to transifex, but it's not November 2022 yet so we're fine for now. Or we're actually using the newer client and all is well.
2022-07-23package MSVC CI Builds differently, and include yuzu.exeGravatar Kyle 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 packagingGravatar lat9nq1-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-22ci: pass environment variables to linux docker (AppImage)Gravatar Kyle K1-1/+6
Variables in question: AZURECIREPO TITLEBARFORMATIDLE TITLEBARFORMATRUNNING DISPLAYVERSION CMakeModules/GenerateSCMRev.cmake has some logic that looks at BUILD_REPOSITORY variable inside CMake src/common/CMakeLists.txt has some logic that takes some items from environment variables and sets variables inside CMake This is the whole section at the moment. if (DEFINED ENV{AZURECIREPO}) set(BUILD_REPOSITORY $ENV{AZURECIREPO}) endif() if (DEFINED ENV{TITLEBARFORMATIDLE}) set(TITLE_BAR_FORMAT_IDLE $ENV{TITLEBARFORMATIDLE}) endif () if (DEFINED ENV{TITLEBARFORMATRUNNING}) set(TITLE_BAR_FORMAT_RUNNING $ENV{TITLEBARFORMATRUNNING}) endif () if (DEFINED ENV{DISPLAYVERSION}) set(DISPLAY_VERSION $ENV{DISPLAYVERSION}) endif ()
2022-07-22ci,CMake: Integrate vcpkg into CMakeListsGravatar lat9nq2-2/+0
Uses manifest mode if the bundled vcpkg is used.
2022-07-22ci,CMake: Drop Conan support for vcpkgGravatar lat9nq3-5/+14
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 presentGravatar lat9nq1-1/+1
Prevents overwriting libwinpthreads.dll when one should already be present from the first DLL search.
2022-07-05CI: unbreak ADO after GHA changesGravatar liushuyu5-6/+6