diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index 59766f69..5ed1f294 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -14,7 +14,7 @@ jobs: run: git submodule update --init - name: apt-get安装依赖库(非必选) - run: sudo apt-get update && sudo apt-get install -y cmake libssl-dev libmp4v2-dev libsdl-dev libavcodec-dev libavutil-dev + run: sudo apt-get update && sudo apt-get install -y cmake libssl-dev libsdl-dev libavcodec-dev libavutil-dev - name: 编译 run: mkdir -p linux_build && cd linux_build && cmake .. && make -j4 diff --git a/build_for_linux.sh b/build_for_linux.sh index dd1f879e..afd674e1 100755 --- a/build_for_linux.sh +++ b/build_for_linux.sh @@ -6,10 +6,7 @@ git submodule init git submodule update sudo apt-get install cmake -sudo apt-get install libmysqlclient-dev sudo apt-get install libssl-dev -sudo apt-get install libx264-dev -sudo apt-get install libfaac-dev #sudo apt-get install libsdl-dev #sudo apt-get install libavcodec-dev #sudo apt-get install libavutil-dev diff --git a/build_for_mac.sh b/build_for_mac.sh index 560f3602..fb812db6 100755 --- a/build_for_mac.sh +++ b/build_for_mac.sh @@ -6,10 +6,7 @@ git submodule init git submodule update brew install cmake -brew install mysql brew install openssl -brew install x264 -brew install faac brew install sdl brew install ffmpeg