Skip to content

GitHub Action to run CDash workflow and push to my.cdash.org

Notifications You must be signed in to change notification settings

NOAA-EMC/ci-cdash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ci-cdash

Follow these steps to add a CDash workflow to an NCEPLIBS repository.

Create the project on my.cdash.org

  • Enter basic repo info:

cdash1

  • Enter URL/branch:

cdash2

  • Configure test settings:

cdash3

  • Set retention time/max builds:

cdash4

  • Set maintainers (remove default cdash.org maintainer):

cdash5

  • 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."

Add workflow to an NCEPLIBS repo:

  • 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:

cdashGH

About

GitHub Action to run CDash workflow and push to my.cdash.org

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages