Update ci-compile-test.yml #15
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: CI | |
on: | |
push: | |
branches: | |
- '**' | |
jobs: | |
container-test-job: | |
runs-on: ubuntu-latest | |
container: | |
image: rfiorella/e3sm-dev:latest | |
steps: | |
- name: Check out the NGEE-Arctic-E3SM repo | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.ref }} | |
submodules: true | |
- name: Setup cime and input datafiles | |
run: | | |
mkdir ~/.cime | |
cp /home/e3smuser/.cime/* /github/home/.cime/ | |
git clone https://github.com/rfiorella/pt-e3sm-inputdata /home/e3smuser/inputdata | |
- name: create new case and setup | |
run: | | |
cd cime/scripts && ./create_newcase --mach docker --res ELM_USRDAT --compset ICB1850CNPRDCTCBC --case ~/output/ci_test \ | |
&& cd ~/output/ci_test | |
./xmlchange MOSART_MODE=NULL,DOUT_S=FALSE,DIN_LOC_ROOT=/home/e3smuser/inputdata | |
./xmlchange DIN_LOC_ROOT_CLMFORC=/home/e3smuser/inputdata/atm/datm7 | |
./xmlchange ELM_USRDAT_NAME=1x1pt_AK-TLG | |
./xmlchange ATM_DOMAIN_PATH=/home/e3smuser/inputdata/share/domains/domain.clm | |
./xmlchange LND_DOMAIN_PATH=/home/e3smuser/inptudata/share/domains/domain.clm | |
./xmlchange ATM_DOMAIN_FILE=domain.lnd.1x1pt_teller-GRID_navy.nc | |
./xmlchange LND_DOMAIN_FILE=domain.lnd.1x1pt_teller-GRID_navy | |
./xmlchange PIO_TYPENAME=netcdf,NTASKS=1,NTHRDS=1 | |
./xmlchange STOP_OPTION=nyears,STOP_N=1 | |
./xmlchange BATCH_SYSTEM=none | |
./case.setup | |