Skip to content

TestingEnvironment::MessageCallback: print message #3145

TestingEnvironment::MessageCallback: print message

TestingEnvironment::MessageCallback: print message #3145

Workflow file for this run

name: Linux build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
include:
- name: "GCC"
build_type: "Debug"
cmake_generator: "Unix Makefiles"
cmake_args: "-DDILIGENT_BUILD_CORE_TESTS=ON -DDILIGENT_NO_VULKAN=ON -DDILIGENT_NO_GLSLANG=ON -DDILIGENT_NO_HLSL=ON"
cc: "gcc-14"
cxx: "g++-14"
name: Linux -> ${{ matrix.name }}-x64, ${{ matrix.build_type }}
steps:
- name: Clone repository
uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up build environment
if: success()
uses: DiligentGraphics/github-action/setup-build-env@fix_ci
with:
platform: Linux
cmake-generator: ${{ matrix.cmake_generator }}
- name: Configure CMake
if: success()
uses: DiligentGraphics/github-action/configure-cmake@fix_ci
with:
cc: ${{ matrix.cc }}
cxx: ${{ matrix.cxx }}
generator: ${{ matrix.cmake_generator }}
build-type: ${{ matrix.build_type }}
cmake-args: ${{ matrix.cmake_args }}
- name: Build
id: build
if: success()
uses: DiligentGraphics/github-action/build@fix_ci
with:
target: install
- name: DiligentCoreAPITest GL
if: ${{ (success() || failure() && steps.build.outcome == 'success') && (matrix.name == 'Clang' || matrix.name == 'GCC') }}
uses: DiligentGraphics/github-action/run-core-gpu-tests@fix_ci
with:
mode: gl
- name: DiligentCoreAPITest GL with Non-Separable Programs
if: ${{ (success() || failure() && steps.build.outcome == 'success') && (matrix.name == 'Clang' || matrix.name == 'GCC') }}
uses: DiligentGraphics/github-action/run-core-gpu-tests@fix_ci
with:
mode: gl
non-separable-progs: true
- name: Upload artifact
uses: actions/upload-artifact@v4
if: ${{ success() && matrix.build_type != 'Debug' }}
with:
name: DiligentCore-Linux-${{ matrix.name }}-x64-${{ matrix.build_type }}
path: |
${{env.DILIGENT_INSTALL_DIR}}
!${{env.DILIGENT_INSTALL_DIR}}/**/*.a
retention-days: 90