summaryrefslogtreecommitdiff
path: root/.ci/scripts
AgeCommit message (Collapse)Author
2022-06-16ci/windows: Split up cmake commandlat9nq
Improves readability.
2021-12-15video_core/codecs: (re-spin) refactor ffmpeg searching and handlingliushuyu
2021-12-15Revert "video_core/codecs: refactor ffmpeg searching and handling in cmake"bunnei
2021-12-13CI: fix CI on Linuxliushuyu
2021-12-13CI: fix MinGW installation stepliushuyu
2021-11-16ci: Don't fetch submodules when fetching PRsMorph
2021-11-08ci: Print traceback on patch merge failureMorph
2021-10-16.ci/transifex: Mark docker.sh as executableFearlessTobi
2021-10-15.ci: Use Github Actions to update translation source filesFearlessTobi
2021-09-24ci: Update clang format versionameerj
2021-07-06cmake, ci: Build bundled FFmpeg with yuzulat9nq
Drops usage of CMAKE_DEPENDENT_OPTION to allow using YUZU_USE_BUNDLED_FFMPEG as an option on any platform. CI then now builds FFmpeg always, netting about 10 MB less used on the AppImage. Also somewhat fixes YUZU_USE_BUNDLED_QT so that it can be used even if CMake doesn't clean up its state after running the first find_package.
2021-06-19ci: windows: Copy the styles directory when packaginglat9nq
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-09ci: windows: Compress using xzlat9nq
Use XZ instead of gzip for packing. Should save about 10 MB.
2021-06-09ci: common: Remove 7z packaginglat9nq
Removes the 7z from being package during CI, as only .tar.xz preserves information needed on Linux, and otherwise is just extremely redundant to package in addition to the .tar.xz. This affects Linux releases and PR-verify artifacts only. MSVC releases do not use this script to my knowledge.
2021-05-31externals: libusb: Use autotools for MinGWlat9nq
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-05-16ci: linux: Freeze AppImage binarieslat9nq
A regression was introduced on May 13 by linuxdeploy that causes file open dialogs to crash yuzu in the AppImage (likely this commit 1e28ee38fa174279defe70cdaadf2a552c80258c from linuxdeploy/linuxdeploy-desktopfile). Instead of downloading the latest version from each of the repos we use to build the AppImage, just download the ones hosted at yuzu-emu/ext-linux-bin, which are the same binaries we have been using, but verified to be working and won't update on us beyond our control. This can eventually be moved into the container itself to remove the need to download them at build time.
2021-04-18ci: linux: Link Boost staticallylat9nq
Only affects the AppImage and the raw binaries. Enables running the executable alone on Linux systems when all other libraries are compatible.
2021-02-22ci: Add clang build scriptslat9nq
Adds scripts that instruct CI to build yuzu with the installed Clang compiler on yuzuemu/build-environments:linux-fresh. These scripts are based on the .ci/scripts/linux scripts, minus AppImage building since that isn't necessary. Re-uses linux-fresh since that container has Clang 12 installed.
2021-02-05ci/windows: Copy downloaded FFmpeg librarieslat9nq
Copies FFmpeg libraries that were downloaded during the CMake configuration. Fixes dynamic linking issues with the MinGW builds.
2021-01-06ci/linux: Make Mainline AppImages updateablelat9nq
Moves the final step for building the AppImage to the upload script. Instructs appimagetool to embed update information into the AppImage if the release target is Mainline. Also tells it to create a zsync file to enable partial-downloads when updating the AppImage. Also renames the AppImage from `yuzu-{version info}-x86_64.AppImage` to `yuzu-{version info}.AppImage` to avoid a bug in the downloads page at yuzu-emu.org/downloads.
2020-12-30ci: Build an AppImagelat9nq
This builds yuzu in an AppImage alongside the other archives during release. Required to allow distributing yuzu in the future with upgraded dependencies, such as Qt.
2020-12-08ci: Remove `-DYUZU_USE_BUNDLED_UNICORN=ON`lat9nq
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-11-30Disable web applet and warning when compiling for Linux on CIlat9nq
yuzu's web applet does not or barely reacts to user input while open in Linux. It can be closed via 'Exit Web Applet' on the menubar, however if yuzu is in fullscreen, this is effectively a softlock as the menubar cannot be accessed. This disables building yuzu with the web applet on the Linux CI target. In addition, this disables the QMessageBox warning about not having compiled yuzu with the web applet.
2020-08-13General: Tidy up clang-format warnings part 2Lioncash
2020-08-08General: Tidy up clang-format warningsLioncash
2020-08-02ci: Make use of clang-format 10.0Lioncash
10.0 seems to play nicer with C++ attributes compared to clang-format 6.0.
2020-07-18yuzu: Port translation support from CitraFearlessTobi
Co-Authored-By: Weiyi Wang <wwylele@gmail.com>
2020-05-08Replace externals with Conan (#3735)James Rowe
* 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 scriptslat9nq
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 pathgxcreator
2020-01-29ci: Disable Vulkan for Windows MinGW buildsReinUsesLisp
2020-01-29ci: Disable Vulkan for Linux buildsReinUsesLisp
2019-12-03Add missing CMakeLists.txt from root folder to source uploadJames Rowe
Fixes #3190
2019-11-12Move source in windows uploads into its own internal zipJames Rowe
This should prevent path length issues when extracting the build from the installer
2019-11-11ci: Package source with buildsZach Hilman
2019-11-06ci: Rename build folder only on non-mainline buildsbunnei
2019-11-06Revert "ci: Rename build folder only on non-mainline builds"bunnei
2019-11-05Merge pull request #3073 from DarkLordZach/azure-rename-partialbunnei
ci: Rename build folder only on non-mainline builds
2019-11-05ci: Rename build folder only on non-mainline buildsZach Hilman
2019-10-29externals: Amend zlib submoduleLioncash
Supplies CMakeLists.txt file that avoids pulling in zlib's tests into the tree. This avoids needing to explicitly opt these tests out from ctest.
2019-10-24Revert "ci: Add build name to archive root folder"James Rowe
This reverts commit 5e553a6c267f4ab96a89833f1006ea27fd78b30a.
2019-10-23ci: Add build name to archive root folderZach Hilman
2019-10-06ci: Add TAR-XZ compression to MSVC buildsZach Hilman
2019-10-05ci: Add version counter variableZach Hilman
2019-10-04externals: Use upstream zlibLioncash
We don't need to depend on a custom fork for this. We can add the library as is, and then make it excluded from the ALL target, so we only link in the libraries that we actually make use of.
2019-10-02Merge pull request #2937 from DarkLordZach/azure-msvcbunnei
ci: Add windows MSVC builds to patreon and mainline pipelines
2019-10-02ci: Add Windows MSVC package scriptZach Hilman
2019-10-01ci: Check additional pages on GitHubZach Hilman
2019-10-01ci: Iterate through GitHub pages for pull requestsZach Hilman
2019-09-30ci: Populate patreon PRs on public repositoryZach Hilman