runner-images icon indicating copy to clipboard operation
runner-images copied to clipboard

macOS > 12 images do not have miniconda installed

Open s-weigand opened this issue 9 months ago • 0 comments

Description

I recently got an issue that setting up conda fails on macos-latest. This is related to macos-latest changing form macos-12 to macos-14, where the macos-13 and macos-14 images do not have miniconda preinstalled.

macos-12 Packer template

macos-13 Packer template

macos-14 Packer template

If this is desired I would give a PR a shot where I would add the miniconda installation to the newer macos versions and make install-miniconda.sh compatible with arm64.

Platforms affected

  • [ ] Azure DevOps
  • [X] GitHub Actions - Standard Runners
  • [X] GitHub Actions - Larger Runners

Runner images affected

  • [ ] Ubuntu 20.04
  • [ ] Ubuntu 22.04
  • [ ] Ubuntu 24.04
  • [ ] macOS 11
  • [ ] macOS 12
  • [X] macOS 13
  • [X] macOS 13 Arm64
  • [X] macOS 14
  • [X] macOS 14 Arm64
  • [ ] Windows Server 2019
  • [ ] Windows Server 2022

Image version and build link

macos-14-arm64

Is it regression?

N/A

Expected behavior

Miniconda is installed and the CONDA environment variable pointing to the root installation folder is set as it was in macos-12.

Actual behavior

Miniconda is not installed and the CONDA environment variable is not set.

Repro steps

Minimal example of a pipeline that would fail

jobs:
    build:
        runs-on: macOS-latest
        steps:
            - uses: s-weigand/setup-conda@v1

s-weigand avatar May 17 '24 17:05 s-weigand