Skip to content

Commit a45831e

Browse files
committed
Turn off building unit tests by default.
1 parent 02a47e5 commit a45831e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/ccpp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
# Note the current convention is to use the -S and -B options here to specify source
4646
# and build directories, but this is only available with CMake 3.13 and higher.
4747
# The CMake binaries on the Github Actions machines are (as of this writing) 3.12
48-
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DSCITOKENS_BUILD_UNITTESTS=yes -DSCITOKENS_EXTERNAL_GTEST=${{ matrix.external-gtest }} -DSCITOKENS_WITH_ASAN=${{ matrix.asan }}
48+
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DSCITOKENS_BUILD_UNITTESTS=ON -DSCITOKENS_EXTERNAL_GTEST=${{ matrix.external-gtest }} -DSCITOKENS_WITH_ASAN=${{ matrix.asan }}
4949

5050
- name: Build
5151
working-directory: ${{runner.workspace}}/build

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ project( scitokens-cpp
66
VERSION 1.0.2
77
LANGUAGES CXX)
88

9-
option( SCITOKENS_BUILD_UNITTESTS "Build the scitokens-cpp unit tests" ON )
10-
option( SCITOKENS_EXTERNAL_GTEST " Use an external/pre-installed copy of GTest" OFF )
11-
option( SCITOKENS_WITH_ASAN "Build with the address santizier" OFF )
9+
option( SCITOKENS_BUILD_UNITTESTS "Build the scitokens-cpp unit tests" OFF )
10+
option( SCITOKENS_EXTERNAL_GTEST "Use an external/pre-installed copy of GTest" OFF )
11+
option( SCITOKENS_WITH_ASAN "Build with the address sanitizer" OFF )
1212

1313
set( CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake;${CMAKE_MODULE_PATH}" )
1414

0 commit comments

Comments
 (0)