Skip to content

Merge pull request #6326 from asurdej-comcast/hdr_settings_2 #1

Merge pull request #6326 from asurdej-comcast/hdr_settings_2

Merge pull request #6326 from asurdej-comcast/hdr_settings_2 #1

name: ContentProtection
on:
push:
paths:
- ContentProtection/**
- .github/workflows/*ContentProtection*.yml
pull_request:
paths:
- ContentProtection/**
- .github/workflows/*ContentProtection*.yml
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- src: 'ContentProtection'
build: 'build/ContentProtection'
steps:
- uses: actions/checkout@v4
with:
path: ${{github.repository}}
- run: |
sudo apt update
sudo apt install -y cmake
- run: sh +x ${GITHUB_REPOSITORY}/.github/workflows/BuildThunder.sh
- run: |
cmake \
-S ${GITHUB_REPOSITORY}/${{ matrix.src }} \
-B ${{ matrix.build }} \
-DCMAKE_INSTALL_PREFIX="install" \
-DCMAKE_CXX_FLAGS="-Wall -Werror"
cmake --build ${{ matrix.build }} --target install