Skip to content

Commit 3a4d609

Browse files
committed
update CI
1 parent 2121232 commit 3a4d609

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

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

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,6 @@ 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
4134
4235
parallel-pdc:
4336
needs:
@@ -52,7 +45,9 @@ jobs:
5245
- run: |
5346
export LD_LIBRARY_PATH="$MERCURY_DIR/lib:$LD_LIBRARY_PATH"
5447
cd ${{ github.workspace }}/no-cache/build
48+
salloc $SCHEDULER_PARAMETERS
5549
ctest -L parallel_pdc
50+
exit
5651
rm -rf ${PDC_TMPDIR} ${PDC_DATA_LOC}
5752
5853
parallel-obj:
@@ -69,6 +64,7 @@ jobs:
6964
- run: |
7065
export LD_LIBRARY_PATH="$MERCURY_DIR/lib:$LD_LIBRARY_PATH"
7166
cd ${{ github.workspace }}/no-cache/build
67+
salloc SCHEDULER_PARAMETERS
7268
ctest -L parallel_obj
7369
rm -rf ${PDC_TMPDIR} ${PDC_DATA_LOC}
7470

0 commit comments

Comments
 (0)