File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -44,12 +44,12 @@ jobs:
44
44
- name : Configure CMake
45
45
shell : bash
46
46
working-directory : ${{github.workspace}}/build
47
- run : cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake
47
+ run : cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -DBUILD_TESTING=ON
48
48
49
49
- name : Build
50
50
shell : bash
51
51
working-directory : ${{github.workspace}}/build
52
- run : cmake --build . --config ${{env.BUILD_TYPE}} -DBUILD_TESTING=ON
52
+ run : cmake --build . --config ${{env.BUILD_TYPE}}
53
53
54
54
- name : run test (Linux)
55
55
working-directory : ${{github.workspace}}/build
Original file line number Diff line number Diff line change @@ -39,12 +39,12 @@ jobs:
39
39
- name : Configure CMake
40
40
shell : bash
41
41
working-directory : ${{github.workspace}}/build
42
- run : cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake
42
+ run : cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -DBUILD_TESTING=ON
43
43
44
44
- name : Build
45
45
working-directory : ${{github.workspace}}/build
46
46
shell : bash
47
- run : cmake --build . --config ${{env.BUILD_TYPE}} -DBUILD_TESTING=ON
47
+ run : cmake --build . --config ${{env.BUILD_TYPE}}
48
48
49
49
- name : run test (Windows)
50
50
working-directory : ${{github.workspace}}/build
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ test = "PATH=\"$PATH;build/Release\" build/tests/Release/behaviortree_cpp_test.e
13
13
test = " ./build/tests/behaviortree_cpp_test"
14
14
15
15
[tasks ]
16
- build = " mkdir -p build && cd build && cmake ../ -DCMAKE_BUILD_TYPE=Release && cmake --build . --parallel --config Release --DBUILD_TESTING=ON "
16
+ build = " mkdir -p build && cd build && cmake ../ -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON && cmake --build . --parallel --config Release"
17
17
18
18
[dependencies ]
19
19
cmake = " >=3.16.3"
You can’t perform that action at this time.
0 commit comments