Skip to content
Draft
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
37f6b6f
Add cirrus-testing workflow.
samsrabin Aug 6, 2025
7114913
cirrus-testing: Fix runs-on.
samsrabin Aug 6, 2025
898b250
cirrus-testing: Add list-glade-cesm-input job.
samsrabin Aug 6, 2025
208607f
Update cirrus-testing.yml
samsrabin Aug 12, 2025
17512ca
Update cirrus-testing.yml
samsrabin Aug 12, 2025
a38b6cd
cirrus-testing.yml: Add simple build test.
samsrabin Jun 29, 2026
a65bb97
cirrus-testing simple-build: Specify --machine container.
samsrabin Jun 29, 2026
1b281b0
cirrus-testing simple-build: Specify --output-root /tmp/.
samsrabin Jun 29, 2026
196191b
cirrus-testing simple-build: Move those 2 new args inside --extra...
samsrabin Jun 29, 2026
5c1307e
cirrus-testing simple-build: Specify --test-root /tmp/.
samsrabin Jun 29, 2026
fcc62c1
cirrus-testing simple-build: Specify --testroot-base /tmp/.
samsrabin Jun 29, 2026
d33612d
cirrus-testing simple-build: Use $RUNNER_TEMP instead of /tmp/.
samsrabin Jun 29, 2026
24343d9
cirrus-testing simple-build: Be verbose.
samsrabin Jun 29, 2026
926eb06
cirrus-testing simple-build: Print STDERR and STDOUT.
samsrabin Jun 29, 2026
00c70f4
cirrus-testing simple-build: Use --debug.
samsrabin Jun 29, 2026
e141599
cirrus-testing simple-build: Be on a branch.
samsrabin Jun 29, 2026
e68e5b5
cirrus-testing: Add simple-build test with create_test.
samsrabin Jun 29, 2026
90903ab
cirrus-testing simple-build-create_test: Just be verbose.
samsrabin Jun 29, 2026
4d3e25e
cirrus-testing simple-build-create_test: Run in container ncarcisl/ci…
samsrabin Jun 29, 2026
8c86b0e
cirrus-testing simple-build jobs: Use gnu.
samsrabin Jun 29, 2026
ccc76b7
cirrus-testing simple-build-create_test: Run on ubuntu-latest.
samsrabin Jun 29, 2026
4e9d283
cirrus-testing simple-build-create_test: Specify container_gnu.
samsrabin Jun 29, 2026
0822f74
cirrus-testing simple-build-create_test: export USER=ctsm_developer.
samsrabin Jun 29, 2026
153b148
cirrus-testing simple-build-create_test: export CESMDATAROOT
samsrabin Jul 10, 2026
ee33e2c
Install perl-English
samsrabin Jul 10, 2026
e51233c
Install Perl core modules
samsrabin Jul 10, 2026
63ce01d
Install perl-XML-LibXML
samsrabin Jul 10, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 68 additions & 0 deletions .github/workflows/cirrus-testing.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
name: CIRRUS runner test workflow

on: [push, pull_request] # Trigger on push or pull request

jobs:

hello-world:
runs-on: gha-runner-ctsm
steps:
- name: Print a little message
run: echo "Hello, world!"

list-glade-cesm-input:
runs-on: gha-runner-ctsm
steps:
- name: List Glade inputdata
run: ls /glade/campaign/cesm/cesmdata/cseg/inputdata

simple-build-run_sys_tests:
name: Build one simple case with run_sys_tests
runs-on: gha-runner-ctsm
steps:

- name: Check out CTSM
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Checkout all submodules
run: |
bin/git-fleximod update -o

- name: Call run_sys_tests
run: |
git checkout -b tmp
./run_sys_tests -t SMS_D_Ld3.f10_f10_mg37.I1850Clm50BgcCrop.derecho_gnu.clm-default --skip-compare --skip-generate --extra-create-test-args " --no-run --machine container --output-root $RUNNER_TEMP --test-root $RUNNER_TEMP" --testroot-base $RUNNER_TEMP --debug
echo "STDERR:"
cat $RUNNER_TEMP/tests_*/STDERR*
echo "STDOUT:"
cat $RUNNER_TEMP/tests_*/STDOUT*

simple-build-create_test:
name: Build one simple case with create_test
# runs-on: gha-runner-ctsm
runs-on: ubuntu-latest

container:
image: ncarcisl/cisldev-x86_64-almalinux9-gcc14-mpich:25.08

steps:

- name: Check out CTSM
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Checkout all submodules
run: |
bin/git-fleximod update -o

- name: Install Perl modules
run: dnf install -y perl-core perl-XML-LibXML

- name: Call create_test
run: |
export USER=ctsm_developer
export CESMDATAROOT=
cime/scripts/create_test --no-run --machine container --output-root $RUNNER_TEMP --test-root $RUNNER_TEMP --verbose SMS_D_Ld3.f10_f10_mg37.I1850Clm50BgcCrop.container_gnu.clm-default
echo "STDERR:"
cat $RUNNER_TEMP/tests_*/STDERR*
echo "STDOUT:"
cat $RUNNER_TEMP/tests_*/STDOUT*
Loading