File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,15 +36,18 @@ 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+
3942 - name : Configure CMake
4043 # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
4144 # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
42- 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
45+ run : cmake -DCMAKE_POLICY_VERSION_MINIMUM=3.5 - 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
4346
4447 - name : Build
4548 # Build your program with the given configuration
4649 run : cmake --build build --config ${{ env.BUILD_TYPE }}
47-
50+
4851 - name : Cleanup
4952 run : |
5053 rm -rf ./deps
Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ ExternalProject_Add(gflags
190190 1
191191 BUILD_ALWAYS
192192 1
193- CMAKE_ARGS
193+ CMAKE_ARGS
194194 -DCMAKE_INSTALL_PREFIX=${STAGED_INSTALL_PREFIX}
195195 -DCMAKE_BUILD_TYPE=${LIB_BUILD_TYPE}
196196 -DGFLAGS_NAMESPACE=gflags
You can’t perform that action at this time.
0 commit comments