369.fre-cli mkmf dependency #1591
Workflow file for this run
This file contains hidden or 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 | |
# cancel running jobs if theres a newer push | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
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: Run Conda to Build | |
run: | | |
# append the reqd channels | |
conda config --append channels conda-forge | |
conda config --append channels noaa-gfdl | |
# remove any default channels | |
conda config --remove channels defaults | |
# just in case | |
conda config --show channels | |
# install conda-build and conda-verify | |
conda install conda-build conda-verify | |
# conda build | |
conda build . |