Update ci-compile-test.yml #12
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: Print out some environment variables | |
run: | | |
mkdir ~/.cime | |
cp /home/e3smuser/.cime/* /github/home/.cime/ | |
echo `pwd` && echo $HOME && ls && ls -a ~/.cime | |
- 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 && ./case.setup && ./case.build | |