summaryrefslogtreecommitdiffstats
path: root/ci
Commit message (Collapse)AuthorAgeFilesLines
* ci: add sanitizers to Tumbleweed buildKacper Michajłow2023-10-081-0/+1
| | | | | We don't have much test coverage, but even running the built binary doesn't harm to check with sanitizers.
* ci/mingw: use vulkan-loader v1.3.266Kacper Michajłow2023-10-071-2/+2
| | | | | | | | | | | Upstream has been changing buildsystem and current vulkan.pc is not functional with custom prefix path. Rollback to older version until it is fixed. See: https://github.com/KhronosGroup/Vulkan-Loader/issues/1318 https://github.com/KhronosGroup/Vulkan-Loader/issues/1319
* ci/mingw: drop old workarounds for vulkan-headerssfan52023-09-231-2/+1
| | | | These got fixed upstream.
* {github/workflows,ci}: install and enable libplacebo in macOS CIJan Ekström2023-09-211-1/+1
|
* ci/lint: ignore subject length for revert commitsDudemanguy2023-09-021-1/+2
| | | | | | | The default revert will always add 9 extra characters which means it could go over the 72 character soft limit if the commit being reverted has a long subject. We won't fuss about this so just shut up the lint in this case.
* ci/mingw: attempt to enable Vulkan Video Decodingsfan52023-08-291-6/+10
|
* ci/mingw: disable vulkan for 32-bit buildsfan52023-08-211-6/+10
| | | | | | | | There's some cdecl / stdcall linking nonsense breaking the build which I'm not inclined to debug this Sunday at all. 32-bit is not important anyway, so just disable it there. On the plus side the new functional structure makes this very painless.
* ci/mingw: don't include useless DLLs in artifactsfan52023-08-211-4/+17
|
* ci/mingw: refactor build script into functionssfan52023-08-211-54/+78
|
* ci/mingw: enable more ffmpeg featuressfan52023-08-211-1/+2
| | | | | | If someone wants to use the CI artifacts for day-to-day usage or even for certain tests it can be useful to take screenshots and use e.g. DShow (--disable-devices option), so enable those.
* ci/mingw: add necessary deps and enable vulkansfan52023-08-211-14/+48
|
* ci/mingw: move functional test to workflowsfan52023-08-211-1/+0
| | | | Arguably the better place for this as it provides fine-grained feedback.
* ci/mingw: update dependency versionssfan52023-08-211-3/+3
|
* ci: disable libplacebo in msys2 buildNiklas Haas2023-08-181-3/+1
| | | | | | Blocked upstream. See-Also: https://github.com/msys2/MINGW-packages/pull/17974
* meson: remove redundant libplacebo-next checkNiklas Haas2023-08-181-1/+1
| | | | Now implied by the minimum libplacebo version.
* ci: update the mpv.com pathDudemanguy2023-07-312-2/+2
| | | | Following the previous commit, it will now be in build/player.
* Revert "ci/msys2: double down on running meson through python3.11"Kacper Michajłow2023-07-291-3/+0
| | | | | | | 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: reduce git clone depth to 1Kacper Michajłow2023-07-251-1/+1
|
* ci/mingw: use ccacheKacper Michajłow2023-07-251-6/+9
| | | | | | | | | | | | | | | 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: check if binary is runnable before packagingKacper Michajłow2023-07-251-0/+1
|
* ci/mingw: update luajit to fix i686 crashesKacper Michajłow2023-07-241-5/+5
| | | | | | 2.1.0-beta3 is ancient. Disable unwinding in luajit, as it requires SEH to be enabled in the image, but it is not on i686 target and it crashes when luajit tries to use SEH.
* waf: remove waf as a build systemLaserEyess2023-07-235-159/+57
| | | | | | 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-022-3/+3
| | | | | | | Run not only scripts inside build system, but also meson itself with Python 3.11. Fixes: eb4da3400a1c37eea7b258b00297e8b8fcdd8db4
* ci/msys2: switch to Python 3.11 to fix crashes during buildKacper Michajłow2023-06-262-0/+3
| | | | | | | | | 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: use a different mirror for freetypesfan52023-06-131-1/+1
| | | | GNU decided to break theirs
* ci/mingw: add dlltool to the meson crossfileKacper Michajłow2023-06-081-0/+1
|
* ci/mingw: update dependencies versionsKacper Michajłow2023-06-081-4/+4
|
* ci/msys2: enable egl-angle-libKacper Michajłow2023-06-081-0/+2
| | | | | Now that it has been fixed upstream we can enable and test if it links correctly.
* ci: use auto detection for lua library version for MSYSKacper Michajłow2023-04-291-2/+2
|
* ci: add a workflow that lints commit messagessfan52023-04-081-0/+112
|
* ci/mingw: require libplacebo-nextKacper Michajłow2023-03-281-2/+2
| | | | libplacebo is build by us, so we can explicitly enable it.
* ci: separate meson tests and reorganize build stepsDudemanguy2023-03-025-11/+4
| | | | | | | | | | | | | 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: use the same arguments when running the built mpv binaryDudemanguy2023-03-022-4/+4
| | | | | A couple of places didn't have -v --no-config so just use them everywhere.
* player: remove unittest optionDudemanguy2023-03-022-4/+4
| | | | | | | | | Since meson has its own unit testing system, let's rework mpv's tests so they integrate nicely with this. To prepare for this, start off by dropping the unittest option. Of course, this means that tests will no longer be supported in the waf build at all but it will be dropped anyway. Note that the tests option is preserved for the meson build. We will still make use of this in the future commits.
* ci: pack mingw64 meson build instead of wafKacper Michajłow2023-01-311-1/+1
|
* ci: separate meson/waf build dirsKacper Michajłow2023-01-315-10/+15
|
* ci: use meson compile instead of ninja directlyKacper Michajłow2023-01-311-1/+1
|
* ci: do not print compile commandsKacper Michajłow2023-01-313-6/+6
| | | | It only shadows warnings/errors and makes log files bloated.
* ci: migrate MSYS2 build to GitHub ActionsKacper Michajłow2023-01-281-0/+56
|
* ci: run meson testsThomas Weißschuh2023-01-194-0/+4
|
* ci: upload resulting binary of mingw64 buildsfan52022-11-011-0/+15
|
* ci/mingw64: refresh build scriptssfan52022-11-011-34/+43
| | | | | | | - newer library versions - use libplacebo submodules - prefer meson where possible - fix minor details
* ci: use meson setup build instead of meson buildDudemanguy2022-10-294-4/+4
| | | | | | | | | | | | The old "meson build" build command was actually deprecated a few months ago*. It turns out that you're supposed to use "meson setup build" instead which has been around for years. Go ahead and be a good citizen and update this in the CI. Also replace any mention of "meson build" with "meson setup build" in the documentation as well and change the one random hardcoded string we have in meson.build to "meson configure build" (might as well). *: https://github.com/mesonbuild/meson/commit/3c7ab542c0c4770241eae149b0d4cd8de329aee0
* ci/build-freebsd.sh: remove nonexistent optionDudemanguy2022-10-271-2/+0
| | | | Mistakenly added in aeb4792cb6804a78974faa329a9c9f8a7bb5fa7b.
* ci: require pipewire to be enabled for Tumbleweed Linux buildsJan Ekström2022-10-261-0/+2
|
* vo_vaapi_wayland: remove, as it is superceded by vo_dmabuf_waylandAaron Boxer2022-10-261-2/+2
|
* ao_pipewire: test on FreeBSDThomas Weißschuh2022-08-181-0/+2
|
* ci/build-mingw64: enable test buildingJan Ekström2022-06-151-2/+3
| | | | Not currently run, but adds coverage for compiled code.
* ci/build-mingw64: bump dependenciesJan Ekström2022-06-151-6/+6
|
* ci/build-mingw64: switch to fossils directory for zlibJan Ekström2022-06-151-1/+1
| | | | | This contains current as well as previous versions, while the root directory only contains the latest version.
* ci/build-tumbleweed: attempt to enable unit tests in CIJan Ekström2022-06-151-2/+4
|
* ci/mingw64: add git libplacebo for gpu-nextJan Ekström2022-06-071-2/+13
| | | | | | | This way mingw-w64 becomes the first CI workflow to build gpu-next. Unfortunately, currently neither wscript or meson has gpu-next or libplacebo-next as an option that one can require.
* ci/mingw64: make meson crossfile globalJan Ekström2022-06-071-17/+17
| | | | This enables it to be utilized for dependencies such as libplacebo.
* ci/build-freebsd: enable sndio ao during buildDudemanguy2022-01-221-0/+2
| | | | We have this ao again since #9298 so let's run it through the CI.
* ci: add meson buildsDudemanguy2021-11-144-26/+108
| | | | | | | | Update the github workflows to also do meson builds for every OS. Additionally, make every workflow execute the built mpv executable (except for windows and FreeBSD's waf executable) to make sure that it runs. As an aside, FreeBSD unfortunately is a bit less elegant since it is in a VM.
* ci/build-freebsd: require OSSv4 AO to be enabledJan Ekström2021-11-101-0/+1
|
* ci: update libs used by mingw buildsfan52021-10-071-3/+3
|
* build: fix macOS arm buildsder richter2020-11-221-1/+2
| | | | | | | | | | | remove the hardcoded swift target version and move the version restriction to configure. this was a bad idea anyway and could lead to mismatched object files between obj-c and swift. fix travis 10.12 legacy build. also update the SDK version parser to handle the new macOS 11 scheme. Fixes #8281
* ci: fix mingw build by adding harfbuzzsfan52020-11-151-0/+11
|
* ci: fix spirv-cross build in mingw scriptssfan52020-09-251-3/+8
|
* ci: add d3d11 to mingw buildsfan52020-07-011-13/+34
|
* ci: replace mingw build scriptssfan52020-06-221-22/+115
|
* CI: add FreeBSD jobJan Beich2020-05-251-0/+26
|
* ci: remove missed remnants of libass from the macOS script as wellJan Ekström2020-03-221-1/+1
|
* ci: remove libass enablementJan Ekström2020-03-221-1/+0
| | | | This is no longer a configurable option.
* ci: remove libsmblientwm42020-03-071-1/+0
| | | | This was forgotten.
* travis: update macOS images and make building fasterder richter2020-01-091-38/+0
| | | | | | | | | | | | don't build our own ffmpeg anymore and instead use the bottled version from homebrew. update the newest macOS image. also handle macOS 10.12 as a legacy OS since homebrew and Apple stopped supporting it. nevertheless it's helpful to build on that version since it's the last version we support building on. it's a bit special since we have to pin the homebrew-core version to a previous one where all the bottles for macOS 10.12 are still available, otherwise it would build nearly everything from source and that would take ages. also start caching the homebrew cache folder for downloads.
* mac: remove Apple Remote supportder richter2019-12-151-1/+1
| | | | | | the Apple Remote has long been deprecated and abandoned by Apple. current macs don't come with support for it anymore. support might be re-added with the next commit.
* ci: remove --enable-zsh-compPhilip Sequeira2019-09-271-2/+1
| | | | | This option no longer exists, as zsh completion is installed unconditionally now.
* ci: remove now unuspported libdvdreadwm42019-09-132-2/+0
|
* travis: rework scripts to re-enable macOSJan Ekström2019-09-022-0/+64
| | | | | | | | | | | | | * Adds a script to clone and build FFmpeg as well as to configure and build mpv itself. Currently only used for macOS and contain hard-coded macOS specific options. * Still works with the Linux containers. * Moves our language back to "c" from "generic" * Defines our Linux distribution as "bionic" to get the latest Ubuntu base distribution to be the runner for our containers. * Adds the homebrew add-on for macOS package installation for dependencies. Installs everything required but FFmpeg, as we want to have our own FFmpeg snapshots.
* ci: explicitly call waf with python3Martin Herkt2018-09-112-4/+4
| | | | | | Python 2 may not be present in the CI images in the future, but waf’s shebang line still uses its executable name. Explicitly call the right major version of the interpreter.
* ci: do bootstrap outside the docker containerJan Ekström2018-07-292-2/+0
| | | | | | | This way the docker container in itself does no networking. It seems like travis disabled network access from the actual docker containers.
* ci: add mingw64 targetsMartin Herkt2018-07-051-0/+35
|
* ci: enable libsmbclientMartin Herkt2018-07-051-5/+6
|
* ci: Use custom container for Travis buildsMartin Herkt2018-06-251-0/+16
Temporary solution. For now, this builds using a container image based on openSUSE Tumbleweed with the current FFmpeg release. More containers will be added (at least with git snapshots of FFmpeg and libass), and Travis will eventually be replaced with something we have more control over.