Follow these steps to add a CDash workflow to an NCEPLIBS repository.
- Enter basic repo info:
- Enter URL/branch:
- Configure test settings:
- Set retention time/max builds:
- Set maintainers (remove default cdash.org maintainer):
- Create an authentication token if you do not already have one configured at https://my.cdash.org/user, under "My Authentication Tokens." Set permission to "Submit only."
- Create .github/workflows/cdash.yml:
name: cdash
on:
push:
branches:
- develop
# add test branch if needed
jobs:
cdash:
runs-on: ubuntu-latest
env:
FC: gfortran
CC: gcc
CDASH_TOKEN: ${{ secrets.CDASH_TOKEN }}
steps:
# Install dependencies, typically with the NOAA-EMC/ci-build-nceplibs@oneinstalldir action
- name: CDash
uses: NOAA-EMC/ci-cdash@develop
- Populate the CDASH_TOKEN under your repository's Settings>Secrets and Variables>Actions>Repository secrets>New repository secret: