Skip to content

Commit

Permalink
Merge pull request #183 from dpilger26/v2_10_0
Browse files Browse the repository at this point in the history
V2 10 0
  • Loading branch information
dpilger26 authored Mar 16, 2023
2 parents 2f60ff7 + 28df814 commit aaeb7ef
Show file tree
Hide file tree
Showing 1,712 changed files with 90,708 additions and 65,523 deletions.
37 changes: 37 additions & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
Checks: >
clang-analyzer-*,
# cppcoreguidelines-*,
# bugprone-*,
# -bugprone-easily-swappable-parameters,
google-readability-*,
modernize-*,
-modernize-use-trailing-return-type,
# Turn all the warnings from the checks above into errors.
WarningsAsErrors: "*"

CheckOptions:
- { key: readability-identifier-naming.NamespaceCase, value: lower_case }
- { key: readability-identifier-naming.ClassCase, value: CamelCase }
- { key: readability-identifier-naming.ClassMethodCase, value: camelBack }
- { key: readability-identifier-naming.StructCase, value: CamelCase }
- {
key: readability-identifier-naming.TemplateParameterCase,
value: CamelCase,
}
- { key: readability-identifier-naming.FunctionCase, value: camelBack }
- { key: readability-identifier-naming.VariableCase, value: camelBack }
- { key: readability-identifier-naming.PrivateMemberSuffix, value: _ }
- { key: readability-identifier-naming.ProtectedMemberSuffix, value: _ }
- {
key: readability-identifier-naming.MacroDefinitionCase,
value: UPPER_CASE,
}
- { key: readability-identifier-naming.EnumConstantCase, value: UPPER_CASE }
- {
key: readability-identifier-naming.ConstexprVariableCase,
value: UPPER_CASE,
}
- { key: readability-identifier-naming.GlobalConstantCase, value: UPPER_CASE }
- { key: readability-identifier-naming.MemberConstantCase, value: UPPER_CASE }
- { key: readability-identifier-naming.StaticConstantCase, value: UPPER_CASE }
2 changes: 1 addition & 1 deletion .github/actions/BuildTestInstall/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ runs:

- name: Build
shell: ${{inputs.shell}}
run: cmake --build ${{github.workspace}}/build --config Release -j16
run: cmake --build ${{github.workspace}}/build --config Release -j8

- name: Test
shell: ${{inputs.shell}}
Expand Down
1 change: 1 addition & 0 deletions .github/actions/LinuxEnvironmentSetup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ runs:
run: |
sudo apt update
sudo apt install -y libboost-all-dev
sudo apt install -y clang --install-suggests
192 changes: 184 additions & 8 deletions .github/workflows/Tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
branches: ["master", "develop"]

jobs:
test_linux_cxx_17_single_thread:
test_linux_gcc_cxx_17_single_thread:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -25,7 +25,7 @@ jobs:
numcpp_use_multithread: false
sudo: sudo

test_linux_cxx_17_multi_thread:
test_linux_gcc_cxx_17_multi_thread:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -44,7 +44,7 @@ jobs:
numcpp_use_multithread: true
sudo: sudo

test_linux_no_boost_cxx_17_single_thread:
test_linux_gcc_no_boost_cxx_17_single_thread:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -63,7 +63,7 @@ jobs:
numcpp_use_multithread: false
sudo: sudo

test_linux_no_boost_cxx_17_multi_thread:
test_linux_gcc_no_boost_cxx_17_multi_thread:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -82,7 +82,7 @@ jobs:
numcpp_use_multithread: true
sudo: sudo

test_linux_cxx_20_single_thread:
test_linux_gcc_cxx_20_single_thread:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -101,7 +101,7 @@ jobs:
numcpp_use_multithread: false
sudo: sudo

test_linux_cxx_20_multi_thread:
test_linux_gcc_cxx_20_multi_thread:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -120,7 +120,7 @@ jobs:
numcpp_use_multithread: true
sudo: sudo

test_linux_no_boost_cxx_20_single_thread:
test_linux_gcc_no_boost_cxx_20_single_thread:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -139,7 +139,7 @@ jobs:
numcpp_use_multithread: false
sudo: sudo

test_linux_no_boost_cxx_20_multi_thread:
test_linux_gcc_no_boost_cxx_20_multi_thread:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -158,6 +158,182 @@ jobs:
numcpp_use_multithread: true
sudo: sudo

test_linux_clang_cxx_17_single_thread:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Configure Environment
uses: ./.github/actions/LinuxEnvironmentSetup

- name: Build and Test
uses: ./.github/actions/BuildTestInstall
env:
CC: clang
CXX: clang++
with:
numcpp_no_use_boost: OFF
shell: bash -l {0}
boost_root: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0
cxx_std_version: 17
numcpp_use_multithread: false
sudo: sudo

test_linux_clang_cxx_17_multi_thread:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Configure Environment
uses: ./.github/actions/LinuxEnvironmentSetup

- name: Build and Test
uses: ./.github/actions/BuildTestInstall
env:
CC: clang
CXX: clang++
with:
numcpp_no_use_boost: OFF
shell: bash -l {0}
boost_root: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0
cxx_std_version: 17
numcpp_use_multithread: true
sudo: sudo

test_linux_clang_no_boost_cxx_17_single_thread:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Configure Environment
uses: ./.github/actions/LinuxEnvironmentSetup

- name: Build and Test
uses: ./.github/actions/BuildTestInstall
env:
CC: clang
CXX: clang++
with:
numcpp_no_use_boost: ON
shell: bash -l {0}
boost_root: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0
cxx_std_version: 17
numcpp_use_multithread: false
sudo: sudo

test_linux_clang_no_boost_cxx_17_multi_thread:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Configure Environment
uses: ./.github/actions/LinuxEnvironmentSetup

- name: Build and Test
uses: ./.github/actions/BuildTestInstall
env:
CC: clang
CXX: clang++
with:
numcpp_no_use_boost: ON
shell: bash -l {0}
boost_root: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0
cxx_std_version: 17
numcpp_use_multithread: true
sudo: sudo

test_linux_clang_cxx_20_single_thread:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Configure Environment
uses: ./.github/actions/LinuxEnvironmentSetup

- name: Build and Test
uses: ./.github/actions/BuildTestInstall
env:
CC: clang
CXX: clang++
with:
numcpp_no_use_boost: OFF
shell: bash -l {0}
boost_root: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0
cxx_std_version: 20
numcpp_use_multithread: false
sudo: sudo

test_linux_clang_cxx_20_multi_thread:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Configure Environment
uses: ./.github/actions/LinuxEnvironmentSetup

- name: Build and Test
uses: ./.github/actions/BuildTestInstall
env:
CC: clang
CXX: clang++
with:
numcpp_no_use_boost: OFF
shell: bash -l {0}
boost_root: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0
cxx_std_version: 20
numcpp_use_multithread: true
sudo: sudo

test_linux_clang_no_boost_cxx_20_single_thread:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Configure Environment
uses: ./.github/actions/LinuxEnvironmentSetup

- name: Build and Test
uses: ./.github/actions/BuildTestInstall
env:
CC: clang
CXX: clang++
with:
numcpp_no_use_boost: ON
shell: bash -l {0}
boost_root: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0
cxx_std_version: 20
numcpp_use_multithread: false
sudo: sudo

test_linux_clang_no_boost_cxx_20_multi_thread:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Configure Environment
uses: ./.github/actions/LinuxEnvironmentSetup

- name: Build and Test
uses: ./.github/actions/BuildTestInstall
env:
CC: clang
CXX: clang++
with:
numcpp_no_use_boost: ON
shell: bash -l {0}
boost_root: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0
cxx_std_version: 20
numcpp_use_multithread: true
sudo: sudo

test_windows_cxx_17_single_thread:
runs-on: windows-latest
steps:
Expand Down
44 changes: 0 additions & 44 deletions .travis.yml

This file was deleted.

Loading

0 comments on commit aaeb7ef

Please sign in to comment.