Add support for re-encoding with Intel QSV #85
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Build | |
on: | |
push: | |
branches: [main] | |
paths: | |
- "CMakeLists.txt" | |
- "src/**" | |
- ".github/workflows/build.yml" | |
pull_request: | |
branches: [main] | |
paths: | |
- "CMakeLists.txt" | |
- "src/**" | |
- ".github/workflows/build.yml" | |
permissions: read-all | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
qtver: ['5.15.2', '6.2.4', '6.5.2'] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Install Dependencies | |
if: ${{env.ACT}} | |
run: | | |
sudo apt-get update -q | |
sudo apt-get install -yq build-essential cmake python3-pip | |
- name: Install Qt | |
uses: jurplel/install-qt-action@v3 | |
with: | |
version: ${{matrix.qtver}} | |
setup-python: false | |
dir: "${{runner.temp}}/Qt" | |
cache: true | |
- name: Configure Release | |
run: cmake -B ${{github.workspace}}/build-release -DCMAKE_BUILD_TYPE=Release | |
- name: Configure Debug | |
run: cmake -B ${{github.workspace}}/build-debug -DCMAKE_BUILD_TYPE=Debug | |
- name: Build Release | |
run: cmake --build ${{github.workspace}}/build-release --config Release | |
- name: Build Debug | |
run: cmake --build ${{github.workspace}}/build-debug --config Debug |