Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
121 commits
Select commit Hold shift + click to select a range
a5735f2
[ci] Update cmake-single-platform.yml
hiergaut Mar 11, 2024
dda9995
[ci] Update cmake-single-platform.yml
hiergaut Mar 11, 2024
ddebf89
[ci] Update cmake-single-platform.yml
hiergaut Mar 11, 2024
3f12071
[ci] Update cmake-single-platform.yml
hiergaut Mar 11, 2024
6f09acd
[ci] Update cmake-single-platform.yml
hiergaut Mar 11, 2024
8d6571e
[test] avoid infinite loop on test
hiergaut Mar 11, 2024
87064f7
[ci] Update cmake-single-platform.yml
hiergaut Mar 11, 2024
d70c632
[ci] Update cmake-single-platform.yml
hiergaut Mar 11, 2024
534dad4
[ci] Update cmake-single-platform.yml
hiergaut Mar 11, 2024
3a1827e
[ci] Update cmake-single-platform.yml
hiergaut Mar 12, 2024
a133c78
[ci] Update cmake-single-platform.yml
hiergaut Mar 12, 2024
8153315
[ci] change on push branch and pull request from v2.x.x to main
hiergaut Mar 12, 2024
dce885c
[ci] Update cmake-single-platform.yml
hiergaut Mar 12, 2024
539fbf8
[ci] Update cmake-single-platform.yml
hiergaut Mar 12, 2024
2857e04
[ci] Update cmake-single-platform.yml
hiergaut Mar 12, 2024
4ec6171
[ci] Update cmake-single-platform.yml
hiergaut Mar 12, 2024
c40006b
[ci] Update cmake-single-platform.yml
hiergaut Mar 12, 2024
dba4406
[ci] Update cmake-single-platform.yml
hiergaut Mar 12, 2024
34fd8e1
[ci] Update cmake-single-platform.yml
hiergaut Mar 12, 2024
1eb82c8
[ci] Update cmake-single-platform.yml
hiergaut Mar 12, 2024
92f8d74
[ci] Update cmake-single-platform.yml
hiergaut Mar 12, 2024
1d8d1bf
[cppCheck] fixed src directory
hiergaut Mar 14, 2024
2e3e455
[cppCheck] fixed header
hiergaut Mar 14, 2024
4c54012
[external] licensing all
hiergaut Mar 15, 2024
c88d9e5
[ci] update single-platform
hiergaut Mar 15, 2024
4a97e1d
[test] update native viewer stream
hiergaut Mar 15, 2024
1d493aa
[ci] Update cmake-single-platform.yml
hiergaut Mar 15, 2024
a6c26d9
[ci] Update cmake-single-platform.yml
hiergaut Mar 15, 2024
a724be5
[external] disable warning for external code
hiergaut Mar 15, 2024
373869e
[test] fixup macos test
hiergaut Mar 15, 2024
bfda7ad
[ci] Update cmake-single-platform.yml
hiergaut Mar 15, 2024
8a07a24
[ci] Update cmake-single-platform.yml
hiergaut Mar 15, 2024
ab9934e
[test] update tests
hiergaut Mar 16, 2024
6b921a2
[test] fixup tests
hiergaut Mar 16, 2024
ca7ce02
[test] avoid the use of __GNUC_PREREQ only defined with linux features
hiergaut Mar 16, 2024
790ca6b
[test] rename too large file for MSVC
hiergaut Mar 16, 2024
f2a8e26
[test] update tests
hiergaut Mar 16, 2024
4b4d6a8
[test] update tests
hiergaut Mar 16, 2024
8cd419e
[test] change assert -> CHECK to all tests for realease build
hiergaut Mar 16, 2024
1111206
[test] added mesh compat os/arch
hiergaut Mar 16, 2024
2633818
[test] added compat data from archlinux x64
hiergaut Mar 16, 2024
7afd85d
[gitlab] update gitlab ci
hiergaut Mar 16, 2024
faf52aa
[gitlab] update gitlab ci
hiergaut Mar 16, 2024
ef4cde9
[gitlab] update gitlab ci
hiergaut Mar 16, 2024
079f55d
[gitlab] update gitlab config
hiergaut Mar 16, 2024
56773be
[gitlab] update gitlab config
hiergaut Mar 17, 2024
9cbf89a
[gitlab] update gitlab config
hiergaut Mar 17, 2024
adc8c2a
[external] cleanup zpp_bits and serializer
hiergaut Mar 15, 2024
90299db
[ci] Update push.yml
hiergaut Mar 18, 2024
01982a4
[ci] Update push.yml
hiergaut Mar 18, 2024
d50ccdb
[ci] Update push.yml
hiergaut Mar 18, 2024
3f44ee9
[ci] Update push.yml
hiergaut Mar 18, 2024
3d7189a
[ci] Update push.yml
hiergaut Mar 18, 2024
afa5ead
[ci] Update push.yml
hiergaut Mar 18, 2024
88bb589
[gitlab] update gitlab ci
hiergaut Mar 18, 2024
3f9af7f
[gitlab] update gitlab ci
hiergaut Mar 18, 2024
c24c3a3
[ci] Update push.yml
hiergaut Mar 18, 2024
c08b8ec
[ci] update push.yml
hiergaut Mar 18, 2024
81195ad
[ci] Update push.yml
hiergaut Mar 18, 2024
08bbdda
[ci] update pullRequest.yml
hiergaut Mar 19, 2024
916164d
[format] update format-all script
hiergaut Mar 18, 2024
d2e6a4b
[ci] update push.yml
hiergaut Mar 19, 2024
9709ac3
[test] fix gcc 11 compilation
hiergaut Mar 11, 2024
b19237e
[ci] update push.yml
hiergaut Mar 19, 2024
d9c7881
[ci] Update push.yml
hiergaut Mar 18, 2024
2fe89ed
[ci] update pullRequest.yml
hiergaut Mar 19, 2024
42e6fc6
[ci] added push.yml
hiergaut Mar 18, 2024
0ccfe2d
[ci] update push.yml
hiergaut Mar 19, 2024
67df347
[ci] update push.yml
hiergaut Mar 19, 2024
91dd8a6
[ci] update push.yml
hiergaut Mar 19, 2024
92e3c74
[cppCheck] update cmake
hiergaut Mar 19, 2024
b15f2da
[cppCheck] update cmake
hiergaut Mar 19, 2024
9c8292a
[cppCheck] update Buffer.hpp explicit
hiergaut Mar 19, 2024
f69e51f
[doxygen] fixed
hiergaut Mar 19, 2024
1f6b08c
[doxygen] fix doxygen
hiergaut Mar 19, 2024
eb63d97
[test] fixup tests
hiergaut Mar 19, 2024
33515d3
[test] fix native test for ci
hiergaut Mar 15, 2024
f58f2c6
[gitlab] update gitlab config
hiergaut Mar 17, 2024
fa135a6
[gitlab] update config
hiergaut Mar 19, 2024
56535ea
[gitlab] update gitlab config
hiergaut Mar 17, 2024
243ffbe
[test] update mesh, vertex serialization differ between x64/arm64 arc…
hiergaut Mar 19, 2024
a09cb21
[test] remove failed test compat x64/arm64 serialization mesh
hiergaut Mar 17, 2024
d8d61aa
[gitlab] update config
hiergaut Mar 19, 2024
803b19c
[doxygen] update src
hiergaut Mar 19, 2024
1a0799d
[format] updated format scripts
hiergaut Mar 19, 2024
726f210
[gitlab] update config
hiergaut Mar 19, 2024
6568917
[ci] Create cmake-single-platform.yml
hiergaut Mar 11, 2024
8964cea
[format] updated format scripts
hiergaut Mar 19, 2024
7ed8631
[cppCheck] update CMakeLists
hiergaut Mar 19, 2024
3c90c99
[cppCheck] fixup version 2.7
hiergaut Mar 19, 2024
b8188ac
[test] catch2 unresolved external on UWP build
hiergaut Mar 19, 2024
aa8a853
[test] added wip test
hiergaut Mar 19, 2024
f183672
[test] fixup tests
hiergaut Mar 19, 2024
14436f5
[gitlab] update gitlab ci
hiergaut Mar 16, 2024
e9bfbdd
[test] fixup src
hiergaut Mar 19, 2024
ca06f05
[gitlab] update config
hiergaut Mar 19, 2024
b795bdb
[gitlab] update config
hiergaut Mar 19, 2024
72489d8
[external] added license to fast obj
hiergaut Mar 19, 2024
ff9eabb
[external] added license to fast obj
hiergaut Mar 19, 2024
62489a8
[version] license headers
hiergaut Mar 17, 2024
23b572c
[test] fixup cmake files
hiergaut Mar 19, 2024
f3b8e6f
[test] fix UWP compilation
hiergaut Mar 19, 2024
13e6d63
[cppCheck] remove cppcheck-suppress directive in Info.hpp
hiergaut Mar 20, 2024
b11d722
[cppCheck] update src
hiergaut Mar 19, 2024
471af29
[format] update scripts and add test file in script folder
hiergaut Mar 20, 2024
5002fb7
[format] update script
hiergaut Mar 20, 2024
ad68b64
[format] update script
hiergaut Mar 20, 2024
b54fff3
[format] update cleanup script
hiergaut Mar 20, 2024
8eb915b
[format] added cleanup-project target to cmake
hiergaut Mar 20, 2024
3bd10af
[format] update cmake and source scripts
hiergaut Mar 20, 2024
8ebf171
[format] update script format all
hiergaut Mar 20, 2024
87b51f9
[format] format all src
hiergaut Mar 20, 2024
16bbba9
[format] update scripts cmake and source
hiergaut Mar 19, 2024
d16236b
[cppCheck] update target hub-cppCheck in CMakeLists.txt
hiergaut Mar 20, 2024
24a02e4
[cppCheck] update CmakeLists.txt
hiergaut Mar 19, 2024
ddf8538
[format] change target hub-cleanup to hub-format into CMakeLists.txt
hiergaut Mar 20, 2024
68abcf5
[format] updated format scripts
hiergaut Mar 19, 2024
779eaaa
[ci] removed cmake-single-platform.yml
hiergaut Mar 20, 2024
00c5cfd
[ci] added pullRequest.yml
hiergaut Mar 19, 2024
b473bfb
[format] fixup build after resolve conflict during formatting
hiergaut Mar 20, 2024
47dea31
[gitlab] update config
hiergaut Mar 19, 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
90 changes: 90 additions & 0 deletions .github/workflows/pullRequest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@

name: Pull request

defaults:
run:
shell: bash

on:
pull_request:
branches: [ main ]

env:
BUILD_TYPE: Debug

jobs:
build:
runs-on: ${{ matrix.config.os }}
strategy:
# fail-fast: false
matrix:
config:
- { name: "Windows MSVC", os: windows-latest, cc: "cl.exe", cxx: "cl.exe", icon: "Windows"}
- { name: "Ubuntu gcc", os: ubuntu-latest, cc: "gcc", cxx: "g++", icon: "Linux" }
- { name: "MacOS clang", os: macos-latest, cc: "clang", cxx: "clang++", icon: "Apple" }

steps:
- uses: actions/checkout@v3

- name: Configure CMake
run: cmake -B "${{github.workspace}}/build" -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_INSTALL_PREFIX=install -DHUB_BUILD_DOC=ON
# run: cmake -B "${{github.workspace}}/build" -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_INSTALL_PREFIX=install -DHUB_ENABLE_TESTS=ON

# - name: Build
# run: cmake --build "${{github.workspace}}/build" --config ${{env.BUILD_TYPE}}
#
# - name: Install
# run: cmake --install "${{github.workspace}}/build" --config ${{env.BUILD_TYPE}}
#
# - name: Test
# run: cmake --build "${{github.workspace}}/build" --config ${{env.BUILD_TYPE}} --target hub-tests-bin # tests with C++ and native C viewers and only one instance of server for all tests
# # run: cmake --build "${{github.workspace}}/build" --config ${{env.BUILD_TYPE}} --target hub-tests # tests only

################################################################################################

runs-on: ubuntu-latest

- name: CppCheck
run: cmake --build ${{github.workspace}}/build --target hub-cppCheck

- name: Cleanup project
run: cmake --build ${{github.workspace}}/build --target hub-cleanup

# Documentation :
#
# - name: Sphinx Build
# # You may pin to the exact commit or the version.
# # uses: ammaraskar/sphinx-action@8b4f60114d7fd1faeba1a712269168508d4750d2
# uses: ammaraskar/sphinx-action@0.4
# with:
# # The folder containing your sphinx docs.
# docs-folder: ${{github.workspace}}/doc/docs_sphinx
# # The command used to build your documentation.
# build-command: make html # optional, default is make html
# # Run before the build command, you can use this to install system level dependencies, for example with "apt-get update -y && apt-get install -y perl"
# pre-build-command: "apt-get update -y" # optional
#
- uses: ssciwr/doxygen-install@v1.3.0
- name: Doc doxygen
run: cmake --build ${{github.workspace}}/build --target hub-doc-doxygen

- name: Install Sphinx and Breathe
run:
sudo apt update -y && sudo apt install -y sphinx-doc
&& pip3 install sphinx-rtd-theme breathe sphinx-sitemap

- name: Build sphinx doc
run:
cmake --build ${{github.workspace}}/build --target hub-doc-sphinx

# - name: Deploy to GitHub Pages
# uses: peaceiris/actions-gh-pages@v3
# # if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
# with:
# # publish_branch: gh-pages
# github_token: ${{ secrets.GITHUB_TOKEN }}
# publish_dir: ${{github.workspace}}/doc/docs_sphinx/_build/api/
# # force_orphan: true



110 changes: 110 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@

name: Push

defaults:
run:
shell: bash

on:
push:
branches: [ '*', '!main' ]

env:
# BUILD_TYPE: Debug
BUILD_TYPE: Release

jobs:
build:
runs-on: ${{ matrix.config.os }}
strategy:
# fail-fast: false
matrix:
config:
# - { name: "Windows MSVC", os: windows-latest, cc: "cl.exe", cxx: "cl.exe", icon: "Windows"}
- { name: "Ubuntu gcc", os: ubuntu-latest, cc: "gcc", cxx: "g++", icon: "Linux" }
# - { name: "MacOS clang", os: macos-latest, cc: "clang", cxx: "clang++", icon: "Apple" }

steps:
- uses: actions/checkout@v3
- uses: ssciwr/doxygen-install@v1.3.0

- name: Install cppCheck
run:
sudo apt install -y cppcheck

- name: Configure CMake
# run: cmake -B "${{github.workspace}}/build" -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_INSTALL_PREFIX=install -DHUB_BUILD_DOC=ON
# run: cmake -B "${{github.workspace}}/build" -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_INSTALL_PREFIX=install -DHUB_ENABLE_TESTS=ON
run: cmake -B "${{github.workspace}}/build" -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DHUB_BUILD_DOC=ON -DHUB_ENABLE_TESTS=ON

- name: Format
run:
sudo apt install -y clang-format cmake-format
&& clang-format --version
&& echo "cmake-format version $(cmake-format --version)"
&& cmake --build ${{github.workspace}}/build --target hub-format
&& git diff --exit-code

- name: CppCheck
run:
cppcheck --version
&& cmake --build ${{github.workspace}}/build --target hub-cppCheck

- name: Doc doxygen
run: cmake --build ${{github.workspace}}/build --target hub-doc-doxygen

# - name: Build
# run: cmake --build "${{github.workspace}}/build" --config ${{env.BUILD_TYPE}}

# - name: Install
# run: cmake --install "${{github.workspace}}/build" --config ${{env.BUILD_TYPE}}

# - name: Test
# run: cmake --build "${{github.workspace}}/build" --config ${{env.BUILD_TYPE}} --target hub-tests-bin # tests with C++ and native C viewers and only one instance of server for all tests
# run: cmake --build "${{github.workspace}}/build" --config ${{env.BUILD_TYPE}} --target hub-tests # tests only

################################################################################################

# runs-on: ubuntu-latest

# - name: Coverage
# run: cmake --build ${{github.workspace}}/build --target hub-coverage



- name: Install Sphinx and Breathe
run:
sudo apt install -y sphinx-doc
&& pip3 install sphinx-rtd-theme breathe sphinx-sitemap

- name: Build sphinx doc
run:
cmake --build ${{github.workspace}}/build --target hub-doc-sphinx

# Documentation :
#
# - name: Sphinx Build
# # You may pin to the exact commit or the version.
# # uses: ammaraskar/sphinx-action@8b4f60114d7fd1faeba1a712269168508d4750d2
# uses: ammaraskar/sphinx-action@0.4
# with:
# # The folder containing your sphinx docs.
# docs-folder: ${{github.workspace}}/doc/docs_sphinx
# # The command used to build your documentation.
# build-command: make html # optional, default is make html
# # Run before the build command, you can use this to install system level dependencies, for example with "apt-get update -y && apt-get install -y perl"
# pre-build-command: "apt-get update -y" # optional
#


# - name: Deploy to GitHub Pages
# uses: peaceiris/actions-gh-pages@v3
# # if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
# with:
# # publish_branch: gh-pages
# github_token: ${{ secrets.GITHUB_TOKEN }}
# publish_dir: ${{github.workspace}}/doc/docs_sphinx/_build/api/
# # force_orphan: true



2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ install/
*.glb
*.history
..bfg-report
!data/compat/*.glb
*.gch
Loading