Skip to content

Commit b0529d8

Browse files
committed
Update CI workflows and Windows configuration
- Update macOS workflow to properly detect FFmpeg from Homebrew - Update Windows vcpkg baseline for FFmpeg 7.1.1 compatibility - Remove unnecessary CI-specific rsmpeg configuration - Workflows now use platform defaults automatically
1 parent 828a9cf commit b0529d8

File tree

3 files changed

+18
-2
lines changed

3 files changed

+18
-2
lines changed

.github/workflows/build_mac.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,22 @@ jobs:
7474
working-directory: build
7575
- name: Display version information
7676
run: ./build/ccextractor --version
77+
cmake_ocr_hardsubx:
78+
runs-on: macos-latest
79+
steps:
80+
- uses: actions/checkout@v4
81+
- name: Install dependencies
82+
run: brew install pkg-config autoconf automake libtool tesseract leptonica gpac ffmpeg
83+
- name: cmake
84+
run: |
85+
mkdir build && cd build
86+
cmake -DWITH_OCR=ON -DWITH_HARDSUBX=ON ../src
87+
- name: build
88+
run: |
89+
make -j$(nproc)
90+
working-directory: build
91+
- name: Display version information
92+
run: ./build/ccextractor --version
7793
build_rust:
7894
runs-on: macos-latest
7995
steps:

.github/workflows/build_windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ env:
44
RUSTFLAGS: -Ctarget-feature=+crt-static
55
VCPKG_DEFAULT_TRIPLET: x64-windows-static
66
VCPKG_DEFAULT_BINARY_CACHE: C:\vcpkg\.cache
7-
VCPKG_COMMIT: fba75d09065fcc76a25dcf386b1d00d33f5175af
7+
VCPKG_COMMIT: 120deac3062162151622ca4860575a33844ba10b
88

99
on:
1010
workflow_dispatch:

windows/vcpkg.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
"tesseract",
77
"ffmpeg"
88
],
9-
"builtin-baseline": "fba75d09065fcc76a25dcf386b1d00d33f5175af"
9+
"builtin-baseline": "120deac3062162151622ca4860575a33844ba10b"
1010
}

0 commit comments

Comments
 (0)