Skip to content

Commit 306bbc3

Browse files
committed
CI: remove dependency packages after building
1 parent a76646a commit 306bbc3

File tree

2 files changed

+15
-5
lines changed

2 files changed

+15
-5
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,11 @@ jobs:
228228
docker stop ${{ env.CONTAINER_ID }}
229229
docker rm ${{ env.CONTAINER_ID }}
230230
231+
# 删除安装过程中其它安装包
232+
- name: Clean Installation of FFTW, NetCDF
233+
run: |
234+
rm -rf fftw* netcdf*
235+
231236
# ------------------------------------- 定义接下来打包程序命名时的系统名后缀 -------------------------------
232237
- name: Define the package OS suffix
233238
run: |

.github/workflows/testbuild.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,11 @@ jobs:
185185
docker stop ${{ env.CONTAINER_ID }}
186186
docker rm ${{ env.CONTAINER_ID }}
187187
188+
# 删除安装过程中其它安装包
189+
- name: Clean Installation of FFTW, NetCDF
190+
run: |
191+
rm -rf fftw* netcdf*
192+
188193
# ------------------------------------- 定义接下来打包程序命名时的系统名后缀 -------------------------------
189194
- name: Define the package OS suffix
190195
run: |
@@ -366,11 +371,11 @@ jobs:
366371
# chmod +x *.sh
367372
# ./run_grt.sh
368373

369-
# - name: Test static displacement (static)
370-
# working-directory: ${{ env.EXAMPLE_COPY_PATH }}/compute_strain_stress/static
371-
# run: |
372-
# chmod +x *.sh
373-
# ./run_stgrt.sh
374+
- name: Test static displacement (static)
375+
working-directory: ${{ env.EXAMPLE_COPY_PATH }}/compute_strain_stress/static
376+
run: |
377+
chmod +x *.sh
378+
./run_stgrt.sh
374379
375380
- name: Remove the test files
376381
run: |

0 commit comments

Comments
 (0)