diff --git a/.clang-tidy b/.clang-tidy new file mode 100644 index 000000000..2eb781397 --- /dev/null +++ b/.clang-tidy @@ -0,0 +1,36 @@ +--- +Checks: '*, -abseil-*, -altera-*, -android-*, -fuchsia-*, -google-*, -llvm*, -modernize-use-trailing-return-type, + -zircon-*, -readability-else-after-return, -readability-static-accessed-through-instance, + -readability-avoid-const-params-in-decls, -cppcoreguidelines-non-private-member-variables-in-classes, + -misc-non-private-member-variables-in-classes, -cppcoreguidelines-pro-bounds-array-to-pointer-decay, + -hicpp-no-array-decay, -readability-identifier-length' +WarningsAsErrors: '' +HeaderFilterRegex: subprojects/** +FormatStyle: file +CheckOptions: + - key: readability-identifier-naming.VariableCase + value: camelBack + - key: readability-identifier-naming.GlobalConstantCase + value: UPPER_CASE + - key: readability-identifier-naming.FunctionCase + value: camelBack + - key: readability-identifier-naming.ClassCase + value: CamelCase + - key: readability-identifier-naming.MethodCase + value: camelBack + - key: readability-identifier-naming.ParameterCase + value: camelBack + - key: readability-identifier-naming.MemberCase + value: camelBack + - key: readability-identifier-naming.StructCase + value: CamelCase + - key: readability-identifier-naming.StructIgnoredRegexp + value: .*_t$ + - key: readability-identifier-naming.TypedefCase + value: CamelCase + - key: readability-identifier-naming.TypedefIgnoredRegexp + value: .*_t$ + - key: readability-identifier-naming.TypedefCase + value: CamelCase + - key: readability-identifier-naming.TypedefIgnoredRegexp + value: .*_t$ diff --git a/.conan/conan.lock b/.conan/conan.lock index e1b6f4dcb..9488cb433 100644 --- a/.conan/conan.lock +++ b/.conan/conan.lock @@ -1,15 +1,16 @@ { "version": "0.5", "requires": [ - "zlib/1.3.1#cac0f6daea041b0ccf42934163defb20%1765284699.337", + "zlib/1.3.2#1cb806da49011867778ffb6ac7190fcb%1777558780.503", "openssl/3.6.1#2e0be4a996c7ca91feb31b7fe65117b9%1769599203.736", "nlohmann_json/3.10.2#f7dd8a726eb4ae419cab43476be84ed1%1700513007.299", - "metee/6.0.0#a4a1918ceb5d5b2f4d0dc8e126fbeed6%1772475347.8847659", + "metee/6.0.0#a4a1918ceb5d5b2f4d0dc8e126fbeed6%1779892754.9902008", "libcurl/8.5.0#9117c8494e898cf70bbd965658a925bc%1745508826.006", - "level-zero/1.27.0#168f0bc338b3f1097f4f98209af7f59a%1773056912.6524134", - "igsc/0.9.6#88127b6d017a24466f581aa0adc094b5%1772475350.695227", + "level-zero/1.27.0#168f0bc338b3f1097f4f98209af7f59a%1779892818.0372772", + "igsc/0.9.6#88127b6d017a24466f581aa0adc094b5%1779892761.5102684", "hwloc/2.9.3#11acb96cf1e611d293bf90172fadff7d%1717065022.873", "doctest/2.4.11#a4211dfc329a16ba9f280f9574025659%1681601797.282", + "cli11/2.6.2#312ccb795ff5b571d9f4b1a3637b1eee%1776949795.774", "boost-ext-ut/2.1.0#aec3873a3273d96f85093971c6c8b206%1749912871.352" ], "build_requires": [ diff --git a/.github/workflows/docs-deploy.yml b/.github/workflows/docs-deploy.yml new file mode 100644 index 000000000..19a080de9 --- /dev/null +++ b/.github/workflows/docs-deploy.yml @@ -0,0 +1,73 @@ +name: Deploy Docs to gh-pages + +on: + push: + branches: [main, dev, v1.3.x] + paths: + - 'docs/sphinx/**' + - '.github/workflows/docs-deploy.yml' + workflow_dispatch: + +permissions: + contents: write + +concurrency: + group: gh-pages + cancel-in-progress: true + +jobs: + build-and-deploy: + runs-on: ubuntu-24.04 + steps: + - name: Checkout main/dev branch (2.x docs) + uses: actions/checkout@v4 + with: + path: src/2.x + + - name: Checkout v1.3.x branch (1.x docs) + id: checkout_1x + continue-on-error: true + uses: actions/checkout@v4 + with: + ref: v1.3.x + path: src/1.x + + - uses: actions/setup-python@v5 + with: + python-version: '3.12' + + - name: Install dependencies + run: pip install -r src/2.x/docs/sphinx/requirements.txt + + - name: Strip 1.x from version switcher (no v1.3.x branch) + if: steps.checkout_1x.outcome != 'success' + run: | + sed -i "/'