Skip to content

Commit

Permalink
ci use presets
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed Nov 14, 2024
1 parent 3fac4d7 commit bdee11f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/ci_cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ name: ci_cmake
env:
HOMEBREW_NO_INSTALL_CLEANUP: 1
CMAKE_BUILD_PARALLEL_LEVEL: 4
CTEST_PARALLEL_LEVEL: 0
CTEST_NO_TESTS_ACTION: error

on:
push:
Expand Down
7 changes: 6 additions & 1 deletion CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@
"name": "default",
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"CMAKE_COMPILE_WARNING_AS_ERROR": true
"CMAKE_COMPILE_WARNING_AS_ERROR": true,
"CMAKE_LINK_WARNING_AS_ERROR": true
},
"environment": {
"CTEST_PARALLEL_LEVEL": "0",
"CTEST_NO_TESTS_ACTION": "error"
}
}
],
Expand Down

0 comments on commit bdee11f

Please sign in to comment.