Skip to content

Commit 49fb42b

Browse files
committed
update CI
1 parent 3a4d609 commit 49fb42b

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/perlmutter-no-cache.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@ jobs:
3131
cmake .. -DBUILD_MPI_TESTING=ON -DBUILD_SHARED_LIBS=ON -DPDC_SERVER_CACHE=OFF -DBUILD_TESTING=ON -DCMAKE_INSTALL_PREFIX=$(realpath ..)/install -DPDC_ENABLE_MPI=ON -DMERCURY_DIR=$MERCURY_DIR -DCMAKE_C_COMPILER=cc -DMPI_RUN_CMD="srun -A ${{ secrets.NERSC_PERLMUTTER_PROJECT }} --qos=debug --constraint=cpu --tasks-per-node=64"
3232
make -j
3333
make install
34+
- uses: actions/[email protected]
35+
if: success()
36+
with:
37+
name: "no-cache"
38+
path: |
39+
${{ github.workspace }}/build
40+
${{ github.workspace }}/install
3441
3542
parallel-pdc:
3643
needs:
@@ -64,7 +71,8 @@ jobs:
6471
- run: |
6572
export LD_LIBRARY_PATH="$MERCURY_DIR/lib:$LD_LIBRARY_PATH"
6673
cd ${{ github.workspace }}/no-cache/build
67-
salloc SCHEDULER_PARAMETERS
74+
salloc $SCHEDULER_PARAMETERS
6875
ctest -L parallel_obj
76+
exit
6977
rm -rf ${PDC_TMPDIR} ${PDC_DATA_LOC}
7078

0 commit comments

Comments
 (0)