File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3535 run : |
3636 sudo apt-get update
3737 sudo apt-get install -y autoconf libprotobuf-dev protobuf-compiler clang-tidy
38+
39+
40+ - name : Cleanup
41+ run : |
42+ echo "删除ccache"
43+ rm -rf .ccache
44+ echo "当前目录是:"
45+ pwd
46+ echo "当前目录下的文件有:"
47+ ls -al
48+ rm -rf ./output
3849
3950 - name : Configure CMake
4051 # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
@@ -43,12 +54,11 @@ jobs:
4354
4455 - name : Build
4556 # Build your program with the given configuration
46- run : cmake --build build --config ${{ env.BUILD_TYPE }}
47-
48- - name : Cleanup
49- run : |
50- rm -rf ./deps
51- rm -rf ./buildtrees
57+ run :
58+ cmake --build build --config ${{ env.BUILD_TYPE }}
59+ echo "查看构建日志..."
60+ tail -n 50 build/CMakeFiles/CMakeOutput.log
61+ tail -n 50 build/CMakeFiles/CMakeError.log
5262
5363 - uses : actions/upload-artifact@v4
5464 with :
@@ -245,6 +255,12 @@ jobs:
245255 brew install --overwrite [email protected] autoconf protobuf llvm wget git 246256 brew install gcc@10 automake cmake make binutils
247257
258+ - name : Cleanup
259+ run : |
260+ rm -rf ./deps
261+ rm -rf ./buildtrees
262+ rm -rf ./output
263+
248264 - name : Configure CMake
249265 run : |
250266 export CC=/usr/local/opt/gcc@10/bin/gcc-10
@@ -254,13 +270,6 @@ jobs:
254270 run : |
255271 cmake --build build --config ${{ env.BUILD_TYPE }}
256272
257- - name : Cleanup
258- run : |
259- cp deps/lib/libz.1.dylib .
260- cp deps/lib/libz.1.dylib tests/integration/
261- rm -rf ./deps
262- rm -rf ./buildtree
263-
264273 - name : Unit Test
265274 working-directory : ${{ github.workspace }}
266275 run : |
Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ ExternalProject_Add(gflags
177177 URL
178178 https://github.com/gflags/gflags/archive/refs/tags/v2.2.2.tar.gz
179179 URL_HASH
180- MD5=1a865b93bacfa963201af3f75b7bd64c
180+ MD5=1a865b93bacfa963201af3f75b7bd64c
181181 DOWNLOAD_NO_PROGRESS
182182 1
183183 UPDATE_COMMAND
You can’t perform that action at this time.
0 commit comments