Skip to content

CMAKE_SOURCE_DIR => CMAKE_CURRENT_SOURCE_DIR #16

CMAKE_SOURCE_DIR => CMAKE_CURRENT_SOURCE_DIR

CMAKE_SOURCE_DIR => CMAKE_CURRENT_SOURCE_DIR #16

Workflow file for this run

name: CentOS Stream
on:
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build-centos:
name: RedHat
permissions:
contents: write
packages: write
runs-on: ubuntu-latest
strategy:
fail-fast: false
container: quay.io/centos/centos:stream9
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Prepare
run: |
dnf install git make cmake gcc gcc-c++ binutils glibc-devel valgrind autoconf libtool bison automake libxml2-devel sudo which rpmdevtools rpmlint yum-utils -y
- name: Configure & build
run: |
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Debug -D BUILD_TESTING=ON
cmake --build .
- name: Run ctest
run: |
cd build
ctest -C Debug --output-on-failure -F