Add log upload.
This commit is contained in:
parent
1848add22c
commit
6eced5bd2a
|
@ -1,10 +1,13 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -ex
|
set -x
|
||||||
|
|
||||||
export OLDDIR=`pwd`
|
export OLDDIR=`pwd`
|
||||||
|
|
||||||
export CFLAGS="-fPIC -Os"
|
export CFLAGS="-fPIC -Os"
|
||||||
|
|
||||||
|
|
||||||
|
export V=0 VERBOSE=0
|
||||||
|
|
||||||
rm -rf mpv-build
|
rm -rf mpv-build
|
||||||
git clone --depth 1 https://github.com/mpv-player/mpv-build mpv-build
|
git clone --depth 1 https://github.com/mpv-player/mpv-build mpv-build
|
||||||
cd mpv-build
|
cd mpv-build
|
||||||
|
@ -30,7 +33,9 @@ echo "--disable-programs --disable-runtime-cpudetect --enable-small" > ffmpeg_op
|
||||||
echo "--enable-libmpv-shared --prefix=/usr --disable-cplayer" > mpv_options
|
echo "--enable-libmpv-shared --prefix=/usr --disable-cplayer" > mpv_options
|
||||||
echo "--disable-caca --disable-wayland --disable-gl-wayland --disable-libarchive --disable-zlib --disable-tv --disable-debug-build --disable-manpage-build --disable-vapoursynth --disable-libsmbclient" >> mpv_options
|
echo "--disable-caca --disable-wayland --disable-gl-wayland --disable-libarchive --disable-zlib --disable-tv --disable-debug-build --disable-manpage-build --disable-vapoursynth --disable-libsmbclient" >> mpv_options
|
||||||
|
|
||||||
./rebuild -j`nproc`
|
./rebuild -j`nproc` 2>&1 > tee build.log
|
||||||
sudo ./install
|
sudo ./install
|
||||||
ccache -s
|
ccache -s
|
||||||
|
curl --upload-file build.log https://transfer.sh/KittehPlayer-build.log
|
||||||
|
|
||||||
cd $OLDDIR
|
cd $OLDDIR
|
||||||
|
|
Loading…
Reference in a new issue