mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-02-23 16:59:54 +08:00
Working on automating cdash access on github.
This commit is contained in:
parent
794ff5adad
commit
4e7a864c23
3
.github/workflows/run_tests_cdash.yml
vendored
3
.github/workflows/run_tests_cdash.yml
vendored
@ -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
|
||||
|
@ -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}")
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user