-
Notifications
You must be signed in to change notification settings - Fork 216
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into thread-safety-doc
- Loading branch information
Showing
442 changed files
with
3,343 additions
and
1,526 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
--- | ||
Checks: | ||
- "-*" | ||
- "misc-include-cleaner" | ||
- "bugprone-argument-comment" | ||
- "bugprone-assert-side-effect" | ||
- "bugprone-assignment-in-if-condition" | ||
- "bugprone-bad-signal-to-kill-thread" | ||
- "bugprone-bool-pointer-implicit-conversion" | ||
- "bugprone-branch-clone" | ||
- "bugprone-casting-through-void" | ||
- "bugprone-chained-comparison" | ||
- "bugprone-compare-pointer-to-member-virtual-function" | ||
- "bugprone-copy-constructor-init" | ||
- "bugprone-crtp-constructor-accessibility" | ||
- "bugprone-dangling-handle" | ||
- "bugprone-dynamic-static-initializers" | ||
- "-bugprone-easily-swappable-parameters" | ||
- "bugprone-empty-catch" | ||
- "bugprone-exception-escape" | ||
- "bugprone-fold-init-type" | ||
- "bugprone-forward-declaration-namespace" | ||
- "bugprone-forwarding-reference-overload" | ||
- "bugprone-implicit-widening-of-multiplication-result" | ||
- "bugprone-inaccurate-erase" | ||
- "bugprone-inc-dec-in-conditions" | ||
- "bugprone-incorrect-enable-if" | ||
- "bugprone-incorrect-roundings" | ||
- "bugprone-infinite-loop" | ||
- "bugprone-unhandled-self-assignment" | ||
- "bugprone-unchecked-optional-access" | ||
|
||
- "bugprone-integer-division" | ||
- "bugprone-lambda-function-name" | ||
- "bugprone-macro-parentheses" | ||
- "bugprone-macro-repeated-side-effects" | ||
- "bugprone-misplaced-operator-in-strlen-in-alloc" | ||
- "bugprone-misplaced-pointer-arithmetic-in-alloc" | ||
- "bugprone-misplaced-widening-cast" | ||
- "bugprone-move-forwarding-reference" | ||
- "bugprone-multi-level-implicit-pointer-conversion" | ||
- "bugprone-multiple-new-in-one-expression" | ||
- "bugprone-multiple-statement-macro" | ||
- "bugprone-no-escape" | ||
- "bugprone-non-zero-enum-to-bool-conversion" | ||
- "bugprone-not-null-terminated-result" | ||
- "bugprone-optional-value-conversion" | ||
- "bugprone-parent-virtual-call" | ||
- "bugprone-pointer-arithmetic-on-polymorphic-object" | ||
- "bugprone-posix-return" | ||
- "bugprone-redundant-branch-condition" | ||
- "bugprone-reserved-identifier" | ||
- "bugprone-return-const-ref-from-parameter" | ||
- "bugprone-shared-ptr-array-mismatch" | ||
- "bugprone-signal-handler" | ||
- "bugprone-signed-char-misuse" | ||
- "bugprone-sizeof-container" | ||
- "bugprone-sizeof-expression" | ||
- "bugprone-spuriously-wake-up-functions" | ||
- "bugprone-standalone-empty" | ||
- "bugprone-string-constructor" | ||
- "bugprone-string-integer-assignment" | ||
- "bugprone-string-literal-with-embedded-nul" | ||
- "bugprone-stringview-nullptr" | ||
- "bugprone-suspicious-enum-usage" | ||
- "bugprone-suspicious-include" | ||
- "bugprone-suspicious-memory-comparison" | ||
- "bugprone-suspicious-memset-usage" | ||
- "bugprone-suspicious-missing-comma" | ||
- "bugprone-suspicious-realloc-usage" | ||
- "bugprone-suspicious-semicolon" | ||
- "bugprone-suspicious-string-compare" | ||
- "bugprone-suspicious-stringview-data-usage" | ||
- "bugprone-swapped-arguments" | ||
- "bugprone-switch-missing-default-case" | ||
- "bugprone-terminating-continue" | ||
- "bugprone-throw-keyword-missing" | ||
- "bugprone-too-small-loop-variable" | ||
- "bugprone-undefined-memory-manipulation" | ||
- "bugprone-undelegated-constructor" | ||
- "bugprone-unhandled-exception-at-new" | ||
- "bugprone-unique-ptr-array-mismatch" | ||
- "bugprone-unsafe-functions" | ||
- "bugprone-unused-local-non-trivial-variable" | ||
- "bugprone-unused-raii" | ||
- "bugprone-unused-return-value" | ||
- "bugprone-use-after-move" | ||
- "bugprone-virtual-near-miss" | ||
- "-readability-redundant-member-init" | ||
|
||
#WarningsAsErrors: "*" | ||
WarningsAsErrors: "" | ||
FormatStyle: none | ||
CheckOptions: | ||
- key: readability-implicit-bool-conversion.AllowPointerConditions | ||
value: "true" | ||
- key: cppcoreguidelines-rvalue-reference-param-not-moved.AllowPartialMove | ||
value: "true" | ||
- key: modernize-use-auto.RemoveStars | ||
value: "true" | ||
- key: misc-include-cleaner.IgnoreHeaders | ||
value: ".*cesium-async\\+\\+\\.h" | ||
HeaderFilterRegex: ".*" | ||
HeaderFileExtensions: ["h"] | ||
ImplementationFileExtensions: ["cpp"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,44 @@ jobs: | |
run: | | ||
npm install | ||
npm run format -- --dry-run -Werror | ||
Linting: | ||
name: "Linting" | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- name: Check out repository code | ||
uses: actions/checkout@v4 | ||
- name: Install ninja | ||
uses: seanmiddleditch/gha-setup-ninja@master | ||
- name: Install nasm | ||
uses: ilammy/setup-nasm@v1 | ||
- name: ccache | ||
uses: hendrikmuhs/[email protected] | ||
with: | ||
key: ccache-ubuntu-24.04-clang-clang-tidy | ||
- name: Cache vcpkg artifacts | ||
uses: actions/cache@v4 | ||
with: | ||
path: ~/.ezvcpkg | ||
key: vcpkg-ubuntu-24.04-clang-${{ hashFiles('CMakeLists.txt') }} | ||
restore-keys: | | ||
vcpkg-ubuntu-24.04-clang-${{ hashFiles('CMakeLists.txt') }} | ||
vcpkg-ubuntu-24.04-clang | ||
- name: Set CC and CXX | ||
run: | | ||
echo "CC=clang-18" >> "$GITHUB_ENV" | ||
echo "CXX=clang++-18" >> "$GITHUB_ENV" | ||
- name: Make more swap space available | ||
run: | | ||
sudo swapoff -a | ||
sudo fallocate -l 10G /mnt/swapfile | ||
sudo chmod 600 /mnt/swapfile | ||
sudo mkswap /mnt/swapfile | ||
sudo swapon /mnt/swapfile | ||
sudo swapon --show | ||
- name: Run clang-tidy | ||
run: | | ||
cmake -B build -S . -DCMAKE_BUILD_TYPE=Debug | ||
cmake --build build --target clang-tidy | ||
Documentation: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
|
@@ -21,6 +59,18 @@ jobs: | |
uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
- name: ccache | ||
uses: hendrikmuhs/[email protected] | ||
with: | ||
key: ccache-ubuntu-22.04-doxygen | ||
- name: Cache vcpkg artifacts | ||
uses: actions/cache@v4 | ||
with: | ||
path: ~/.ezvcpkg | ||
key: vcpkg-ubuntu-22.04-doxygen-${{ hashFiles('CMakeLists.txt') }} | ||
restore-keys: | | ||
vcpkg-ubuntu-22.04-doxygen-${{ hashFiles('CMakeLists.txt') }} | ||
vcpkg-ubuntu-22.04-doxygen | ||
- name: Generate Documentation | ||
run: | | ||
npm install | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.