Skip to content

Commit eb39346

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

2 files changed

Lines changed: 13 additions & 13 deletions

File tree

.github/workflows/pika.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ 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+
rm -rf ./deps
42+
rm -rf ./buildtrees
43+
rm -rf ./output
44+
3945
- name: Configure CMake
4046
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
4147
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
@@ -45,11 +51,6 @@ jobs:
4551
# Build your program with the given configuration
4652
run: cmake --build build --config ${{ env.BUILD_TYPE }}
4753

48-
- name: Cleanup
49-
run: |
50-
rm -rf ./deps
51-
rm -rf ./buildtrees
52-
5354
- uses: actions/upload-artifact@v4
5455
with:
5556
name: ${{ env.ARTIFACT_PIKA_NAME }}
@@ -245,6 +246,12 @@ jobs:
245246
brew install --overwrite [email protected] autoconf protobuf llvm wget git
246247
brew install gcc@10 automake cmake make binutils
247248
249+
- name: Cleanup
250+
run: |
251+
rm -rf ./deps
252+
rm -rf ./buildtrees
253+
rm -rf ./output
254+
248255
- name: Configure CMake
249256
run: |
250257
export CC=/usr/local/opt/gcc@10/bin/gcc-10
@@ -254,13 +261,6 @@ jobs:
254261
run: |
255262
cmake --build build --config ${{ env.BUILD_TYPE }}
256263
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-
264264
- name: Unit Test
265265
working-directory: ${{ github.workspace }}
266266
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)