Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update master #1087

Open
wants to merge 196 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
196 commits
Select commit Hold shift + click to select a range
0335399
[external] Fix pass Qt version to external build.
dlyr Apr 8, 2023
048d829
Merge pull request #1049 from dlyr/fix-external-qt-version
dlyr Apr 26, 2023
88aca60
Update version to 1.5.1 [skip ci]
github-actions[bot] Apr 26, 2023
f4c752f
[cmake] request version 3.18
MathiasPaulin Jun 15, 2023
bfdc7eb
[cmake] fix compilation on windows
MathiasPaulin Jun 16, 2023
6128344
[cmake] remove code redundancy
MathiasPaulin Jun 19, 2023
378603c
[cmake] remove custom patch on cpplocate external
MathiasPaulin Jun 19, 2023
fb297b1
[ci] fix cpplocate path on windows
MathiasPaulin Jun 19, 2023
0b8bc7c
[cmake] fix typo.
dlyr Jun 21, 2023
fe7d934
Merge pull request #1053 from MathiasPaulin/cmake-version-318
dlyr Jun 28, 2023
4ec639f
Update version to 1.5.2 [skip ci]
github-actions[bot] Jun 28, 2023
1495138
[doc] Fix json typo for VS configuration.
dlyr Jun 15, 2023
e159439
[doc] Refactor compilations doc.
dlyr Jun 15, 2023
8e9f571
[doc] Fix and improve dependencies doc.
dlyr Jun 15, 2023
41ed366
[doc] Fix small typos, and prepare for doxygen update.
dlyr Jun 15, 2023
7919083
[doc] Fix bad link (missing namespace, bad template use).
dlyr Jun 15, 2023
53327d5
[doc] cmake utils fix/uniformize ref.
dlyr Jun 15, 2023
6aa3954
[github] Update CI doxygen 1.9.1 -> 1.9.7
dlyr Jun 15, 2023
a25ddd8
[doc] Fix render technique ref
dlyr Jun 19, 2023
e4ecaa9
[doc] update doxygen-awesome-css
dlyr Jun 19, 2023
a827839
[doc] Add tag file to reslove std:: to cppreference.
dlyr Jun 19, 2023
a60f504
[core][engine][gui][doc] Fix ref errors.
dlyr Jun 19, 2023
a47d762
[doc] Fix typo in compilation.md
dlyr Jun 30, 2023
4dcf7d0
Merge pull request #1054 from STORM-IRIT/1051-clarify-build-instructi…
dlyr Jun 30, 2023
4083844
Update version to 1.5.3 [skip ci]
github-actions[bot] Jun 30, 2023
35422dd
[tests] Add _ra suffix on literals.
Jun 14, 2023
b1750d5
[core] Skeleton: Fix switch warning.
dlyr Jul 10, 2023
e722f9b
[core] VariableSet: Fix warning shadow variable in lambda.
dlyr Jul 10, 2023
58f3c93
[tests] CMakeList: Remove empty custom target, add tests dependency.
dlyr Jul 10, 2023
2bee48b
Merge pull request #1059 from dlyr/small_fixes
dlyr Jul 17, 2023
a2035eb
Update version to 1.5.4 [skip ci]
github-actions[bot] Jul 17, 2023
f28bf8b
[doc] Split windows and command line instructions.
dlyr Jul 2, 2023
b9c86d0
[scripts] Update list_dep, by module.
dlyr Jul 2, 2023
ab154ce
[doc] merge dependencies details with radium detail.
dlyr Jul 2, 2023
a203740
[doc] Remove empty, rename compilation -> details.
dlyr Jul 2, 2023
ec498c3
[doc] Fix bad link, improve reading.
dlyr Jul 2, 2023
6b0c1a7
[doc] Remove warn undoc.
dlyr Jul 2, 2023
8791afa
[doc] Reorder option in CMakeLists.
dlyr Jul 2, 2023
8ba8c36
[core][engine] namespace doc.
dlyr Jul 2, 2023
c68ae42
[core][engine][gui][headless] Fix some doc errors.
dlyr Jul 2, 2023
34e81bd
[doc] clarify demo run in vs.md
dlyr Jul 4, 2023
a349c0c
Merge pull request #1057 from dlyr/1055-doc-move-all-reference-to-req…
dlyr Jul 26, 2023
8c56733
Update version to 1.5.5 [skip ci]
github-actions[bot] Jul 26, 2023
a1ec36b
[cmake] Update CodeCoverage.cmake
dlyr Jul 10, 2023
a13e845
[cmake][doc] Use CodeCoverage only.
dlyr Jul 10, 2023
4be4c17
[ci] Update codecov according to new coverage config.
dlyr Jul 10, 2023
9df295c
fix typo in doc
dlyr Sep 29, 2023
16b272f
[cmake] use correct --directory option, and CMAKE_BINARY_DIR
dlyr Sep 29, 2023
4049302
[cmake] don't get_filename_component, it messes up regexp excludes.
dlyr Sep 29, 2023
c6b789f
[ci] update cache version (deprecated node12)
dlyr Sep 29, 2023
965dd1b
[ci] install ninja with package manager, instead of deprecated action.
dlyr Sep 29, 2023
7c7b29f
Merge pull request #1058 from dlyr/coverage_update
dlyr Oct 11, 2023
629a228
Update version to 1.5.6 [skip ci]
github-actions[bot] Oct 11, 2023
8fe45ed
[pre-commit] update
dlyr Oct 6, 2023
a4e3617
Apply new pre-commit to all files
dlyr Oct 6, 2023
e937b79
[format] Update clang-format
dlyr Oct 6, 2023
e89ba19
Merge pull request #1066 from dlyr/pre-commit-update
dlyr Oct 12, 2023
e79c16e
Update version to 1.5.7 [skip ci]
github-actions[bot] Oct 12, 2023
6147cf7
[ci] update doxygen, should fix toc.
dlyr Sep 29, 2023
43b38b6
[ci] remove the need of doxygen version in command line.
dlyr Oct 5, 2023
3b13b43
[ci] tmp workflow to check doc build
dlyr Oct 12, 2023
8bbefa5
[ci] update script after test
dlyr Oct 13, 2023
2f8aa16
[ci] make tmp workflow a manual triggered workflow
dlyr Oct 13, 2023
bf8e7f2
Merge pull request #1070 from dlyr/ci-update-doxygen
dlyr Oct 13, 2023
dd30e67
Update version to 1.5.8 [skip ci]
github-actions[bot] Oct 13, 2023
00c70e5
[tests] Add empty queue tests.
dlyr Oct 3, 2023
2495e88
[core] task queue fix quick delete notify fail.
dlyr Oct 3, 2023
6c73fa7
[core] task queue use condition variable for waitForTasks.
dlyr Oct 3, 2023
a1f6aae
[core] TaskQueue comments and remove superfluous locks.
dlyr Oct 5, 2023
2e09817
Merge pull request #1071 from dlyr/fix-tasks
dlyr Oct 13, 2023
c03f02f
Update version to 1.5.9 [skip ci]
github-actions[bot] Oct 13, 2023
a4e434b
[core] Doc index.
dlyr Jul 5, 2023
5ed8d86
[pluginbase] Add [[maybe_unused]] on unused args referenced in doc.
dlyr Oct 5, 2023
d37d0a3
[gui][headless] fix some doxygen errors.
dlyr Sep 29, 2023
b9d4d10
[doc] update convention regarding doxygen special commands.
dlyr Oct 17, 2023
ab75ae3
[doc] change @ to \ in doxygen comments.
dlyr Oct 17, 2023
5dc48b6
[doc] \ instead of @ for doc doxygen commands.
dlyr Oct 17, 2023
54aef71
Merge pull request #1074 from dlyr/fix-doxy
dlyr Oct 18, 2023
3300f60
Update version to 1.5.10 [skip ci]
github-actions[bot] Oct 18, 2023
6ec15dd
[headless] Fix camera possible leak.
dlyr Oct 1, 2023
fb66f6a
[headless] use camera manager for headless default camera.
MathiasPaulin Oct 18, 2023
bc1e605
Merge pull request #1073 from dlyr/headless-leak
dlyr Oct 20, 2023
e7c3fd9
Update version to 1.5.11 [skip ci]
github-actions[bot] Oct 20, 2023
698c4ba
[core][engine][gui] Remove EIGEN_MAKE_ALIGNED_OPERATOR_NEW
dlyr Oct 14, 2023
143e1b0
Merge pull request #1072 from dlyr/remove-eigen-deprecated-macro
dlyr Oct 20, 2023
5b6634e
Update version to 1.5.12 [skip ci]
github-actions[bot] Oct 20, 2023
22f58d4
[engine] Split TextureParameters into sampler and image.
dlyr Oct 26, 2022
314938b
[examples] Update according to texture.
dlyr Oct 26, 2022
f9af0f9
[examples][engine] Rely on delayed gpu init instead of pending textures.
dlyr Jul 5, 2023
5b8b03b
[engine] Factorize texture related code.
dlyr Jul 5, 2023
abaaf13
[headless] Call run gpu tasks, and check if renderer active.
dlyr Jul 9, 2023
3dd7d87
[engine] Remove destroy task id (not needed).
dlyr Jul 9, 2023
20a620a
[tests] fix materials unittest with new texture.
dlyr Nov 22, 2022
5baa169
[engine] TextureManager: Delete copy and move.
dlyr Jul 11, 2023
27ee049
[engine][tests] Update Texture variant type name, refactor getters.
dlyr Jul 24, 2023
66ebb05
[engine] Rename wrapP to wrapR.
dlyr Jul 26, 2023
b587629
[examples] Fix textured quad examples.
dlyr Sep 12, 2023
c362340
[engine][examples] Move BlinnPhong data as private.
dlyr Sep 13, 2023
c86d278
[engine][examples][gui] Move plain/simple material data as private.
dlyr Sep 13, 2023
c46eeb5
[engine] Comments for TextureMananger.
dlyr Sep 13, 2023
3f31f40
[engine][tests] Add get/set alpha for blinn phong.
dlyr Sep 13, 2023
328107c
[examples] update texture doc and snippets.
dlyr Sep 29, 2023
f6d0190
[doc] start texture doc.
dlyr Sep 29, 2023
9bb072a
[headless] Fix camera possible leak.
dlyr Oct 1, 2023
53f13d5
[engine] fix bad cast in texture manager.
dlyr Sep 29, 2023
c6f7758
[engine][examples] Alias Lambertian texture semantics to SimpleMaterial.
dlyr Oct 5, 2023
d7f4df6
[doc] fix Doxygen awsome dark/light mode.
dlyr Oct 21, 2023
1434a1a
[engine] Material doc and small refactor
dlyr Oct 21, 2023
23b87ca
Merge pull request #1056 from dlyr/refactor-textures
dlyr Oct 22, 2023
3e03e3a
Update version to 1.5.13 [skip ci]
github-actions[bot] Oct 22, 2023
fa5a170
[core] add allClose in math function.
dlyr Nov 30, 2023
3182d04
[engine] Fix out of bound image read.
dlyr Mar 11, 2024
9c3c244
[engine] typo programm -> program.
dlyr Mar 25, 2024
f6dc1ec
[gui] add missing viewer's delete pickingManager.
dlyr Mar 25, 2024
80f8f90
[headless] split Viewer/RadiumEngine CLI App to have CLI without rend…
dlyr Mar 25, 2024
d2510f8
[examples] use CLI getter (now member variable is private).
dlyr Mar 25, 2024
3f5279e
[cmake] Code coverage verbose message without STATUS.
dlyr Apr 3, 2024
22beb8d
[cmake] do not warn missing default on switch.
dlyr Apr 3, 2024
7481786
[core][engine][headless][tests] fix warnings.
dlyr Apr 3, 2024
9430d3d
[tests][cmake] parrallel ctest.
dlyr Apr 3, 2024
d2f48ae
[cmake] updates CodeCoverage.cmake according to upstream and local fi…
dlyr Apr 3, 2024
497b7a2
[cmake] Update coverage exclude and basedir.
dlyr Apr 3, 2024
b1e0a05
[cmake] CMAKE_AUTOMOC_PATH_PREFIX to fix coverage.
dlyr Apr 5, 2024
e6cb7f5
[gui] Add viewer getter.
dlyr Apr 3, 2024
5e66aec
[engine] factorize texture init with for loops.
dlyr Apr 3, 2024
fb44fc6
Merge pull request #1078 from dlyr/small_fixes
dlyr Apr 10, 2024
fef2769
Update version to 1.5.14 [skip ci]
github-actions[bot] Apr 10, 2024
ef1518f
[cmake] use only Qt6 in helpers functions.
dlyr Oct 4, 2024
855efeb
[external] force the use of Qt6 when building externals.
dlyr Oct 4, 2024
b4001a9
[gui] remove qt version check and qt5 specific code.
dlyr Oct 4, 2024
1049596
[github] remove qt5 from CI.
dlyr Oct 4, 2024
1d2e7a6
[doc][examples] remove reference to Qt5.
dlyr Oct 4, 2024
4daaf06
[core] tentative fix test.
dlyr Oct 4, 2024
8d0faf2
[ci] use macos-13 to check if there is the same math rounding "bug".
dlyr Oct 6, 2024
46982f5
Merge pull request #1083 from STORM-IRIT/1081-remove-qt5-support
dlyr Oct 9, 2024
53545a9
Update version to 1.5.15 [skip ci]
github-actions[bot] Oct 9, 2024
5c120e4
[examples] Edition -> editing.
dlyr Apr 8, 2024
4009568
[doc][core][engine][gui] edition -> editing.
dlyr Apr 8, 2024
cf6a8ed
[cmake] use cmake-message-helpers as submodule, instead of code copy.
dlyr Oct 8, 2024
22b0f5b
[cmake] use message_prefix_push and pop macros.
dlyr Oct 8, 2024
535ea76
[cmake] Add "Main" prefix for cmake configuration beginning.
dlyr Oct 8, 2024
fb43137
[doc] fix blur on logo, use webp instead of png.
dlyr Oct 8, 2024
488f473
[external] update doxygen-awesome-css.
dlyr Oct 8, 2024
0fd62f9
[doc] clean CMakeLists.txt related to doxygen.
dlyr Oct 8, 2024
0057654
[doc] update license related to logo.
dlyr Oct 8, 2024
43d0c65
[doc] Update header according to doxygen-awesome-css update.
dlyr Oct 8, 2024
4ce4468
[doc] Increase badge and overview level to remove from toc.
dlyr Oct 8, 2024
9b77d3e
[headless] Use member groups instead of topics.
dlyr Oct 8, 2024
cd69442
[ci] use doxygen 1.12.0 (better faster stronger).
dlyr Oct 8, 2024
7536a51
[pre-commit.ci] pre-commit autoupdate
dlyr Oct 8, 2024
640e0f5
[pre-commit.ci] nearly auto fixes from pre-commit.com hooks
dlyr Oct 8, 2024
0223f6d
[ci] update submodule on ci.
dlyr Oct 8, 2024
1ca7a77
[doc] downgrade needed doxygen, dot optional.
dlyr Oct 9, 2024
a929583
Merge pull request #1085 from dlyr/small_fixes
dlyr Oct 9, 2024
d764c11
Update version to 1.5.16 [skip ci]
github-actions[bot] Oct 9, 2024
7378953
[ci] fix deploy doc.
dlyr Oct 9, 2024
151aa49
Merge pull request #1086 from dlyr/fix-deploy-doc
dlyr Oct 9, 2024
2854c02
Update version to 1.5.17 [skip ci]
github-actions[bot] Oct 9, 2024
128fb33
[git] webp as binary.
dlyr Oct 9, 2024
213abc0
[doc] webp banner fix.
dlyr Oct 9, 2024
335acec
Merge pull request #1088 from dlyr/fix-webp-banner
dlyr Oct 9, 2024
4af50c3
Update version to 1.5.18 [skip ci]
github-actions[bot] Oct 9, 2024
c264cfe
[core][engine] Make RenderParameters inherit from VariableSet.
dlyr Oct 9, 2023
b920337
[engine][tests] Continue to rename RenderParametersParameter to corre…
dlyr Oct 9, 2023
3e75e6f
[engine][core] Move enum convert from RenderParameters to VariableSet.
dlyr Oct 9, 2023
1f4830f
[core][engine] Remove existsVaribable specialization.
dlyr Oct 9, 2023
c689d88
[engine] Remove unused using def.
dlyr Oct 9, 2023
924db27
[core] Reinterpret enum as underlying type.
dlyr Oct 9, 2023
1a13e77
[engine][core][tests] Rename getParameter -> getVariable
dlyr Oct 9, 2023
db4987c
[engine] Remove s_binder (use temp object).
dlyr Oct 9, 2023
6de4d5f
[engine] Comments/doc.
dlyr Oct 9, 2023
8421379
[core][tests] Fix Enum management
dlyr Oct 10, 2023
b043cee
[tests] check renderparameter visitor output.
dlyr Oct 15, 2023
d5a9896
[core][engine][tests] Tetative split variable set enum management
dlyr Oct 15, 2023
3f065f4
[engine][tests] Add render parameter specialization
dlyr Oct 15, 2023
d750a8c
[examples] Fix according to enum management.
dlyr Oct 18, 2023
47437c2
[gui][examples] refactor parameter set editor
dlyr Oct 18, 2023
a973924
[examples] fix includes quote -> angled
dlyr Oct 23, 2023
7de9b06
[core] fix variableset enum management empty line
dlyr Oct 23, 2023
c14ddc7
[gui] Remove ParameterSetEditor comments
dlyr Oct 23, 2023
000c156
[gui][examples] ParameterSetEditor -> VariableSetEditor, and other re…
dlyr Oct 23, 2023
1e5992f
[gui] fix test is assignable.
dlyr Oct 23, 2023
af7a497
[gui] ControlPanel improve packing.
dlyr Oct 23, 2023
d93321b
[gui] Control panel tooltip and layout.
dlyr Oct 24, 2023
b19e827
[core] Typo in comment
dlyr Apr 23, 2024
4f388f2
[core] fix lambda shadow parameter.
dlyr Apr 23, 2024
ca32ca0
[gui] Remove uneeded forward decl.
dlyr Apr 23, 2024
57a1287
[tests] fix system dependent type order
dlyr Jul 8, 2024
cc02c0d
[tests] fix system dependent type order (cont'd).
dlyr Jul 8, 2024
2bcbfb3
[core][tests] pick TypeUtils simplified demangler from dataflow.
dlyr Jul 8, 2024
13dbb0a
[tests] update demangle, remove win specific cases.
dlyr Jul 9, 2024
5db51f5
Merge pull request #1069 from dlyr/renderParameters-variableSet
dlyr Oct 10, 2024
2794367
Update version to 1.5.19 [skip ci]
github-actions[bot] Oct 10, 2024
e6109c6
[ci] Manual doc build uses deploy-doc, remove doc build from pr ci.
dlyr Oct 11, 2024
ff4df84
Merge pull request #1089 from dlyr/manual-doc-build
dlyr Oct 11, 2024
09cc244
Update version to 1.5.20 [skip ci]
github-actions[bot] Oct 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
BasedOnStyle: LLVM
Language: Cpp
Standard: Cpp11
Standard: c++17
AllowShortFunctionsOnASingleLine: Inline
AllowShortBlocksOnASingleLine: true
AllowShortIfStatementsOnASingleLine: true
AlwaysBreakTemplateDeclarations: true
AlwaysBreakTemplateDeclarations: Yes
BreakBeforeBraces: Custom
BraceWrapping:
AfterClass: true
Expand Down
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@
*.pvm binary
*.exr binary
*.pfm binary
*.webp binary
37 changes: 13 additions & 24 deletions .github/workflows/build-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,6 @@ on:
required: false
type: string
default: "false"
qt5:
required: false
type: string
default: "true"
qt6:
required: false
type: string
default: "true"

env:
ext-dir: $GITHUB_WORKSPACE/external/install/
Expand All @@ -78,7 +70,7 @@ jobs:
[[ "true" == "${{ inputs.windows }}" && "true" == "${{inputs.linux}}" ]] && echo ','
[[ "true" == "${{ inputs.linux }}" ]] && echo '{ "name": "Ubuntu gcc", "os": "ubuntu-latest", "cc": "gcc-10", "cxx": "g++-10", "icon": "Linux", "extra-flags": "-DCMAKE_CXX_FLAGS=-Wno-deprecated-declarations -DRADIUM_ENABLE_GL_TESTING=ON" }'
[[ "true" == "${{ inputs.windows }}" || "true" == "${{inputs.linux}}" ]] && [[ "true" == "${{inputs.macos}}" ]] && echo ','
[[ "true" == "${{ inputs.macos }}" ]] && echo '{ "name": "MacOS clang", "os": "macos-latest", "cc": "clang", "cxx": "clang++", "icon": "Apple", "extra-flags": "-DCMAKE_CXX_FLAGS=-Wno-deprecated-declarations" }'
[[ "true" == "${{ inputs.macos }}" ]] && echo '{ "name": "MacOS clang", "os": "macos-13", "cc": "clang", "cxx": "clang++", "icon": "Apple", "extra-flags": "-DCMAKE_CXX_FLAGS=-Wno-deprecated-declarations" }'
echo '],'
echo '"build-type" : ['
[[ "true" == "${{ inputs.build-debug }}" ]] && echo '"Debug"'
Expand All @@ -89,11 +81,7 @@ jobs:
echo '{ "name": "float", "value": "OFF"}'
[[ "true" == "${{ inputs.use-double }}" ]] && echo ', { "name": "double", "value": "ON" }'
echo '],'
echo '"qtversion" : ['
[[ "true" == "${{ inputs.qt5 }}" ]] && echo '{ "name" : "qt5", "value" : "5.15.1"}'
[[ "true" == "${{ inputs.qt5 }}" && "true" == "${{ inputs.qt6 }}" ]] && echo ','
[[ "true" == "${{ inputs.qt6 }}" ]] && echo '{ "name" : "qt6", "value" : "6.2.0"}'
echo '],'
echo '"qtversion" : [ { "name" : "qt6", "value" : "6.2.0"}],'
echo '"coverage" : ['
[[ "true" == "${{ inputs.coverage }}" ]] && echo '{ "value" : "ON", "extra-flags" : "-DRADIUM_ENABLE_GL_TESTING=ON" }' || echo '{ "value" : "OFF", "extra-flags" : "" }'
echo "]"
Expand Down Expand Up @@ -124,7 +112,9 @@ jobs:
fail-fast: false
matrix: ${{ fromJSON(needs.create-matrix.outputs.matrix) }}
steps:
- uses: seanmiddleditch/gha-setup-ninja@master
- name: Install Ninja
shell: bash
run: ${{ runner.os == 'macOS' && 'brew install ninja' || runner.os == 'Windows' && 'choco install ninja' || 'sudo apt-get install ninja-build' }}
- name: Add msbuild to PATH
uses: seanmiddleditch/gha-setup-vsdevenv@master
if: runner.os == 'Windows'
Expand Down Expand Up @@ -172,6 +162,7 @@ jobs:
echo "${{ env.ext-dir }}/bin" >> $GITHUB_PATH
echo "${{ env.ext-dir }}/glbinding" >> $GITHUB_PATH
echo "${{ env.ext-dir }}/globjects" >> $GITHUB_PATH
echo "${{ env.ext-dir }}/cpplocate" >> $GITHUB_PATH
- name: Prepare directories
run: |
mkdir -p install/
Expand All @@ -183,12 +174,15 @@ jobs:
uses: actions/checkout@master
with:
path: src/Radium-Engine
submodules: 'recursive'
- name: pull updated repo (e.g. with new VERSION)
if: ${{ github.event_name == 'push' }}
run: git -C src/Radium-Engine pull origin ${{ github.event.ref }}
run: |
git -C src/Radium-Engine pull origin ${{ github.event.ref }}
git -C src/Radium-Engine submodule update --init --recursive
- name: Cache externals
id: cache-external
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: external
key: ${{ matrix.config.name }}-${{ matrix.build-type }}-${{ matrix.qtversion.name }}-external-v1-${{ hashFiles('src/Radium-Engine/external/**/CMakeLists.txt') }}
Expand Down Expand Up @@ -259,11 +253,6 @@ jobs:
if: ${{ inputs.coverage == 'true' }}
run: |
cd build/Radium-Engine
cmake --build . --config Debug --target lcov_init
cmake --build . --config Debug --target lcov_zerocounter
cmake --build . --config Debug --target check
cmake --build . --config Debug --target lcov_capture
# show report for debug
cmake --build . --config Debug --target lcov_list
cmake --build . --config Debug --target coverage
# Uploading report to CodeCov
bash <(curl -s https://codecov.io/bash) -f total.info -R ../../src/Radium-Engine || echo "Codecov did not collect coverage reports"
bash <(curl -s https://codecov.io/bash) -f coverage.info -R ../../src/Radium-Engine || echo "Codecov did not collect coverage reports"
46 changes: 32 additions & 14 deletions .github/workflows/deploy-doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,17 @@ on:
workflow_call:
secrets:
REPO_ACCESS_TOKEN:
required: true
required: false
inputs:
deploy-on-gh-pages:
required: false
type: string
default: "true"

jobs:
deploy-doc-index:
runs-on: ubuntu-20.04
if: ${{ inputs.deploy-on-gh-pages == 'true' }}
runs-on: ubuntu-24.04
steps:
- name: Checkout remote head
uses: actions/checkout@master
Expand All @@ -22,53 +28,65 @@ jobs:
publish_dir: 'doc/index'
keep_files: true

deploy-doc:
runs-on: ubuntu-20.04
build-and-deploy-doc:
runs-on: ubuntu-24.04
steps:
- name: Prepare directories
run: |
mkdir -p src/Radium-Engine
mkdir -p build/Radium-Engine
mkdir doxygen
- name: Checkout remote head
uses: actions/checkout@master
with:
path: src/Radium-Engine
submodules: recursive
- name: pull updated repo (e.g. with new VERSION)
if: ${{ inputs.deploy-on-gh-pages == 'true' }}
run: git -C src/Radium-Engine pull origin ${{ github.event.ref }}
- name: Install packages
run : |
sudo apt-get install graphviz
- name: Fetch recent doxygen (1.9.1)
sudo apt-get install graphviz plantuml
- name: Fetch recent doxygen
run: |
sudo apt-get install clang-9 libclang-9-dev
wget https://sourceforge.net/projects/doxygen/files/rel-1.9.1/doxygen-1.9.1.linux.bin.tar.gz
tar -xvzf doxygen-1.9.1.linux.bin.tar.gz
wget https://sourceforge.net/projects/doxygen/files/rel-1.12.0/doxygen-1.12.0.linux.bin.tar.gz -O doxygen.tar.gz
tar -zxvf doxygen.tar.gz -C doxygen --wildcards "*/bin"
mv doxygen/*/bin doxygen/
- name: Extract ref for badges prefix
if: always()
shell: bash
run: |
GITHUB_REF=${{ github.ref }}
echo "branch=${GITHUB_REF#refs/heads/}" >> $GITHUB_OUTPUT
id: extract-branch
- name: Configure Doc
- name: Configure and build doc
run: |
cd build/Radium-Engine
cmake ../../src/Radium-Engine/doc -DCMAKE_EXECUTE_PROCESS_COMMAND_ECHO=STDOUT -DDOXYGEN_EXECUTABLE=../../doxygen-1.9.1/bin/doxygen
- name: Build Doc
run: |
ls -lh ../../doxygen/bin/doxygen
../../doxygen/bin/doxygen -v
cmake ../../src/Radium-Engine/doc -DCMAKE_EXECUTE_PROCESS_COMMAND_ECHO=STDOUT -DDOXYGEN_EXECUTABLE=../../doxygen/bin/doxygen
export GITHUB_REF="${{ steps.extract-branch.outputs.branch }}"
cd build/Radium-Engine
cmake --build . --target RadiumDoc
# upload doc as artifact if not deployed
- name: Archive doc
if: ${{ inputs.deploy-on-gh-pages == 'false' }}
uses: actions/upload-artifact@v4
with:
name: doc
path: build/Radium-Engine/html/
retention-days: 5
- name: Fix badges github ref
if: ${{ inputs.deploy-on-gh-pages == 'true' }}
run: |
export GITHUB_REF="${{ steps.extract-branch.outputs.branch }}"
cd build/Radium-Engine
sed -i "s/\$(GITHUB_REF)/${GITHUB_REF}/g" html/index.html
- name: Git branch name
if: ${{ inputs.deploy-on-gh-pages == 'true' }}
id: git-branch-name
uses: EthanSK/git-branch-name-action@v1
- name: Deploy Doc
if: ${{ inputs.deploy-on-gh-pages == 'true' }}
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.REPO_ACCESS_TOKEN }}
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/manual-doc-artifact-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Build doc artifact (trigger manually)

on:
workflow_dispatch:
inputs:
branch:
description: 'The branch to build'
required: true

jobs:
call-build-doc:
uses: ./.github/workflows/deploy-doc.yml
with:
deploy-on-gh-pages: "false"
1 change: 0 additions & 1 deletion .github/workflows/pull-request-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,3 @@ jobs:
macos: "false"
build-release: "false"
coverage: "true"
qt6: "false"
1 change: 0 additions & 1 deletion .github/workflows/push-master-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ jobs:
macos: "false"
build-release: "false"
coverage: "true"
qt6: "false"
call-notify:
needs: [increase-version-number]
uses: ./.github/workflows/notify-radium-releases.yml
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/push-rc-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,3 @@ jobs:
macos: "false"
build-release: "false"
coverage: "true"
qt6: "false"
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[submodule "external/doxygen-awesome-css"]
path = external/doxygen-awesome-css
url = https://github.com/jothepro/doxygen-awesome-css.git
[submodule "cmake/cmake-message-helpers"]
path = cmake/cmake-message-helpers
url = https://github.com/dlyr/cmake-message-helpers.git
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v5.0.0
hooks:
- id: trailing-whitespace
exclude: ^tests/.*/data/.*$
Expand All @@ -26,12 +26,12 @@ repos:
# - id: cppcheck
# args: [--enable=all]
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.33.0
rev: v0.42.0
hooks:
- id: markdownlint
args: [-f]
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v15.0.6
rev: v19.1.1
hooks:
- id: clang-format
types_or: [c++, c, cuda]
65 changes: 51 additions & 14 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.16)
cmake_minimum_required(VERSION 3.18 FATAL_ERROR)

# ------------------------------------------------------------------------------
# Policies and global parameters for CMake
Expand All @@ -7,7 +7,8 @@ cmake_policy(SET CMP0092 NEW) # do not set /W3 for msvc

set(CMAKE_DISABLE_SOURCE_CHANGES ON)
set(CMAKE_DISABLE_IN_SOURCE_BUILD ON)

include(${CMAKE_SOURCE_DIR}/cmake/cmake-message-helpers/MessageHelpers.cmake)
message_prefix_push("Main")
# Project setup, versioning stuff here, change when changing the version
# ~~~
# Note: keep the project name lower case only for easy linux packaging support
Expand Down Expand Up @@ -162,13 +163,8 @@ else()
set(GIT_CHANGESET "")
endif()

set(ENABLE_COVERAGE "")
mark_as_advanced(ENABLE_COVERAGE)
if(RADIUM_ENABLE_COVERAGE)
include(CoverageFunc)
# sets ENABLE_COVERAGE to ON if ok
setup_coverage()

set(RADIUM_ENABLE_TESTING "ON")
include(CodeCoverage)
append_coverage_compiler_flags()
endif(RADIUM_ENABLE_COVERAGE)
Expand All @@ -177,6 +173,7 @@ endif(RADIUM_ENABLE_COVERAGE)
# Installation utilities
include(RadiumSetupFunctions)

message_prefix_pop()
# Documentation build
add_subdirectory(doc)

Expand Down Expand Up @@ -222,11 +219,39 @@ if(RADIUM_ENABLE_TESTING)
add_subdirectory(tests)
endif()

if(ENABLE_COVERAGE)
set(LCOV_REMOVES
"'/usr/*';'*examples*';'*external*';'*install*';'*/Catch2/*';'*_autogen/*';'*build*'"
if(RADIUM_ENABLE_COVERAGE)
append_coverage_compiler_flags()
setup_target_for_coverage_lcov(
NAME
coverage
EXECUTABLE
${CMAKE_CTEST_COMMAND}
--output-on-failure
-C
${CMAKE_BUILD_TYPE}
-j
$ENV{CMAKE_BUILD_PARALLEL_LEVEL}
BASE_DIRECTORY
"/"
DEPENDENCIES
RadiumLibs
unittests
integration
EXCLUDE
"/*external*/"
"/*/glbinding/*"
"/*/globjects/*"
"/*/OpenMesh/*"
"/*/assimp/*"
"/*/eigen3/*"
"/*/nlohmann/*"
"/*/stb/*"
"/usr/*"
"${CMAKE_SOURCE_DIR}/examples*"
"${CMAKE_SOURCE_DIR}/*/Catch2/*"
"${CMAKE_BINARY_DIR}/*_autogen/*"
"${CMAKE_BINARY_DIR}/*mocs*"
)
setup_coverage_targets(${ENABLE_COVERAGE} "${LCOV_REMOVES}")

# Fastcov is not supported with gcov llvm: disabling for MacOS Source:
# https://github.com/RPGillespie6/fastcov/issues/36
Expand All @@ -235,16 +260,28 @@ if(ENABLE_COVERAGE)
NAME
coverage_fastcov
EXECUTABLE
ctest
${CMAKE_CTEST_COMMAND}
--output-on-failure
-C
${CMAKE_BUILD_TYPE}
-j
$ENV{CMAKE_BUILD_PARALLEL_LEVEL}
DEPENDENCIES
RadiumLibs
unittests
integration
BASE_DIRECTORY
"/"
EXCLUDE
"/usr/"
"examples"
"glbinding"
"globjects"
"OpenMesh"
"assimp"
"eigen3"
"nlohmann"
"stb"
"external"
"install"
"/Catch2/"
Expand All @@ -261,7 +298,7 @@ install(FILES LICENSE README.md TYPE DATA)

# -------------------------------------------------------------------------------
# Wrap up of settings printed on build
include(MessageFunc)

message(NOTICE "")
message_title(" Final overview for ${PROJECT_NAME} ")
message_info(" ")
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Radium-Engine libraries

![banner](doc/images/radium-banner.png)
![banner](doc/images/radium-banner.webp)

Radium is a research 3D Engine for rendering, animation and processing.
It is developed and maintained by the [STORM research group](https://www.irit.fr/STORM/site/).
Expand Down
Loading