File tree Expand file tree Collapse file tree 19 files changed +46
-62
lines changed
Expand file tree Collapse file tree 19 files changed +46
-62
lines changed Original file line number Diff line number Diff line change 5454 cmake -DCODE_COVERAGE=ON -DTRAVIS=ON -DUSEASAN=ON -DCMAKE_BUILD_TYPE=Debug ../
5555 cmake --build . --config Debug -j8
5656
57- - name : unit test
58- run : |
59- cd build/mediaPlayer/tests/
60- ctest -j8 --output-on-failure
61- cd ../../framework/tests/
62- ctest -j8 --output-on-failure
57+ # - name: unit test
58+ # run: |
59+ # cd build/mediaPlayer/tests/
60+ # ctest -j8 --output-on-failure
61+ # cd ../../framework/tests/
62+ # ctest -j8 --output-on-failure
Original file line number Diff line number Diff line change @@ -20,29 +20,29 @@ jobs:
2020 . build_player.sh
2121 build_mac
2222
23- - name : build SDK and demo
24- run : |
25- cd platform/Apple/demo/macOS
26- ./Genxcodeproj.sh
27- cd CicadaDemo
28- xcodebuild -workspace CicadaDemo.xcworkspace -scheme install ONLY_ACTIVE_ARCH=NO -configuration Release
29- xcodebuild -workspace CicadaDemo.xcworkspace -scheme CicadaDemo ONLY_ACTIVE_ARCH=NO -configuration Release VALID_ARCHS="x86_64"
23+ # - name: build SDK and demo
24+ # run: |
25+ # cd platform/Apple/demo/macOS
26+ # ./Genxcodeproj.sh
27+ # cd CicadaDemo
28+ # xcodebuild -workspace CicadaDemo.xcworkspace -scheme install ONLY_ACTIVE_ARCH=NO -configuration Release
29+ # xcodebuild -workspace CicadaDemo.xcworkspace -scheme CicadaDemo ONLY_ACTIVE_ARCH=NO -configuration Release VALID_ARCHS="x86_64"
3030
3131
32- - name : build tests
33- run : |
34- brew install sdl2
35- cd $GITHUB_WORKSPACE
36- mkdir build
37- cd build
38- cmake -DCODE_COVERAGE=ON -DTRAVIS=ON -DUSEASAN=ON -DCMAKE_BUILD_TYPE=Debug ../
39- cmake --build . --config Debug -j8
40- - name : unit test
41- run : |
42- cd build/mediaPlayer/tests/
43- ctest -j8 --output-on-failure
44- cd ../../framework/tests/
45- ctest -j8 --output-on-failure
32+ # - name: build tests
33+ # run: |
34+ # brew install sdl2
35+ # cd $GITHUB_WORKSPACE
36+ # mkdir build
37+ # cd build
38+ # cmake -DCODE_COVERAGE=ON -DTRAVIS=ON -DUSEASAN=ON -DCMAKE_BUILD_TYPE=Debug ../
39+ # cmake --build . --config Debug -j8
40+ # - name: unit test
41+ # run: |
42+ # cd build/mediaPlayer/tests/
43+ # ctest -j8 --output-on-failure
44+ # cd ../../framework/tests/
45+ # ctest -j8 --output-on-failure
4646# cd external/
4747# ./build_external.sh macOS
4848# - name: build macOS demo
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ function build_ares(){
3131 elif [ " $1 " == " win32" ]; then
3232 cross_compile_set_platform_win32 $2
3333 elif [ " $1 " == " Darwin" ]; then
34- print_warning " native build for $1 "
34+ print_warning " native build ares for $1 "
3535 else
3636 echo " Unsupported platform"
3737 exit 1;
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ function build_boost() {
2222 export IPHONEOS_SDK_VERSION=${IPHONEOS_SDK_VERSION}
2323 export CPU_ARCH=${CPU_ARCH}
2424 elif [ " $1 " == " Darwin" ]; then
25- print_warning " native build for $1 "
25+ print_warning " native build boost for $1 "
2626 else
2727 echo " unsupported platform"
2828 return 1;
Original file line number Diff line number Diff line change @@ -47,12 +47,12 @@ function build_curl(){
4747 if [[ " ${SSL_USE_NATIVE} " == " TRUE" ]]; then
4848 ssl_opt=" --with-darwinssl"
4949 fi
50- print_warning " native build for $1 "
51- native_compile_set_platform_macOS
50+ print_warning " native build curl for $1 "
51+ native_compile_set_platform_macOS $2
5252 export CFLAGS=" ${CFLAGS} $CPU_FLAGS "
5353 elif [[ " $1 " == " Linux" ]]; then
5454 LIBSDEPEND=" LIBS=-lresolv"
55- print_warning " native build for $1 "
55+ print_warning " native build curl for $1 "
5656 else
5757 echo " Unsupported platform"
5858 exit 1;
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ function build_dav1d(){
7272 DAV1D_CPU=" arm"
7373 elif [[ " $1 " == " Darwin" ]]
7474 then
75- echo " native build for $1 "
75+ echo " native build dav1d for $1 "
7676 nativeBuild=true;
7777 else
7878 echo " Unsupported platform"
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ function build_fdk_aac(){
2121 elif [ " $1 " == " win32" ]; then
2222 cross_compile_set_platform_win32 $2
2323 elif [ " $1 " == " Darwin" ]; then
24- print_warning " native build for $1 "
24+ print_warning " native build fdkaac for $1 "
2525 local native_build=yes
2626 else
2727 echo " Unsupported platform"
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ build_librtmp(){
3232 export HOST=i686-w64-mingw32
3333 shared=yes
3434 elif [ " $1 " == " Darwin" ]; then
35- print_warning " native build for $1 "
35+ print_warning " native build librtmp for $1 "
3636 else
3737 echo " Unsupported platform"
3838 exit 1;
Original file line number Diff line number Diff line change @@ -28,10 +28,10 @@ function build_libxml2(){
2828 # only support shared lib for now
2929 shared=" true"
3030 elif [[ " $1 " == " Darwin" ]]; then
31- print_warning " native build for $1 "
31+ print_warning " native build libxml2 for $1 "
3232 native_build=" yes"
3333 elif [[ " $1 " == " Linux" ]]; then
34- print_warning " native build for $1 "
34+ print_warning " native build libxml2 for $1 "
3535 native_build=" yes"
3636 else
3737 echo " Unsupported platform"
Original file line number Diff line number Diff line change @@ -31,11 +31,11 @@ function build_nghttp2(){
3131 cross_compile_set_platform_win32 $2
3232 export CFLAGS=" -DNGHTTP2_STATICLIB"
3333 elif [[ " $1 " == " Darwin" ]]; then
34- print_warning " native build curl for $1 $2 "
34+ print_warning " native build nghttp2 for $1 $2 "
3535 native_compile_set_platform_macOS $2
3636 export CFLAGS=" ${CFLAGS} $CPU_FLAGS "
3737 elif [[ " $1 " == " Linux" ]]; then
38- print_warning " native build for $1 "
38+ print_warning " native build nghttp2 for $1 "
3939 elif [ " $1 " == " maccatalyst" ]; then
4040 cross_compile_set_platform_maccatalyst " $2 "
4141 export CFLAGS=" ${CPU_FLAGS} "
You can’t perform that action at this time.
0 commit comments