summaryrefslogtreecommitdiffstats
path: root/.github
Commit message (Collapse)AuthorAgeFilesLines
* github/issue_template: remove question templateKacper Michajłow10 days1-24/+0
| | | | For less formal questions GitHub discussions should be used instead.
* ci/msys2: fix vulkan package nameAndarwinux2024-03-241-1/+1
|
* github/issue_template: add note about --profile=fast and --hwdecKacper Michajłow2024-03-174-0/+16
|
* github/workflows: generate html and pdf in docs job as wellDudemanguy2024-03-061-2/+4
| | | | | | Not sure if this is particularly useful, but we might as well generate these as well. Also use the docutils wrapper since that's what the meson build does.
* github/workflows: update actions/upload-artifact to v4Kacper Michajłow2024-03-051-1/+1
|
* ci: add explicit build test for ffmpeg 4.4LaserEyess2024-02-261-0/+52
| | | | | | | | | | This uses an alpine 3.15 container, which should be one of the oldest distros that mpv master can compile on and that uses ffmpeg 4.4. Some functionality is missing due to library versions being too old on alpine, e.g. wayland, mujs, and pipewire. The alpine build is also explicitly minimal, to test builds in conditions where many common mpv features may not be available.
* ci: add OpenBSDLaserEyess2024-02-251-0/+41
|
* github/workflows: add macOS 14 arm runner with most recent xcodeder richter2024-02-241-0/+9
|
* github/workflows: add vulkan, mujs and urchadet to macOS dependenciesder richter2024-02-241-1/+2
| | | | also explicitly enable those and remaining macOS features.
* github/workflows: link macOS artifacts in commentsder richter2024-02-241-0/+7
|
* github/workflows: bundle macOS App and upload it as artifactder richter2024-02-241-0/+15
| | | | also add architecture to artifact name
* github/workflows: update cross-platform-actions to v0.23.0Kacper Michajłow2024-02-231-2/+2
| | | | | - Use hardware accelerated virtualization on Linux runners - Update to FreeBSD 14.0
* github/workflows: switch back to luajit for macosDudemanguy2024-02-181-1/+1
| | | | | | | | | | | | | | | | Homebrew finally pulled the plug on lua 5.1*, and it is no more. So we have to change to a different lua package and the only other choice is luajit (no 5.2 in homebrew). We used to use luajit for the ci, but 649556b2b65207c0d40751fae941223978b04932 switched it to lua 5.1. As explained there, luajit 2.0 was horribly bugged and not usuable for mpv and the build had to do dumb hacks to work around it. I expected 5.1 to last a bit longer than a couple of years, but luckily it seems like luajit in homebrew now pulls a luajit 2.1 version (some rolling release thing or however upstream works). The details don't really matter for us since 2.1 does not have all the awful issues that 2.0 used to have. So just switch to luajit again. *: https://github.com/Homebrew/homebrew-core/commit/57d73df3ba924c870f4b6d36080e7cb37275367e
* github/workflows: ignore more files from build workflownanahi2024-02-071-0/+10
| | | | | | Exclude more files not participating in the build process, including README.md, to achieve the original goal of preventing artifacts comment spam.
* github/workflows: revert to github-script@v6Kacper Michajłow2024-02-051-1/+1
| | | | | | | There is an upstream regression in v7. Use v6 until Node 16 is still available. See: https://github.com/actions/github-script/issues/448
* github/workflows: update actions package versionsKacper Michajłow2024-01-264-9/+9
|
* Revert "github/workflows: don't install angleproject on msys2"Kacper Michajłow2024-01-141-0/+1
| | | | | | No longer needed after removal of 32-bit builds. This reverts commit d56ad8f0329e973d4c41e93f8491b4d3ceac9793.
* github/workflows: disable MSYS 32-bit buildsKacper Michajłow2024-01-141-2/+0
| | | | | | | | | | | | | | While mpv can be build for 32-bit platforms, MSYS started dropping some of the 32-bit packages [1]. We cannot be asked to monitor and fix CI build each time a dependency package randomly disappears [2]. Disable MSYS 32-bit builds if the support for this platforms is phased out upstream. Sadly this will reduce our build coverage. [1] https://www.msys2.org/news/#2023-12-13-starting-to-drop-some-32-bit-packages [2] https://github.com/msys2/MINGW-packages/commit/fff2fa3711e3cf1c9b65b12784ab3d9428a779f1 See also: https://github.com/msys2/MINGW-packages/issues/19747
* github/workflows: don't install angleproject on msys2llyyr2024-01-121-1/+0
| | | | | | | This package isn't available for i686 anymore, and not worth the hassle to only install it for win64 since it isn't particularly useful. See: https://github.com/msys2/MINGW-packages/commit/fff2fa3711e3cf1c9b65b12784ab3d9428a779f1
* github/issue_template: unify spellingsnanahi2023-12-121-1/+1
| | | | "behavior" is written in US English form in all templates except here.
* github/issue_template: request uploading attachments to githubnanahi2023-12-127-30/+30
| | | | | | | | | https://0x0.st/ has a maximum retention period of 1 year, and much less for larger files. Uploading them directly to github issue avoids this, which most people are already doing anyway because of greater convenience. log file: don't request 0x0.st. sample files: recommend github first.
* github/issue_template: unify requested information across templatesnanahi2023-12-125-8/+25
| | | | | | | | | | | Add more and unify requested information: windows, linux, others: request GPU model to provide more info about known hardware limitations and hardware/driver combo bugs. windows, others: request general GPU info. build: request meson version. windows, linux, others: request backtrace in case of crash. all: clarify the language of not attaching a log file.
* Revert "github/workflows: install xxhash on msys2"Kacper Michajłow2023-12-041-1/+0
| | | | This reverts commit 67aa5684379d42ad1e9b8cc66a04d63394e63994.
* github/workflows: install xxhash on msys2Dudemanguy2023-11-301-0/+1
| | | | | | | msys added xxhash has a makedep for libplacebo* which means we need to install it in the CI as well if we want to build against it. *: https://github.com/msys2/MINGW-packages/commit/07f4c34d22fda0284a1857ac5006d784fe058075
* github/workflows: use ubuntu-latest host for freebsdKacper Michajłow2023-10-251-2/+2
| | | | | | | | | | In the pursuit of stability. It is slower and QEMU-based, but if this isn't stable, I don't know what will be. Bump the timeout to 30 minutes, just in case. It seems to take 12-15 minutes to finish.
* github/workflows: use macos-13 host for freebsdKacper Michajłow2023-10-241-1/+1
| | | | Maybe macos-13 runners will be more stable?
* github/workflows: use cross-platform-actions for freebsdDudemanguy2023-10-231-36/+26
| | | | | | | | | | Since vmactions is basically a bootlooping disaster* with no signs of life from upstream, let's try a different action instead and hope it works better. We don't need to force the latest release channel, so delete that part. Also make the pkg install just one command for simplicity. *: https://github.com/vmactions/freebsd-vm/issues/74
* ci/msys2: disable autocrlfKacper Michajłow2023-10-231-0/+5
| | | | | | | | | I won't even comment how terrible this option is and why in 2023 default is not at least `autocrlf=input`. Disable the conversion to CRLF. We build everything in MSYS2 sysroot, which supports/expects LF. While the checkout itself is done with actions/checkout@v3 and this causes problems.
* workflows/build: install git in freebsd imagellyyr2023-10-231-0/+1
| | | | for downloading libplacebo.wrap via git
* workflows/build: explicitly define `CXX` in the envllyyr2023-10-231-4/+14
|
* github/workflows: put a 20 minute timeout on the freebsd jobDudemanguy2023-10-191-0/+1
| | | | | It bootloops quite often these days which is annoying and clogs up all the macos runners. https://github.com/vmactions/freebsd-vm/issues/74
* github/workflows: remove macOS 11 buildJan Ekström2023-10-161-1/+0
| | | | | | | | | | | | Homebrew has finally given up supporting macOS 11, and all updated dependencies are being built locally. Additionally, python3.12 - being a dependency of libass in Homebrew - seems to completely fail under cairo's meson usage on macOS 11, even if we let it build. Thus, finally remove macOS 11 from our macOS build matrix, leaving 12 and 13. ref: Homebrew/brew#16019
* github/workflows: rename the job for the docs checkDudemanguy2023-09-241-2/+2
| | | | | | Copy and pasted from commit msg lint obviously, but I forgot to rename it. Oops. Capitalize the name field while I'm at it (seems like all the other workflows do it too).
* github/workflows: add a workflow to check doc changesDudemanguy2023-09-241-0/+24
| | | | | Should hopefully avoid any accidents with stray characters and other things. Only needs to run if something within DOCS changes.
* github/workflows: only run build if source/build files changeDudemanguy2023-09-241-0/+6
| | | | | | | | | When someone purely changes some documentation or something similar, there's no point in having the whole CI build go off. This also leads to the bot spamming a comment linking to artifacts. This is only useful if actual source code changes (i.e. so users can test if need). So just add a path filter to blacklist directories we don't want to consider. If all changed files match those directories then the CI won't run.
* github/workflows: comment PR artifacts linksnatural-harmonia-gropius2023-09-211-0/+58
|
* {github/workflows,ci}: install and enable libplacebo in macOS CIJan Ekström2023-09-211-1/+1
|
* github/workflows: add macOS 13 buildJan Ekström2023-09-211-0/+1
| | | | | | Apparently it is available in public beta since late April. ref actions/virtual-environments#6426
* ci/mingw: move functional test to workflowsfan52023-08-211-0/+7
| | | | Arguably the better place for this as it provides fine-grained feedback.
* ci: update freebsd to latest release channelNiklas Haas2023-08-181-0/+5
| | | | Instead of `quarterly`, to get access to recent packages.
* Revert "ci/msys2: double down on running meson through python3.11"Kacper Michajłow2023-07-291-2/+2
| | | | | | | Python 3.11 will be released soon as default Python package, and actually python3.11 package already disappeared from the repository. This reverts commit c637beb5223b0af5a671c8829a0e1a42e7e9a411.
* ci/mingw: use ccacheKacper Michajłow2023-07-251-1/+15
| | | | | | | | | | | | | | | Can significantly reduce build time, most of dependencies have fixed versions, so they can be cached fully. Others will be incrementally build. Cache is saved on every run and restored from the newest one. Size is limited to 500M (compressed) to keep cache save/restore fast. Clean cached build is little over 100M, so we have a headroom as things will grow. ccache will automatically evict least recently used entries. It is unlikely that clean build will exceed the limit anytime soon, but it is something to keep in mind, as we do not want to evict cache entries from current build, so the cache size need to be set correctly.
* ci/mingw: disable fail-fastKacper Michajłow2023-07-251-0/+1
| | | | Those builds should be evaluated separately, no need to fail other one.
* ci/mingw: check if binary is runnable before packagingKacper Michajłow2023-07-251-1/+2
|
* waf: remove waf as a build systemLaserEyess2023-07-231-49/+2
| | | | | | Remove waf entirely in favor of meson as the only supported build system. Waf was officially deprecated in 0.36.0, and has not been preferred over meson since 0.35.0.
* ci/msys2: double down on running meson through python3.11Kacper Michajłow2023-07-021-1/+1
| | | | | | | Run not only scripts inside build system, but also meson itself with Python 3.11. Fixes: eb4da3400a1c37eea7b258b00297e8b8fcdd8db4
* github/workflows: do not copyback files from freebsd VMKacper Michajłow2023-06-271-15/+1
| | | | | It is unstable and fails quite often. Just disable it and remove log printing of failure.
* github/workflows: bump freebsd VM memory size to 8GBKacper Michajłow2023-06-271-0/+1
|
* ci/msys2: switch to Python 3.11 to fix crashes during buildKacper Michajłow2023-06-261-1/+1
| | | | | | | | | There is a long-standing bug with random crashes of Python 3.10 on CI. See: https://github.com/python/cpython/issues/105400 https://github.com/msys2/MINGW-packages/issues/11864 https://github.com/msys2/MINGW-packages/issues/17415
* ci/mingw: remove cacheKacper Michajłow2023-06-081-6/+0
| | | | | | | | | To avoid building against stale version of dependencies. In particular libplacebo is moving target and as we can see the build has been broken few times recently, so let the CI validate it for us. The time to build everything is under 30 minutes, which is acceptable in my opinion, not much longer than macos build.
* github/workflows/build.yml: install ca-certificates package on msys2Leo Izen2023-06-081-0/+1
| | | | | Allows python to download waf correctly, fixing CI failure due to its outdated built-in certificate pool.
* ci: switch to lua51 for MSYS buildKacper Michajłow2023-04-291-1/+1
| | | | | luajit is currently crashing on 32-bit build: https://github.com/msys2/MINGW-packages/issues/17042
* ci: add a workflow that lints commit messagessfan52023-04-081-0/+22
|
* ci: bump cache version to rebuild libplaceboKacper Michajłow2023-03-281-1/+1
| | | | | libplacebo-next version requirement was increased recently, need to rebuild it to fix mingw CI builds.
* ci/mingw: update mesonKacper Michajłow2023-03-281-1/+2
| | | | libplacebo requires >= 0.63
* github/workflows: fix failure conditionsDudemanguy2023-03-151-11/+11
| | | | | | | It turns out that you actually have to add failure() to each condition otherwise a default status check of success() is applied (thanks github). Looks redundant but whatever. Thanks to @kasper93 for actually reading the documentation.
* ci: separate meson tests and reorganize build stepsDudemanguy2023-03-021-14/+58
| | | | | | | | | | | | | Instead of running the test directly in the build script, we can make a separate step in the workflow so it looks a little prettier. For running the actual tests, we skip mingw since they will never be run (cross compiled). Additionally, improve the github workflow logic a bit so that way logs on failure are only shown when that specific step fails. The freebsd job still has to be less elegant since it's in a weird vm thingy. Not really related but the location of various build directories (particularly waf) are corrected as well (might as well).
* ci: pack mingw64 meson build instead of wafKacper Michajłow2023-01-311-2/+2
|
* ci: migrate MSYS2 build to GitHub ActionsKacper Michajłow2023-01-281-0/+64
|
* build: officially deprecate wafDudemanguy2023-01-151-2/+2
| | | | | | | | While the waf build has served us well for many years, it's time to officially consider it deprecated. The meson build was added fully with the intention to eventually replace waf and its current state is more than good enough to do that. Let's start the deprecation period now to give users a heads up to switch before we remove waf for good.
* github/workflows: force deletion of existing upstream python symlinks on macOSJan Ekström2022-11-111-0/+5
| | | | | | | | | | This way each time a new Python version is installed via Homebrew , we don't get CI failures due to the upstream Python distribution also being installed. Ref: actions/runner-images#6459 Ref: actions/runner-images#6507 Ref: actions/runner-images#2322
* github/workflows: remove seccomp disablementJan Ekström2022-11-051-4/+0
| | | | | | | Workflow virtual machines have now been updated so that moby package contains rule for the newly added syscalls, such as 'clone3'. Effectively reverts 64fa440c697b9b8e96e14e33f7e79c6674c5b1a3 .
* github/workflows: bump linux jobs to Ubuntu 22.04 base VMJan Ekström2022-11-051-1/+1
| | | | | These utilize a custom docker container in any case, but this brings us to consistency with the mingw-w64 jobs.
* github/workflows: move all build jobs to checkout V3Jan Ekström2022-11-051-3/+3
| | | | | mingw-w64 has utilized this for a while so might as well make it consistent.
* github/workflows: remove xcode 13.0 to xcode 13.1 overrideJan Ekström2022-11-051-10/+0
| | | | | | | Thankfully, this version is no longer the default on any of the macOS runners. Effectively reverts a76527772eb52084c61241b89cfb42ce59f6f6a4 .
* github/workflows: remove macOS 10.15 image usageJan Ekström2022-11-051-1/+0
| | | | | | | | | This older image has been deprecated and will be removed in December. The images have also already had planned outages during which the CI flow has been affected. Thus it feels like a good idea to clean this up at this point. Ref: actions/runner-images#5583
* github/workflows: remove pip usage in mingw CIDudemanguy2022-11-021-2/+1
| | | | | | | This was only needed because the mingw CI used to run on Ubuntu 20.04 which had a version of meson too old for mpv. This hasn't been the case since we switched to 22.04 in f7164fcfaca1b1d8f0ceb9cb58e532c172cf83fa and can now just use the package manager version.
* ci: upload resulting binary of mingw64 buildsfan52022-11-011-1/+6
|
* ci/mingw64: refresh build scriptssfan52022-11-011-7/+12
| | | | | | | - newer library versions - use libplacebo submodules - prefer meson where possible - fix minor details
* github/workflows: print error logs on freebsdDudemanguy2022-10-271-0/+10
| | | | | | | Despite being run in a VM, the workflow actually copies the files back to the host. We can then explictly print the error logs on failure in their own separate section for visibility instead of it being hidden within all the vm output.
* github/workflows: explicitly install Xinerama on FreeBSDJan Ekström2022-10-091-0/+1
| | | | | Apparently an implicit dependency on it through one of the otherwise installed packages is no longer there.
* ao_pipewire: test on FreeBSDThomas Weißschuh2022-08-181-0/+1
|
* github/workflows: auto-update freebsd-vm within major versionJan Beich2022-08-121-1/+1
| | | | Reduce the churn by transparently picking up bustage fixes.
* ci: bump macos runner versionSukkaW2022-07-261-2/+2
|
* github/workflows: upgrade FreeBSD to 13.1Jan