summaryrefslogtreecommitdiffstats
path: root/.ci/scripts (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #8629 from Docteh/test_transifexliamwhite2022-07-231-1/+4
|\ | | | | ci,transifex: enable vcpkg on transifex step
| * ci,transifex: enable vcpkg on transifex stepKyle Kienapfel2022-07-231-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.
* | Merge pull request #8625 from Docteh/ado_titlebarliamwhite2022-07-231-1/+6
|\ \ | | | | | | ci: pass environment variables to linux docker (AppImage)
| * | ci: pass environment variables to linux docker (AppImage)Kyle K2022-07-231-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 ()
* | 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: Integrate vcpkg into CMakeListslat9nq2022-07-232-2/+0
| | | | Uses manifest mode if the bundled vcpkg is used.
* ci,CMake: Drop Conan support for vcpkglat9nq2022-07-233-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.
* 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-055-6/+6
|
* CI: lint scriptsliushuyu2022-07-052-3/+2
|
* CI: workaround appimage generation if FUSE is not availableliushuyu2022-07-051-0/+5
|
* CI: upload artifacts for pull request verificationliushuyu2022-07-054-2/+4
|
* CI: fix cachingliushuyu2022-07-051-2/+2
|
* CI: use Ninja to build stuff fasterliushuyu2022-07-053-8/+9
|
* CI: Use GitHub Actions to check pull requestsliushuyu2022-07-053-10/+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: Don't fetch submodules when fetching PRsMorph2021-11-172-2/+2
|
* ci: Print traceback on patch merge failureMorph2021-11-081-1/+2
|
* .ci/transifex: Mark docker.sh as executableFearlessTobi2021-10-161-0/+0
|
* .ci: Use Github Actions to update translation source filesFearlessTobi2021-10-151-0/+25
|
* ci: Update clang format versionameerj2021-09-241-1/+1
|
* cmake, ci: Build bundled FFmpeg with yuzulat9nq2021-07-061-1/+2
| | | | | | | | | 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.
* 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.
* ci: common: Remove 7z packaginglat9nq2021-06-091-6/+0
| | | | | | | | 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.
* 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: linux: Freeze AppImage binarieslat9nq2021-05-162-5/+5
| | | | | | | | | | | | | | 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.
* ci: linux: Link Boost staticallylat9nq2021-04-181-1/+11
| | | | | | Only affects the AppImage and the raw binaries. Enables running the executable alone on Linux systems when all other libraries are compatible.
* ci: Add clang build scriptslat9nq2021-02-223-0/+46
| | | | | | | | | 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.
* 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/linux: Make Mainline AppImages updateablelat9nq2021-01-062-9/+20
| | | | | | | | | | | 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.
* ci: Build an AppImagelat9nq2020-12-304-5/+51
| | | | | | 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.
* ci: Remove `-DYUZU_USE_BUNDLED_UNICORN=ON`lat9nq2020-12-082-2/+2
| | | | | | 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.
* Disable web applet and warning when compiling for Linux on CIlat9nq2020-11-301-1/+1
| | | | | | | | | | | 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.
* General: Tidy up clang-format warnings part 2Lioncash2020-08-131-2/+0
|
* General: Tidy up clang-format warningsLioncash2020-08-091-1/+3
|
* ci: Make use of clang-format 10.0Lioncash2020-08-031-1/+1
| | | | | 10.0 seems to play nicer with C++ attributes compared to clang-format 6.0.
* yuzu: Port translation support from CitraFearlessTobi2020-07-182-2/+2
| | | | Co-Authored-By: Weiyi Wang <wwylele@gmail.com>
* Replace externals with Conan (#3735)James Rowe2020-05-084-12/+9
| | | | | | | | | | | | | | | | | | | | | * 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-032-2/+2
| | | | | | 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
|
* ci: Disable Vulkan for Linux 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-122-0/+7
|
* ci: Rename build folder only on non-mainline buildsbunnei2019-11-074-10/+29
|
* Revert "ci: Rename build folder only on non-mainline builds"bunnei2019-11-074-29/+10
|
* Merge pull request #3073 from DarkLordZach/azure-rename-partialbunnei2019-11-064-10/+29
|\ | | | | ci: Rename build folder only on non-mainline builds
| * ci: Rename build folder only on non-mainline buildsZach Hilman2019-11-064-10/+29
| |
* | externals: Amend zlib submoduleLioncash2019-10-291-2/+1
| | | | | | | | | | | | 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.
* | Revert "ci: Add build name to archive root folder"James Rowe2019-10-244-14/+10
| | | | | | | | This reverts commit 5e553a6c267f4ab96a89833f1006ea27fd78b30a.
* | ci: Add build name to archive root folderZach Hilman2019-10-234-10/+14
|/
* ci: Add TAR-XZ compression to MSVC buildsZach Hilman2019-10-071-1/+7
|
* ci: Add version counter variableZach Hilman2019-10-054-4/+4
|
* externals: Use upstream zlibLioncash2019-10-041-1/+2
| | | | | | 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.
* Merge pull request #2937 from DarkLordZach/azure-msvcbunnei2019-10-031-0/+32
|\ | | | | ci: Add windows MSVC builds to patreon and mainline pipelines
| * ci: Add Windows MSVC package scriptZach Hilman2019-10-021-0/+32
| |
* | ci: Check additional pages on GitHubZach Hilman2019-10-021-1/+3
| |
* | ci: Iterate through GitHub pages for pull requestsZach Hilman2019-10-022-25/+33
|/
* ci: Populate patreon PRs on public repositoryZach Hilman2019-09-302-2/+2
|
* ci: Optionally prepend commit messages with environment variableZach Hilman2019-09-261-2/+4
|
* ci: Add private mergebot scriptZach Hilman2019-09-261-0/+41
| | | Uses Azure instead of GitHub
* Finalize Azure Pipelines DefinitionsZach Hilman2019-07-1416-0/+323
| | | | d
* Add Pipeline DefinitionsZach Hilman2019-07-101-0/+0