Cmor and logging and yaml #940
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: build_conda | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/noaa-gfdl/fre-cli:miniconda24.7.1_gcc14.2.0 | |
steps: | |
- name: Checkout Files | |
uses: actions/checkout@v4 | |
with: | |
submodules: 'recursive' | |
- name: Add mkmf to GITHUB_PATH | |
run: | | |
# add mkmf to GITHUB_PATH | |
echo $PWD/mkmf/bin >> $GITHUB_PATH | |
- name: Run Conda to Build | |
run: | | |
# append the reqd channels | |
conda config --append channels conda-forge | |
conda config --append channels noaa-gfdl | |
# install conda-build and conda-verify | |
conda install conda-build conda-verify | |
# conda build | |
conda build . |