mirror of
https://github.com/mpv-player/mpv
synced 2024-12-24 15:52:25 +00:00
ci/mingw: run meson tests
This commit is contained in:
parent
bb078b8303
commit
bec3f606cf
13
.github/workflows/build.yml
vendored
13
.github/workflows/build.yml
vendored
@ -73,15 +73,24 @@ jobs:
|
||||
- name: Print meson log
|
||||
if: ${{ failure() && steps.build.outcome == 'failure' }}
|
||||
run: |
|
||||
cat ./build/meson-logs/meson-log.txt
|
||||
cat ./mingw_build/meson-logs/meson-log.txt
|
||||
|
||||
- name: Functional test
|
||||
id: tests
|
||||
run: |
|
||||
cd artifact && wine ./mpv.com -v --no-config
|
||||
env:
|
||||
WINEDEBUG: '+loaddll'
|
||||
|
||||
- name: Run meson tests
|
||||
id: tests
|
||||
run: |
|
||||
meson test -C mingw_build
|
||||
|
||||
- name: Print meson test log
|
||||
if: ${{ failure() && steps.tests.outcome == 'failure' }}
|
||||
run: |
|
||||
cat ./mingw_build/meson-logs/testlog.txt
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: mpv-${{ matrix.target }}
|
||||
|
@ -296,7 +296,7 @@ meson setup $build --cross-file "$prefix_dir/crossfile" \
|
||||
--werror \
|
||||
-Dc_args="-Wno-error=deprecated -Wno-error=deprecated-declarations" \
|
||||
--buildtype debugoptimized \
|
||||
-Dlibmpv=true -Dlua=luajit \
|
||||
-D{libmpv,tests}=true -Dlua=luajit \
|
||||
-D{shaderc,spirv-cross,d3d11}=enabled
|
||||
|
||||
meson compile -C $build
|
||||
|
Loading…
Reference in New Issue
Block a user