Skip to content

Excluded rtkv1sink from scanned elements #1273

Excluded rtkv1sink from scanned elements

Excluded rtkv1sink from scanned elements #1273

#
# If not stated otherwise in this file or this component's LICENSE file the
# following copyright and licenses apply:
#
# Copyright 2024 Sky UK
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
name: Native Rialto Build
on:
pull_request:
branches: [ "master", "rdkcentral:master" ]
push:
branches: [ "master", "rdkcentral:master" ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Dependencies
run: |
sudo apt-get update
sudo apt-get install build-essential
sudo apt-get install cmake
sudo apt-get install libunwind-dev libgstreamer-plugins-base1.0-dev libgstreamer-plugins-bad1.0-dev libgstreamer1.0-dev
- name: Install protobuf
run: |
sudo apt-get install protobuf-compiler
- name: Build Rialto
run: |
cmake . -B build -DNATIVE_BUILD=ON -DRIALTO_BUILD_TYPE="Debug" &> output_file.txt
if [ $? -eq 0 ]
then
make -C build &>> output_file.txt
else
exit 1
fi
- name: Report Build Status Success
if: success()
run: |
echo "Build Succeeded!"
exit 0
- name: Upload Logs on Failure
uses: actions/upload-artifact@v4
if: failure()
with:
name: Output Logs
path: |
output_file.txt