now try a real workflow #62
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: cesm-derecho-hosted | ||
run-name: ${{ github.actor }} is testing the project | ||
on: | ||
pull_request: | ||
branches: [ testbranch ] | ||
types: [ labeled ] | ||
jobs: | ||
setup: | ||
if: ${{ github.event.label.name == 'run-pr-tests' }} | ||
runs-on: hpc-runner | ||
steps: | ||
- name: Prepare system | ||
run: | | ||
rm -fr $SCRATCH/cs.s* $SCRATCH/SMS_Ld2* $GITHUB_WORKSPACE | ||
mkdir $GITHUB_WORKSPACE | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
- name: Run git-fleximod | ||
run: | | ||
pwd | ||
module list | ||
./bin/git-fleximod update | ||
build: | ||
strategy: | ||
matrix: | ||
compiler: [gnu ] | ||
uses: ./.github/workflows/build.yaml | ||
Check failure on line 32 in .github/workflows/derecho.yaml GitHub Actions / .github/workflows/derecho.yamlInvalid workflow file
|
||
with: | ||
compiler: ${{ matrix.compiler }} |