Working on automating cdash access on github.

This commit is contained in:
Ward Fisher 2023-10-24 10:48:51 -06:00
parent 794ff5adad
commit 4e7a864c23
2 changed files with 10 additions and 0 deletions

View File

@ -152,7 +152,10 @@ jobs:
- name: Check Cache
shell: bash -l {0}
run: ls ${HOME}/environments/${{ matrix.hdf5 }} && ls ${HOME}/environments/${{ matrix.hdf5}}/lib
- name: Run ctest serial script
with: # Access the CDash TOken
CDASH_TOKEN: ${{ secrets.CDASH_TOKEN }}
shell: bash -l {0}
run: |
mkdir build

View File

@ -10,6 +10,13 @@ SET(CTEST_SOURCE_DIRECTORY "..")
SET(CTEST_BINARY_DIRECTORY ".")
set(CDASH_TOKEN $ENV{CDASH_TOKEN})
IF (CDASH_TOKEN)
MESSAGE("CDASH TOKEN FOUND")
ELSE (CDASH_TOKEN)
MESSAGE("NO CDASH TOKEN FOUND")
ENDIF (CDASH_TOKEN)
MESSAGE("Using cdash token: ${CDASH_TOKEN}")