Skip to content

Valgrind on native #141

Valgrind on native

Valgrind on native #141

Workflow file for this run

#
# 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: Licence Notice Check
on:
pull_request:
branches: [ "master", "rdkcentral:master" ]
workflow_dispatch:
jobs:
check:
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4
# Setup github for python 3.8
- name: setup python
uses: actions/setup-python@v5
with:
python-version: 3.8
- name: Install Dependencies
run: |
sudo apt-get update
- name: Scan source files
run: |
scripts/license.sh scripts/license.py Apache_2_0
if [ $? -ne 0 ]
then
echo "The above files have an incorrect format or licence"
exit 1
fi