Skip to content

Commit 937e368

Browse files
author
wuxianrong
committed
fix ci
1 parent 6dbb59f commit 937e368

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

.github/workflows/pika.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,25 @@ jobs:
3636
sudo apt-get update
3737
sudo apt-get install -y autoconf libprotobuf-dev protobuf-compiler clang-tidy
3838
39+
- name: Check CMake version
40+
run: cmake --version
41+
42+
- name: Cleanup
43+
run: |
44+
rm -rf ./deps
45+
rm -rf ./buildtrees
46+
3947
- name: Configure CMake
4048
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
4149
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
4250
run: cmake -B build -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} -DUSE_PIKA_TOOLS=ON -DCMAKE_CXX_FLAGS_DEBUG=-fsanitize=address -D CMAKE_C_COMPILER_LAUNCHER=ccache -D CMAKE_CXX_COMPILER_LAUNCHER=ccache
4351

4452
- name: Build
4553
# Build your program with the given configuration
46-
run: cmake --build build --config ${{ env.BUILD_TYPE }}
54+
run: |
55+
cmake --build build --config ${{ env.BUILD_TYPE }} || true
56+
tail -n 50 buildtrees/Stamp/gflags-configure-err.log
57+
grep "cmake_minimum_required" buildtrees/Source/gflags/CMakeLists.txt
4758
4859
- name: Cleanup
4960
run: |

0 commit comments

Comments
 (0)