Skip to content

YT-CPPHGL-24: Prepare the HGL module documentation #984

YT-CPPHGL-24: Prepare the HGL module documentation

YT-CPPHGL-24: Prepare the HGL module documentation #984

Workflow file for this run

name: Clang++
on:
push:
branches:
- "*"
paths:
- .github/workflows/clang.yaml
- CMakeLists.txt
- cmake/
- include/**
- tests/**
jobs:
build:
name: Build and run tests
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Prepare
env:
CC: clang-18
CXX: clang++-18
run: |
cmake -B build_clang -DBUILD_TESTS=ON -DCMAKE_CXX_COMPILER=$CXX -DCMAKE_C_COMPILER=$CC
continue-on-error: false
- name: Build test executable
run: |
cmake --build build_clang/ -j$(nproc)
continue-on-error: false
- name: Run tests
run: |
./build_clang/tests/gl
./build_clang/tests/hgl