Skip to content

Commit 44691f0

Browse files
authored
Merge pull request #35 from BlackMATov/dev
Dev
2 parents 98184d7 + a21a6bd commit 44691f0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+646
-7455
lines changed

.ci/build_coverage.sh

Lines changed: 0 additions & 19 deletions
This file was deleted.

.ci/build_darwin.sh

Lines changed: 0 additions & 11 deletions
This file was deleted.

.ci/build_linux.sh

Lines changed: 0 additions & 11 deletions
This file was deleted.

.ci/build_windows_x64.bat

Lines changed: 0 additions & 19 deletions
This file was deleted.

.ci/build_windows_x86.bat

Lines changed: 0 additions & 19 deletions
This file was deleted.

.clang-tidy

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
Checks: '-*,
3+
4+
bugprone-*,
5+
6+
clang-analyzer-*,
7+
8+
concurrency-*,
9+
10+
cppcoreguidelines-*,
11+
-cppcoreguidelines-macro-usage,
12+
-cppcoreguidelines-pro-bounds-constant-array-index,
13+
14+
modernize-*,
15+
-modernize-use-auto,
16+
-modernize-use-trailing-return-type,
17+
18+
performance-*,
19+
20+
portability-*,
21+
22+
readability-*,
23+
-readability-identifier-length,
24+
-readability-named-parameter,
25+
-readability-redundant-access-specifiers,
26+
'
27+
...

.github/workflows/coverage.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.

.github/workflows/darwin.yml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,22 @@ jobs:
1010
matrix:
1111
config:
1212
# https://github.com/actions/virtual-environments/tree/main/images/macos
13-
- { os: "macos-10.15", xcode: "10.3" }
14-
- { os: "macos-10.15", xcode: "11.7" }
15-
- { os: "macos-10.15", xcode: "12.4" }
13+
- { os: "macos-10.15", xcode: "10.3", arch: "x64" }
14+
- { os: "macos-12", xcode: "14.2", arch: "x64" }
1615
name: "xcode-${{matrix.config.xcode}}"
1716
steps:
18-
- uses: actions/checkout@v2
17+
- name: Setup
18+
run: brew install cmake ninja
19+
- name: Checkout
20+
uses: actions/checkout@v3
1921
with:
20-
submodules: recursive
22+
submodules: true
2123
- name: Select Xcode
2224
run: sudo xcode-select --switch "/Applications/Xcode_${{matrix.config.xcode}}.app"
23-
- name: Build && Test
24-
run: .ci/build_darwin.sh
25+
- name: Build
26+
run: |
27+
cmake --preset macos-${{matrix.config.arch}}
28+
cmake --build --preset macos-${{matrix.config.arch}}-release
29+
- name: Test
30+
run: |
31+
ctest --preset macos-${{matrix.config.arch}}-release

.github/workflows/linux.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,21 @@ jobs:
1111
config:
1212
# https://github.com/actions/virtual-environments/tree/main/images/linux
1313
- { os: "ubuntu-20.04", cc: "gcc-7", cxx: "g++-7" }
14-
- { os: "ubuntu-20.04", cc: "gcc-8", cxx: "g++-8" }
15-
- { os: "ubuntu-20.04", cc: "gcc-9", cxx: "g++-9" }
16-
- { os: "ubuntu-20.04", cc: "gcc-10", cxx: "g++-10" }
1714
- { os: "ubuntu-20.04", cc: "clang-7", cxx: "clang++-7" }
18-
- { os: "ubuntu-20.04", cc: "clang-8", cxx: "clang++-8" }
19-
- { os: "ubuntu-20.04", cc: "clang-9", cxx: "clang++-9" }
20-
- { os: "ubuntu-20.04", cc: "clang-10", cxx: "clang++-10" }
15+
- { os: "ubuntu-22.04", cc: "gcc-12", cxx: "g++-12" }
16+
- { os: "ubuntu-22.04", cc: "clang-14", cxx: "clang++-14" }
2117
name: "${{matrix.config.cxx}}"
2218
steps:
2319
- name: Setup
24-
run: sudo apt-get -y install "${{matrix.config.cc}}" "${{matrix.config.cxx}}"
20+
run: sudo apt-get -y install cmake ninja-build ${{matrix.config.cc}} ${{matrix.config.cxx}}
2521
- name: Checkout
26-
uses: actions/checkout@v2
22+
uses: actions/checkout@v3
2723
with:
28-
submodules: recursive
29-
- name: Build && Test
30-
run: .ci/build_linux.sh
31-
env: { CC: "${{matrix.config.cc}}", CXX: "${{matrix.config.cxx}}" }
24+
submodules: true
25+
- name: Build
26+
run: |
27+
cmake --preset linux-${{matrix.config.cc}}
28+
cmake --build --preset linux-${{matrix.config.cc}}-release
29+
- name: Test
30+
run: |
31+
ctest --preset linux-${{matrix.config.cc}}-release

.github/workflows/windows.yml

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,24 @@ jobs:
1010
matrix:
1111
config:
1212
# https://github.com/actions/virtual-environments/tree/main/images/win
13-
- { os: "windows-2016", vs: "Visual Studio 2017", arch: "x86" }
14-
- { os: "windows-2016", vs: "Visual Studio 2017", arch: "x64" }
15-
- { os: "windows-2019", vs: "Visual Studio 2019", arch: "x86" }
16-
- { os: "windows-2019", vs: "Visual Studio 2019", arch: "x64" }
17-
name: "${{matrix.config.vs}} ${{matrix.config.arch}}"
13+
- { os: "windows-2019", vc: "msvc2019", arch: "x86" }
14+
- { os: "windows-2019", vc: "msvc2019", arch: "x64" }
15+
- { os: "windows-2022", vc: "msvc2022", arch: "x86" }
16+
- { os: "windows-2022", vc: "msvc2022", arch: "x64" }
17+
name: "${{matrix.config.vc}} ${{matrix.config.arch}}"
1818
steps:
19-
- uses: actions/checkout@v2
19+
- name: Setup
20+
run: choco install cmake ninja
21+
- name: Checkout
22+
uses: actions/checkout@v3
2023
with:
21-
submodules: recursive
22-
- name: Build && Test
23-
run: .ci\build_windows_${{matrix.config.arch}}.bat
24+
submodules: true
25+
- name: Select MSVC
26+
uses: ilammy/msvc-dev-cmd@v1
27+
- name: Build
28+
run: |
29+
cmake --preset windows-${{matrix.config.arch}}-${{matrix.config.vc}}
30+
cmake --build --preset windows-${{matrix.config.arch}}-${{matrix.config.vc}}-release
31+
- name: Test
32+
run: |
33+
ctest --preset windows-${{matrix.config.arch}}-${{matrix.config.vc}}-release

0 commit comments

Comments
 (0)