mirror of
https://github.com/mpv-player/mpv
synced 2025-03-11 08:37:59 +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
|
||||
run: |
|
||||
sudo dpkg --add-architecture i386
|
||||
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
|
||||
|
||||
- name: Build libraries
|
||||
|
@ -216,6 +216,7 @@ if [ "$2" = pack ]; then
|
||||
done
|
||||
echo "Archiving:"
|
||||
pushd artifact
|
||||
wine64 ./mpv.com -v --no-config
|
||||
zip -9r "../mpv-git-$(date +%F)-$(git rev-parse --short HEAD)-${TARGET%%-*}.zip" -- *
|
||||
popd
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user