Skip to content

Commit

Permalink
fix: formatting ci
Browse files Browse the repository at this point in the history
  • Loading branch information
prateekmedia committed Mar 10, 2023
1 parent 0d18b7a commit 1cb8d7c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/build_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
scargo clippy --all-features -- -D warnings

0 comments on commit 1cb8d7c

Please sign in to comment.