mirror of
https://github.com/mpv-player/mpv
synced 2025-04-01 14:50:07 +00:00
ci/mingw: check if binary is runnable before packaging
This commit is contained in:
parent
4ac5e6c810
commit
d521ba38d1
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
@ -20,8 +20,9 @@ jobs:
|
|||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
|
sudo dpkg --add-architecture i386
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y autoconf automake pkg-config g++-mingw-w64 gcc-multilib python3-pip ninja-build nasm
|
sudo apt-get install -y autoconf automake pkg-config g++-mingw-w64 gcc-multilib python3-pip ninja-build nasm wine wine32 wine64
|
||||||
sudo python3 -m pip install meson
|
sudo python3 -m pip install meson
|
||||||
|
|
||||||
- name: Build libraries
|
- name: Build libraries
|
||||||
|
@ -216,6 +216,7 @@ if [ "$2" = pack ]; then
|
|||||||
done
|
done
|
||||||
echo "Archiving:"
|
echo "Archiving:"
|
||||||
pushd artifact
|
pushd artifact
|
||||||
|
wine64 ./mpv.com -v --no-config
|
||||||
zip -9r "../mpv-git-$(date +%F)-$(git rev-parse --short HEAD)-${TARGET%%-*}.zip" -- *
|
zip -9r "../mpv-git-$(date +%F)-$(git rev-parse --short HEAD)-${TARGET%%-*}.zip" -- *
|
||||||
popd
|
popd
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user