From ef7768d9c941153001446388d0d64834aaec6ec8 Mon Sep 17 00:00:00 2001 From: phoenix Date: Sat, 12 Apr 2025 13:25:33 -0400 Subject: [PATCH] Added dependency install workflow step --- .gitea/workflows/workflow.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.gitea/workflows/workflow.yml b/.gitea/workflows/workflow.yml index 21ec691..79b5074 100644 --- a/.gitea/workflows/workflow.yml +++ b/.gitea/workflows/workflow.yml @@ -11,6 +11,24 @@ on: - devel jobs: + install_dependencies: + # runs-on: ubuntu-latest # Or similar Debian/Ubuntu based runner + runs-on: ubuntu-24.04 + container: rust:1.86.0 # Example using the official Rust image (Debian based) + steps: + - uses: actions/checkout@v3 # Or the Gitea equivalent checkout action + + - name: Install FFmpeg development libraries + run: | + apt-get update -y + apt-get install -y --no-install-recommends \ + libavutil-dev \ + libavformat-dev \ + libavcodec-dev \ + libswscale-dev \ + # Add other ffmpeg dev packages if needed by your specific crate + rm -rf /var/lib/apt/lists/* # Clean up + check: name: Check runs-on: ubuntu-24.04