Skip to content

Enable CI QA Checks

Enable CI QA Checks #2

Workflow file for this run

# Copyright (c) 2026 LG Electronics, Inc.
#
# 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.
#
# SPDX-License-Identifier: Apache-2.0
name: OpenSCMS/oscms-codecs-api
on:
push:
branches: ["main"]
pull_request:
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Debug
jobs:
build:
runs-on: ubuntu-latest
container:
image: ghcr.io/openscms/oscms-ci-docker:latest
steps:
- uses: actions/checkout@v4
- name: Build and run tests
run: |
cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }}
cmake --build ${{ github.workspace }}/build --config ${{ env.BUILD_TYPE }}
cd ${{ github.workspace }}/build
ctest -C ${{env.BUILD_TYPE}}