mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-11-17 09:41:46 +00:00
fix: formatting ci
This commit is contained in:
2
.github/workflows/build_linux.yml
vendored
2
.github/workflows/build_linux.yml
vendored
@@ -78,8 +78,6 @@ jobs:
|
||||
- name: cmake
|
||||
run: |
|
||||
mkdir build && cd build
|
||||
FFMPEG_INCLUDE_DIR=/usr/include/x86_64-linux-gnu \
|
||||
FFMPEG_PKG_CONFIG_PATH=/usr/x86_64-linux-gnu/lib/pkgconfig \
|
||||
cmake -DWITH_OCR=ON -DWITH_HARDSUBX=ON ../src
|
||||
- name: build
|
||||
run: |
|
||||
|
||||
7
.github/workflows/format.yml
vendored
7
.github/workflows/format.yml
vendored
@@ -46,8 +46,11 @@ jobs:
|
||||
override: true
|
||||
components: rustfmt, clippy
|
||||
- name: dependencies
|
||||
run: sudo apt update && sudo apt install libtesseract-dev libavformat-dev libswscale-dev yasm
|
||||
run: sudo apt update && sudo apt install libtesseract-dev libavformat-dev libavdevice-dev libswscale-dev yasm
|
||||
- name: rustfmt
|
||||
run: cargo fmt --all -- --check
|
||||
- name: clippy
|
||||
run: cargo clippy --all-features -- -D warnings
|
||||
run: |
|
||||
FFMPEG_INCLUDE_DIR=/usr/include/x86_64-linux-gnu \
|
||||
FFMPEG_PKG_CONFIG_PATH=/usr/x86_64-linux-gnu/lib/pkgconfig \
|
||||
cargo clippy --all-features -- -D warnings
|
||||
|
||||
Reference in New Issue
Block a user