Skip to content

Commit

Permalink
CI: Only publish benchmarks for the Benchmark target
Browse files Browse the repository at this point in the history
  • Loading branch information
drowaudio committed Sep 24, 2024
1 parent 702ad41 commit 1616d00
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_ctest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
config_preset: "windows"
build_preset: "windows"
cmake_host_system_name: "Windows"
- publish_benchmark: true
- publish_benchmark: ${{ matrix.target == 'Benchmarks' }}

runs-on: ${{ matrix.os }}
steps:
Expand Down
12 changes: 0 additions & 12 deletions CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,13 @@
"minor": 22,
"patch": 0
},
//==============================================================================
// Config
//==============================================================================
"configurePresets": [
{
// Base presets
"name": "binary-dir",
"binaryDir": "cmake-build/${hostSystemName}/cmake-${presetName}",
"hidden": true
},
{
// Configs for single-config generators
"name": "Debug",
"hidden": true,
"inherits": [ "binary-dir" ],
Expand All @@ -41,14 +36,12 @@
}
},
{
// Ninja
"name": "ninja",
"generator": "Ninja",
"inherits": [ "binary-dir" ],
"hidden": true
},
{
// Ninja-multi
"name": "ninja-multi",
"generator": "Ninja Multi-Config",
"inherits": [ "binary-dir" ],
Expand All @@ -69,25 +62,20 @@
"cacheVariables": { "CMAKE_CXX_FLAGS": "-fsanitize=thread" }
},
{
// Xcode
"name": "xcode",
"generator": "Xcode",
"inherits": [ "binary-dir" ],
"condition": { "type": "equals", "lhs": "${hostSystemName}", "rhs": "Darwin" },
"hidden": false
},
{
// Windows
"name": "windows",
"architecture": "x64",
"inherits": [ "binary-dir" ],
"condition": { "type": "equals", "lhs": "${hostSystemName}", "rhs": "Windows" },
"hidden": false
}
],
//==============================================================================
// Build
//==============================================================================
"buildPresets": [
{
"name": "ninja-Debug",
Expand Down

0 comments on commit 1616d00

Please sign in to comment.