additional macos test presets

This commit is contained in:
BlackMATov
2023-06-24 12:04:02 +07:00
parent 0688faa825
commit 444f98eb78
4 changed files with 102 additions and 77 deletions

View File

@@ -31,4 +31,4 @@ jobs:
cmake --build --preset macos-${{matrix.config.arch}}-release cmake --build --preset macos-${{matrix.config.arch}}-release
- name: Test - name: Test
run: | run: |
ctest --preset macos-${{matrix.config.arch}}-release ctest --preset macos-${{matrix.config.arch}}

View File

@@ -30,4 +30,4 @@ jobs:
cmake --build --preset linux-${{matrix.config.cc}}-release cmake --build --preset linux-${{matrix.config.cc}}-release
- name: Test - name: Test
run: | run: |
ctest --preset linux-${{matrix.config.cc}}-release ctest --preset linux-${{matrix.config.cc}}

View File

@@ -30,4 +30,4 @@ jobs:
cmake --build --preset windows-${{matrix.config.arch}}-${{matrix.config.vc}}-release cmake --build --preset windows-${{matrix.config.arch}}-${{matrix.config.vc}}-release
- name: Test - name: Test
run: | run: |
ctest --preset windows-${{matrix.config.arch}}-${{matrix.config.vc}}-release ctest --preset windows-${{matrix.config.arch}}-${{matrix.config.vc}}

View File

@@ -1,12 +1,10 @@
{ {
"version": 3, "version": 3,
"cmakeMinimumRequired": { "cmakeMinimumRequired": {
"major": 3, "major": 3,
"minor": 21, "minor": 21,
"patch": 0 "patch": 0
}, },
"configurePresets": [ "configurePresets": [
{ {
"name": "ninja-base", "name": "ninja-base",
@@ -203,7 +201,6 @@
} }
} }
], ],
"buildPresets": [ "buildPresets": [
{ {
"name": "linux-clang-10-debug", "name": "linux-clang-10-debug",
@@ -336,63 +333,91 @@
"configurePreset": "windows-x64-msvc2022" "configurePreset": "windows-x64-msvc2022"
} }
], ],
"testPresets": [ "testPresets": [
{ {
"name": "test-base", "name": "test-base",
"hidden": true, "hidden": true,
"output": { "output": {
"verbosity": "verbose" "verbosity": "verbose"
}, }
"configuration": "Release"
}, },
{ {
"name": "linux-clang-10-release", "name": "linux-clang-10",
"inherits": "test-base", "inherits": "test-base",
"configurePreset": "linux-clang-10" "configurePreset": "linux-clang-10"
}, },
{ {
"name": "linux-clang-14-release", "name": "linux-clang-14",
"inherits": "test-base", "inherits": "test-base",
"configurePreset": "linux-clang-14" "configurePreset": "linux-clang-14"
}, },
{ {
"name": "linux-gcc-10-release", "name": "linux-gcc-10",
"inherits": "test-base", "inherits": "test-base",
"configurePreset": "linux-gcc-10" "configurePreset": "linux-gcc-10"
}, },
{ {
"name": "linux-gcc-12-release", "name": "linux-gcc-12",
"inherits": "test-base", "inherits": "test-base",
"configurePreset": "linux-gcc-12" "configurePreset": "linux-gcc-12"
}, },
{ {
"name": "macos-arm64-release", "name": "macos-arm64",
"inherits": "test-base", "inherits": "test-base",
"configurePreset": "macos-arm64" "configurePreset": "macos-arm64"
}, },
{ {
"name": "macos-x64-release", "name": "macos-arm64-san",
"inherits": "test-base",
"configurePreset": "macos-arm64-san"
},
{
"name": "macos-arm64-san-no-exceptions",
"inherits": "test-base",
"configurePreset": "macos-arm64-san-no-exceptions"
},
{
"name": "macos-arm64-san-no-rtti",
"inherits": "test-base",
"configurePreset": "macos-arm64-san-no-rtti"
},
{
"name": "macos-x64",
"inherits": "test-base", "inherits": "test-base",
"configurePreset": "macos-x64" "configurePreset": "macos-x64"
}, },
{ {
"name": "windows-x86-msvc2019-release", "name": "macos-x64-san",
"inherits": "test-base",
"configurePreset": "macos-x64-san"
},
{
"name": "macos-x64-san-no-exceptions",
"inherits": "test-base",
"configurePreset": "macos-x64-san-no-exceptions"
},
{
"name": "macos-x64-san-no-rtti",
"inherits": "test-base",
"configurePreset": "macos-x64-san-no-rtti"
},
{
"name": "windows-x86-msvc2019",
"inherits": "test-base", "inherits": "test-base",
"configurePreset": "windows-x86-msvc2019" "configurePreset": "windows-x86-msvc2019"
}, },
{ {
"name": "windows-x64-msvc2019-release", "name": "windows-x64-msvc2019",
"inherits": "test-base", "inherits": "test-base",
"configurePreset": "windows-x64-msvc2019" "configurePreset": "windows-x64-msvc2019"
}, },
{ {
"name": "windows-x86-msvc2022-release", "name": "windows-x86-msvc2022",
"inherits": "test-base", "inherits": "test-base",
"configurePreset": "windows-x86-msvc2022" "configurePreset": "windows-x86-msvc2022"
}, },
{ {
"name": "windows-x64-msvc2022-release", "name": "windows-x64-msvc2022",
"inherits": "test-base", "inherits": "test-base",
"configurePreset": "windows-x64-msvc2022" "configurePreset": "windows-x64-msvc2022"
} }