fix: formatting ci

This commit is contained in:
Prateek Sunal
2023-03-10 21:47:18 +05:30
parent 9f33e6f28e
commit 03b6a8f5d8
2 changed files with 5 additions and 4 deletions

View File

@@ -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: |

View File

@@ -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