NCAR / ncl

The NCAR Command Language (NCL) is a scripting language for the analysis and visualization of climate and weather data.

Home Page:http://www.ncl.ucar.edu

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CI is failing

kafitzgerald opened this issue · comments

On ubuntu-latest ncl is not found after building and the action used to create the conda environment is now deprecated.

ncl -V
  test "`ncl -V`" = "`cat version`"
  git clone https://github.com/NCAR/ncl_ci_test
  cd ncl_ci_test
  bash run_tests.bash
  shell: /usr/bin/bash -l {0}
  env:
    MSYS: winsymlinks:nativestrict
    MAMBA_ROOT_PREFIX: /home/runner/micromamba-root
    MAMBA_EXE: /home/runner/micromamba-bin/micromamba
/home/runner/work/_temp/fb2e5e57-59ec-4a1e-bc75-[3](https://github.com/NCAR/ncl/actions/runs/8010636503/job/21882057256?pr=206#step:9:3)2f721337[5](https://github.com/NCAR/ncl/actions/runs/8010636503/job/21882057256?pr=206#step:9:5)[6](https://github.com/NCAR/ncl/actions/runs/8010636503/job/21882057256?pr=206#step:9:6)e.sh: line 1: ncl: command not found
Error: Process completed with exit code 12[7](https://github.com/NCAR/ncl/actions/runs/8010636503/job/21882057256?pr=206#step:9:7).

On macos-latest the conda environment is created, but then not found (it looks like a path changed perhaps) and the action used to create the environment is now deprecated.

https://github.com/NCAR/ncl/actions/runs/8010636503/job/21882057495?pr=206

Warning: This action is deprecated and no longer maintained. Please use mamba-org/setup-micromamba instead. See `[https://github.com/mamba-org/provision-with-micromamba#migration-to-setup-micromamba`](https://github.com/mamba-org/provision-with-micromamba#migration-to-setup-micromamba%60) for a migration guide.
  ncl -V
  test "`ncl -V`" = "`cat version`"
  git clone https://github.com/NCAR/ncl_ci_test
  cd ncl_ci_test
  bash run_tests.bash
  shell: /bin/bash -l {0}
  env:
    MSYS: winsymlinks:nativestrict
    MAMBA_ROOT_PREFIX: /Users/runner/micromamba-root
    MAMBA_EXE: /Users/runner/micromamba-bin/micromamba
critical libmamba Cannot activate, prefix does not exist at: '/Users/runner/micromamba/envs/ncl_build'
Error: Process completed with exit code 1.

It also looks like there are some errors in the NCL builds for both.