add container buildscript creation for createDockerfile
#750
Workflow file for this run
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 PATH | |
run: | | |
echo $PWD/mkmf/bin >> $GITHUB_PATH | |
- name: Run Conda to Build | |
run: | | |
conda config --append channels conda-forge | |
conda config --append channels noaa-gfdl | |
conda install conda-build conda-verify | |
conda build . |