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 14
14
- uses : actions/setup-python@v1
15
15
with :
16
16
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)
18
23
if : matrix.os == 'windows-latest'
19
24
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
20
25
- name : Build codecs
Original file line number Diff line number Diff line change @@ -33,10 +33,10 @@ extract() {
33
33
34
34
if [ " ` uname` " = " Linux" ]; then
35
35
outputdir=/output
36
- outputfile=$outputdir /codecs-manylinux_$( uname -m) .tar.bz2
36
+ outputfile=$outputdir /codecs-manylinux_$( uname -m) .tar.gz
37
37
elif [ " ` uname` " = " Darwin" ]; then
38
38
outputdir=` pwd` /output
39
- outputfile=$outputdir /codecs-macosx_$( uname -m) .tar.bz2
39
+ outputfile=$outputdir /codecs-macosx_$( uname -m) .tar.gz
40
40
else
41
41
echo " Unknown platform"
42
42
exit 1
@@ -49,7 +49,7 @@ if [ ! -e $outputfile ]; then
49
49
cd $builddir
50
50
51
51
# 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
53
53
cd vpx
54
54
./configure --prefix=$destdir --disable-examples --disable-tools --disable-unit-tests --enable-pic
55
55
make -j
@@ -64,5 +64,5 @@ if [ ! -e $outputfile ]; then
64
64
make install
65
65
cd ..
66
66
67
- tar cjvf $outputfile -C $destdir include lib
67
+ tar czvf $outputfile -C $destdir include lib
68
68
fi
Original file line number Diff line number Diff line change 1
1
set destdir = %1
2
2
3
- set outputfile = output\codecs-win%PYTHON_ARCH% .tar.bz2
3
+ set outputfile = output\codecs-win%PYTHON_ARCH% .tar.gz
4
4
if " %PYTHON_ARCH% " == " 64" (
5
5
set triplet = x64-windows-static
6
6
) else (
@@ -21,4 +21,4 @@ xcopy C:\vcpkg\installed\%triplet%\lib %destdir%\lib\ /E
21
21
if not exist output (
22
22
mkdir output
23
23
)
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