forked from E3SM-Project/E3SM
-
Notifications
You must be signed in to change notification settings - Fork 0
67 lines (62 loc) · 2.09 KB
/
e3sm-gh-ci-cime-tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
name: gh
on:
pull_request:
branches: [ master ]
paths:
# first, yes to these
- '.github/workflows/e3sm-gh-ci-cime-tests.yml'
- 'cime_config/**'
- 'components/eam/**'
- 'components/eamxx/**'
- 'components/elm/**'
- 'driver-moab/**'
- 'driver-mct/**'
# second, no to these
- '!components/eam/docs/**'
- '!components/eam/mkdocs.yml'
- '!components/eamxx/docs/**'
- '!components/eamxx/mkdocs.yml'
- '!components/elm/docs/**'
- '!components/elm/mkdocs.yml'
workflow_dispatch:
jobs:
ci:
if: ${{ github.event.repository.name == 'e3sm' }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
test:
- SMS_D_Ln5_P4.ne4pg2_oQU480.F2010.ghci-oci_gnu
- ERS_Ld5_P4.ne4pg2_oQU480.F2010.ghci-oci_gnu.eam-wcprod_F2010
- SMS_D_Ln5_P4.ne4pg2_oQU480.F2010-SCREAMv1-MPASSI.ghci-oci_gnu
- ERS_Ld5_P4.ne4pg2_oQU480.F2010-SCREAMv1-MPASSI.ghci-oci_gnu.eamxx-prod
container:
image: ghcr.io/mahf708/e3sm-imgs:v0.0.9
steps:
-
name: Checkout
uses: actions/checkout@v4
with:
show-progress: false
submodules: recursive
-
name: CIME
working-directory: cime/scripts
run: |
mkdir -p $HOME/projects/e3sm/cesm-inputdata/atm/cam/physprops/
wget https://web.lcrc.anl.gov/public/e3sm/inputdata/atm/cam/physprops/p3_lookup_table_1.dat-v4.1.2
mv p3_lookup_table_1.dat-v4.1.2 $HOME/projects/e3sm/cesm-inputdata/atm/cam/physprops/
export USER=test
./create_test ${{ matrix.test }} --wait --debug
-
name: Artifacts
uses: actions/upload-artifact@v4
if: ${{ always() }}
with:
name: ${{ matrix.test }}
path: |
~/projects/e3sm/scratch/${{ matrix.test }}*/TestStatus.log
~/projects/e3sm/scratch/${{ matrix.test }}*/bld/*.bldlog.*
~/projects/e3sm/scratch/${{ matrix.test }}*/run/*.log.*
~/projects/e3sm/scratch/${{ matrix.test }}*/run/*.cprnc.out