Commit 1407d1d 1 parent 44eb364 commit 1407d1d Copy full SHA for 1407d1d
File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 35
35
- name : Configure CMake
36
36
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
37
37
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
38
- run : cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DBENCHMARK=ON
38
+ run : cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DBENCHMARK=ON
39
39
40
40
- name : Build
41
41
# Build your program with the given configuration
Original file line number Diff line number Diff line change 39
39
- name : Configure CMake
40
40
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
41
41
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
42
- run : cmake -DTEST=ON -B ${{github.workspace}}/build
42
+ run : |
43
+ if [ "${{ matrix.os }}" != "windows-latest" ]; then
44
+ cmake -DTEST=ON -Dgtest_disable_pthreads=ON -B ${{github.workspace}}/build
45
+ else
46
+ cmake -DTEST=ON -B ${{github.workspace}}/build
43
47
44
48
- name : Build
45
49
# Build your program with the given configuration
You can’t perform that action at this time.
0 commit comments