This repository was archived by the owner on May 11, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +12
-7
lines changed Expand file tree Collapse file tree 3 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 1414 - uses : actions/setup-python@v1
1515 with :
1616 python-version : 3.8
17- - name : Install yasm
17+ - name : Install yasm (macos)
18+ if : matrix.os == 'macos-latest'
19+ run : |
20+ brew update
21+ brew install yasm
22+ - name : Install yasm (windows)
1823 if : matrix.os == 'windows-latest'
1924 run : curl -L -o 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\yasm.exe' http://www.tortall.net/projects/yasm/releases/yasm-1.3.0-win64.exe
2025 - name : Build codecs
Original file line number Diff line number Diff line change @@ -33,10 +33,10 @@ extract() {
3333
3434if [ " ` uname` " = " Linux" ]; then
3535 outputdir=/output
36- outputfile=$outputdir /codecs-manylinux_$( uname -m) .tar.bz2
36+ outputfile=$outputdir /codecs-manylinux_$( uname -m) .tar.gz
3737elif [ " ` uname` " = " Darwin" ]; then
3838 outputdir=` pwd` /output
39- outputfile=$outputdir /codecs-macosx_$( uname -m) .tar.bz2
39+ outputfile=$outputdir /codecs-macosx_$( uname -m) .tar.gz
4040else
4141 echo " Unknown platform"
4242 exit 1
@@ -49,7 +49,7 @@ if [ ! -e $outputfile ]; then
4949 cd $builddir
5050
5151 # build vpx
52- extract vpx https://github.com/webmproject/libvpx/archive/v1.8.2 .tar.gz
52+ extract vpx https://github.com/webmproject/libvpx/archive/v1.9.0 .tar.gz
5353 cd vpx
5454 ./configure --prefix=$destdir --disable-examples --disable-tools --disable-unit-tests --enable-pic
5555 make -j
@@ -64,5 +64,5 @@ if [ ! -e $outputfile ]; then
6464 make install
6565 cd ..
6666
67- tar cjvf $outputfile -C $destdir include lib
67+ tar czvf $outputfile -C $destdir include lib
6868fi
Original file line number Diff line number Diff line change 11set destdir = %1
22
3- set outputfile = output\codecs-win%PYTHON_ARCH% .tar.bz2
3+ set outputfile = output\codecs-win%PYTHON_ARCH% .tar.gz
44if " %PYTHON_ARCH% " == " 64" (
55 set triplet = x64-windows-static
66) else (
@@ -21,4 +21,4 @@ xcopy C:\vcpkg\installed\%triplet%\lib %destdir%\lib\ /E
2121if not exist output (
2222 mkdir output
2323)
24- tar cjvf %outputfile% -C %destdir% include lib
24+ tar czvf %outputfile% -C %destdir% include lib
You can’t perform that action at this time.
0 commit comments