From 93f4fef287cba6e6f8b872c38d8b0b6caabf9c65 Mon Sep 17 00:00:00 2001 From: joii2020 Date: Thu, 12 Oct 2023 14:07:03 +0800 Subject: [PATCH] Optimize CI process --- .github/workflows/clang.yml | 2 ++ .github/workflows/rust.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/clang.yml b/.github/workflows/clang.yml index 932e099..e5de7c7 100644 --- a/.github/workflows/clang.yml +++ b/.github/workflows/clang.yml @@ -42,6 +42,8 @@ jobs: run: make -f examples/auth-demo/Makefile.clang all - name: Run auth_rust tests run: cd tests/auth_rust && cargo test + - name: Clean auth_rust + run: rm -rf tests/auth_rust/target - name: Install ckb-debugger run: cd tests/auth_spawn_rust && make install - name: Run auth_spawn_rust tests diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index b12ee84..f179727 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -38,6 +38,8 @@ jobs: run: make all-via-docker - name: Run auth_rust tests run: cd tests/auth_rust && bash run.sh + - name: Clean auth_rust + run: rm -rf tests/auth_rust/target - name: Install ckb-debugger run: cd tests/auth_spawn_rust && make install - name: Run auth_spawn_rust tests