Skip to content

Commit c5394ec

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

2 files changed

Lines changed: 15 additions & 13 deletions

File tree

.github/workflows/pika.yml

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,14 @@ jobs:
3636
sudo apt-get update
3737
sudo apt-get install -y autoconf libprotobuf-dev protobuf-compiler clang-tidy
3838
39+
- name: Cleanup
40+
run: |
41+
echo "当前目录是:"
42+
pwd
43+
echo "当前目录下的文件有:"
44+
ls -al
45+
rm -rf ./output
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
@@ -45,11 +53,6 @@ jobs:
4553
# Build your program with the given configuration
4654
run: cmake --build build --config ${{ env.BUILD_TYPE }}
4755

48-
- name: Cleanup
49-
run: |
50-
rm -rf ./deps
51-
rm -rf ./buildtrees
52-
5356
- uses: actions/upload-artifact@v4
5457
with:
5558
name: ${{ env.ARTIFACT_PIKA_NAME }}
@@ -245,6 +248,12 @@ jobs:
245248
brew install --overwrite [email protected] autoconf protobuf llvm wget git
246249
brew install gcc@10 automake cmake make binutils
247250
251+
- name: Cleanup
252+
run: |
253+
rm -rf ./deps
254+
rm -rf ./buildtrees
255+
rm -rf ./output
256+
248257
- name: Configure CMake
249258
run: |
250259
export CC=/usr/local/opt/gcc@10/bin/gcc-10
@@ -254,13 +263,6 @@ jobs:
254263
run: |
255264
cmake --build build --config ${{ env.BUILD_TYPE }}
256265
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-
264266
- name: Unit Test
265267
working-directory: ${{ github.workspace }}
266268
run: |

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)