summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorKacper Michajłow <kasper93@gmail.com>2023-01-10 05:54:25 +0100
committerDudemanguy <random342@airmail.cc>2023-01-28 01:03:12 +0000
commitbc1af592db53f8b80256a75ebce4cc1da8c1d601 (patch)
tree0ea17905388ee9af5e01394cbcb858d988736090 /.github
parentc3149d9fc27cb4f3d7ad619796065b8e8aaee876 (diff)
downloadmpv-bc1af592db53f8b80256a75ebce4cc1da8c1d601.tar.bz2
mpv-bc1af592db53f8b80256a75ebce4cc1da8c1d601.tar.xz
ci: migrate MSYS2 build to GitHub Actions
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml64
1 files changed, 64 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 2ce7db0334..3aa61bd753 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -205,3 +205,67 @@ jobs:
if: ${{ failure() }}
run: |
cat ./build/config.log
+
+ msys2:
+ runs-on: windows-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ sys:
+ - clang32
+ - clang64
+ - mingw32
+ - mingw64
+ - ucrt64
+ defaults:
+ run:
+ shell: msys2 {0}
+ steps:
+ - uses: actions/checkout@v3
+ - uses: msys2/setup-msys2@v2
+ with:
+ msystem: ${{ matrix.sys }}
+ update: true
+ install: git
+ pacboy: >-
+ angleproject:p
+ cc:p
+ diffutils:p
+ ffmpeg:p
+ lcms2:p
+ libarchive:p
+ libass:p
+ libcdio-paranoia:p
+ libdvdnav:p
+ libjpeg-turbo:p
+ libplacebo:p
+ luajit:p
+ meson:p
+ ninja:p
+ pkgconf:p
+ python:p
+ rst2pdf:p
+ rubberband:p
+ shaderc:p
+ spirv-cross:p
+ uchardet:p
+ vapoursynth:p
+ vulkan:p
+
+ - name: Build with meson
+ run: |
+ ./ci/build-msys2.sh meson
+
+ - name: Print meson log
+ if: ${{ failure() }}
+ run: |
+ cat ./build_meson/meson-logs/meson-log.txt
+
+ - name: Build with waf
+ run: |
+ ./ci/build-msys2.sh waf
+
+ - name: Print waf log
+ if: ${{ failure() }}
+ run: |
+ cat ./build/config.log