From 26a8feb7e043cc57affb46024e37228cbba84fae Mon Sep 17 00:00:00 2001 From: Chandragupt Singh Date: Sun, 25 Oct 2026 06:00:50 +0530 Subject: [PATCH] [FIX] ci: pin Linux build and format runners to ubuntu-24.04 --- .github/workflows/build_linux.yml | 14 +++++++------- .github/workflows/format.yml | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build_linux.yml b/.github/workflows/build_linux.yml index b81978bea..c0bfeb9dd 100644 --- a/.github/workflows/build_linux.yml +++ b/.github/workflows/build_linux.yml @@ -27,7 +27,7 @@ on: - 'src/rust/**' jobs: build_shell: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Install dependencies run: sudo apt update && sudo apt-get install libgpac-dev libtesseract-dev libavcodec-dev libavdevice-dev libx11-dev libxcb1-dev libxcb-shm0-dev @@ -50,7 +50,7 @@ jobs: name: CCExtractor Linux build path: ./linux/artifacts build_shell_migrations: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Install dependencies run: sudo apt update && sudo apt-get install libgpac-dev libtesseract-dev libavcodec-dev libavdevice-dev libx11-dev libxcb1-dev libxcb-shm0-dev @@ -73,7 +73,7 @@ jobs: name: CCExtractor Linux build (with migrations) path: ./linux/artifacts build_autoconf: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Install dependencies run: sudo apt update && sudo apt-get install libgpac-dev libavcodec-dev libavformat-dev libavutil-dev libswresample-dev libswscale-dev @@ -91,7 +91,7 @@ jobs: run: ./ccextractor --version working-directory: ./linux cmake: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Install dependencies run: sudo apt update && sudo apt-get install libgpac-dev libavcodec-dev libavformat-dev libavutil-dev libswresample-dev libswscale-dev @@ -104,7 +104,7 @@ jobs: - name: Display version information run: ./build/ccextractor --version cmake_ffmpeg_mp4: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Install dependencies run: sudo apt update && sudo apt-get install libgpac-dev libtesseract-dev libleptonica-dev libavcodec-dev libavformat-dev libavutil-dev libavfilter-dev libavdevice-dev libswresample-dev libswscale-dev @@ -124,7 +124,7 @@ jobs: - name: Display version information (FFmpeg MP4 build) run: ./build_ffmpeg/ccextractor --version cmake_ocr_hardsubx: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v7 - name: Install dependencies @@ -140,7 +140,7 @@ jobs: - name: Display version information run: ./build/ccextractor --version build_rust: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Install dependencies run: sudo apt update && sudo apt-get install libgpac-dev libavcodec-dev libavformat-dev libavutil-dev libswresample-dev libswscale-dev diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 17b6d8678..317eeb13d 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -19,7 +19,7 @@ on: - 'src/rust/**' jobs: format: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v7 - name: Format code @@ -27,7 +27,7 @@ jobs: find src/ -type f -not -path "src/thirdparty/*" -not -path "src/lib_ccx/zvbi/*" -name '*.c' -not -path "src/GUI/icon_data.c" | xargs clang-format -i git diff-index --quiet HEAD -- || (git diff && exit 1) format_rust: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 strategy: matrix: workdir: ['./src/rust', './src/rust/lib_ccxr']