Merge pull request #1201 from NilsIrl/ocr_hardsubx_cmake_actions

[IMPROVEMENT] Test with OCR and HARDSUBX
This commit is contained in:
Willem 2020-01-19 21:36:06 +01:00 committed by GitHub
commit fc21280857
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,6 @@ on:
- '**Makefile**'
- 'linux/**'
- 'package_creators/**'
jobs:
build_shell:
runs-on: ubuntu-latest
@ -38,7 +37,6 @@ jobs:
with:
name: CCExtractor Linux build
path: ./linux/artifacts
build_autoconf:
runs-on: ubuntu-latest
steps:
@ -61,3 +59,14 @@ jobs:
- name: build
run: make -j$(nproc)
working-directory: build
cmake_ocr_hardsubx:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: dependencies
run: sudo apt update && sudo apt install libtesseract-dev libavformat-dev libswscale-dev
- name: cmake
run: mkdir build && cd build && cmake -DWITH_OCR=ON -DWITH_HARDSUBX=ON ../src
- name: build
run: make -j$(nproc)
working-directory: build