From 72cef062cf9fee5b44fdf162c8b8fe7c27e25207 Mon Sep 17 00:00:00 2001 From: Yijun Zhao Date: Thu, 16 Oct 2025 00:15:16 +0800 Subject: [PATCH] install necessary lib before make lint --- .github/workflows/ci.yml | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5f98f5b..a1363f4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,16 @@ jobs: - name: Install FFmpeg dependencies run: | sudo apt-get update - sudo apt-get install -y ffmpeg libavutil-dev + sudo apt-get install -y \ + pkg-config \ + ffmpeg \ + libavutil-dev \ + libavcodec-dev \ + libavformat-dev \ + libavfilter-dev \ + libavdevice-dev \ + libswresample-dev \ + libswscale-dev - run: make lint @@ -44,10 +53,19 @@ jobs: - name: Setup toolchain uses: actions-rust-lang/setup-rust-toolchain@v1 - - name: Install FFmpeg dependencies + - name: Install FFmpeg development packages run: | sudo apt-get update - sudo apt-get install -y ffmpeg + sudo apt-get install -y \ + pkg-config \ + ffmpeg \ + libavutil-dev \ + libavcodec-dev \ + libavformat-dev \ + libavfilter-dev \ + libavdevice-dev \ + libswresample-dev \ + libswscale-dev - name: Build run: make build