mirror of
https://github.com/wolfpld/tracy.git
synced 2026-10-23 09:10:51 +00:00
Delayed init was introduced 2019-02-19 inef5e30056and was lazy init at that time, matching the name. This changed 2020-05-19 in4eb78f5c8, when auto-init was added, making delayed init not delayed anymore. While the option is still needed to make manual lifetime work, and it has to be enabled on apple, there's no reason anymore to expose it to users.
36 lines
1.5 KiB
YAML
36 lines
1.5 KiB
YAML
name: 'Test Tracy'
|
|
description: 'Build the Tracy test application with various cmake flag combinations'
|
|
|
|
inputs:
|
|
extra_cmake_flags:
|
|
description: 'Additional cmake flags appended to each configure command (e.g. cross-compilation flags)'
|
|
required: false
|
|
default: ''
|
|
|
|
runs:
|
|
using: 'composite'
|
|
steps:
|
|
- name: Test application
|
|
shell: bash
|
|
run: |
|
|
# test compilation with different flags
|
|
# we clean the build folder to reset cached variables between runs
|
|
cmake -B tests/tracy/build -S tests/tracy -DCMAKE_BUILD_TYPE=Release ${{ inputs.extra_cmake_flags }}
|
|
cmake --build tests/tracy/build --parallel
|
|
cmake -E rm -rf tests/tracy/build
|
|
|
|
# same with TRACY_ON_DEMAND
|
|
cmake -B tests/tracy/build -S tests/tracy -DCMAKE_BUILD_TYPE=Release -DTRACY_ON_DEMAND=ON ${{ inputs.extra_cmake_flags }}
|
|
cmake --build tests/tracy/build --parallel
|
|
cmake -E rm -rf tests/tracy/build
|
|
|
|
# same with TRACY_MANUAL_LIFETIME
|
|
cmake -B tests/tracy/build -S tests/tracy -DCMAKE_BUILD_TYPE=Release -DTRACY_MANUAL_LIFETIME=ON ${{ inputs.extra_cmake_flags }}
|
|
cmake --build tests/tracy/build --parallel
|
|
cmake -E rm -rf tests/tracy/build
|
|
|
|
# same with TRACY_DEMANGLE
|
|
cmake -B tests/tracy/build -S tests/tracy -DCMAKE_BUILD_TYPE=Release -DTRACY_DEMANGLE=ON ${{ inputs.extra_cmake_flags }}
|
|
cmake --build tests/tracy/build --parallel
|
|
cmake -E rm -rf tests/tracy/build
|