Skip to content

Commit 0b8c4b6

Browse files
committed
Build tests by default
1 parent 10b8331 commit 0b8c4b6

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
steps:
1919
- uses: actions/checkout@v3
2020
- name: cmake
21-
run: cmake -S . -B build -DCMAKE_BUILD_TYPE=${{matrix.build}} -DSEMVER_BUILD_TESTS=ON
21+
run: cmake -S . -B build -DCMAKE_BUILD_TYPE=${{matrix.build}}
2222
- name: build
2323
run: cmake --build build --config ${{matrix.build}} --parallel 4
2424
- name: test
@@ -40,7 +40,7 @@ jobs:
4040
steps:
4141
- uses: actions/checkout@v3
4242
- name: cmake
43-
run: cmake -S . -B build -A ${{matrix.arch}} -DCMAKE_BUILD_TYPE=${{matrix.build}} -DSEMVER_BUILD_TESTS=ON
43+
run: cmake -S . -B build -A ${{matrix.arch}} -DCMAKE_BUILD_TYPE=${{matrix.build}}
4444
- name: build
4545
run: cmake --build build --config ${{matrix.build}} --parallel 4
4646
- name: test
@@ -56,7 +56,7 @@ jobs:
5656
steps:
5757
- uses: actions/checkout@v3
5858
- name: cmake
59-
run: cmake -S . -B build -DSEMVER_BUILD_TESTS=ON
59+
run: cmake -S . -B build
6060
- name: build
6161
run: cmake --build build --parallel 4
6262
- name: test

.github/workflows/sanitize.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
steps:
2323
- uses: actions/checkout@v3
2424
- name: cmake
25-
run: cmake -S . -B build -DSEMVER_BUILD_TESTS=ON
25+
run: cmake -S . -B build
2626
- name: build
2727
run: cmake --build build --parallel 4
2828
- name: test

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ project(semver LANGUAGES CXX VERSION 0.1.0)
33

44
set(CMAKE_CXX_STANDARD 17)
55

6-
option(SEMVER_BUILD_TESTS "Enable test execution" OFF)
6+
option(SEMVER_BUILD_TESTS "Enable builds of tests" ON)
77

88
include(GNUInstallDirs)
99

0 commit comments

Comments
 (0)