Skip to content

Commit

Permalink
Merge pull request #1 from jaimergp/colab
Browse files Browse the repository at this point in the history
Create mambaforge optimized for Colab
  • Loading branch information
jaimergp authored Dec 20, 2020
2 parents fd84be1 + d451865 commit 9b9c2ac
Show file tree
Hide file tree
Showing 2 changed files with 128 additions and 114 deletions.
236 changes: 125 additions & 111 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,128 +9,142 @@ jobs:
fail-fast: false
matrix:
include:
- os: windows-latest
ARCH: x86_64
MINIFORGE_NAME: "Miniforge3"
OS_NAME: "Windows"

- os: windows-latest
ARCH: x86_64
MINIFORGE_NAME: "Mambaforge"
OS_NAME: "Windows"

- os: macos-latest
ARCH: arm64
MINIFORGE_NAME: "Miniforge3"
OS_NAME: "MacOSX"

- os: macos-latest
ARCH: arm64
MINIFORGE_NAME: "Mambaforge"
OS_NAME: "MacOSX"

- os: macos-latest
ARCH: x86_64
MINIFORGE_NAME: "Miniforge-pypy3"
OS_NAME: "MacOSX"

- os: macos-latest
ARCH: x86_64
MINIFORGE_NAME: "Mambaforge-pypy3"
OS_NAME: "MacOSX"

- os: macos-latest
ARCH: x86_64
MINIFORGE_NAME: "Miniforge3"
OS_NAME: "MacOSX"

- os: macos-latest
ARCH: x86_64
MINIFORGE_NAME: "Mambaforge"
OS_NAME: "MacOSX"

- os: ubuntu-latest
ARCH: aarch64
DOCKER_ARCH: arm64v8
DOCKERIMAGE: condaforge/linux-anvil-aarch64
MINIFORGE_NAME: "Miniforge3"
OS_NAME: "Linux"

- os: ubuntu-latest
ARCH: aarch64
DOCKER_ARCH: arm64v8
DOCKERIMAGE: condaforge/linux-anvil-aarch64
MINIFORGE_NAME: "Mambaforge"
OS_NAME: "Linux"
# - os: windows-latest
# ARCH: x86_64
# MINIFORGE_NAME: "Miniforge3"
# OS_NAME: "Windows"

# - os: windows-latest
# ARCH: x86_64
# MINIFORGE_NAME: "Mambaforge"
# OS_NAME: "Windows"

# - os: macos-latest
# ARCH: arm64
# MINIFORGE_NAME: "Miniforge3"
# OS_NAME: "MacOSX"

# - os: macos-latest
# ARCH: arm64
# MINIFORGE_NAME: "Mambaforge"
# OS_NAME: "MacOSX"

# - os: macos-latest
# ARCH: x86_64
# MINIFORGE_NAME: "Miniforge-pypy3"
# OS_NAME: "MacOSX"

# - os: macos-latest
# ARCH: x86_64
# MINIFORGE_NAME: "Mambaforge-pypy3"
# OS_NAME: "MacOSX"

# - os: macos-latest
# ARCH: x86_64
# MINIFORGE_NAME: "Miniforge3"
# OS_NAME: "MacOSX"

# - os: macos-latest
# ARCH: x86_64
# MINIFORGE_NAME: "Mambaforge"
# OS_NAME: "MacOSX"

# - os: ubuntu-latest
# ARCH: aarch64
# DOCKER_ARCH: arm64v8
# DOCKERIMAGE: condaforge/linux-anvil-aarch64
# MINIFORGE_NAME: "Miniforge3"
# OS_NAME: "Linux"

# - os: ubuntu-latest
# ARCH: aarch64
# DOCKER_ARCH: arm64v8
# DOCKERIMAGE: condaforge/linux-anvil-aarch64
# MINIFORGE_NAME: "Mambaforge"
# OS_NAME: "Linux"

# - os: ubuntu-latest
# ARCH: x86_64
# DOCKER_ARCH: amd64
# DOCKERIMAGE: condaforge/linux-anvil-comp7
# MINIFORGE_NAME: "Miniforge3"
# OS_NAME: "Linux"

# - os: ubuntu-latest
# ARCH: x86_64
# DOCKER_ARCH: amd64
# DOCKERIMAGE: condaforge/linux-anvil-comp7
# MINIFORGE_NAME: "Mambaforge"
# OS_NAME: "Linux"

# - os: ubuntu-latest
# ARCH: ppc64le
# DOCKER_ARCH: ppc64le
# DOCKERIMAGE: condaforge/linux-anvil-ppc64le
# MINIFORGE_NAME: "Miniforge3"
# OS_NAME: "Linux"

# - os: ubuntu-latest
# ARCH: ppc64le
# DOCKER_ARCH: ppc64le
# DOCKERIMAGE: condaforge/linux-anvil-ppc64le
# MINIFORGE_NAME: "Mambaforge"
# OS_NAME: "Linux"

# - os: ubuntu-latest
# ARCH: aarch64
# DOCKER_ARCH: arm64v8
# DOCKERIMAGE: condaforge/linux-anvil-aarch64
# MINIFORGE_NAME: "Miniforge-pypy3"
# OS_NAME: "Linux"

# - os: ubuntu-latest
# ARCH: aarch64
# DOCKER_ARCH: arm64v8
# DOCKERIMAGE: condaforge/linux-anvil-aarch64
# MINIFORGE_NAME: "Mambaforge-pypy3"
# OS_NAME: "Linux"

# - os: ubuntu-latest
# ARCH: x86_64
# DOCKER_ARCH: amd64
# DOCKERIMAGE: condaforge/linux-anvil-comp7
# MINIFORGE_NAME: "Miniforge-pypy3"
# OS_NAME: "Linux"

# - os: ubuntu-latest
# ARCH: x86_64
# DOCKER_ARCH: amd64
# DOCKERIMAGE: condaforge/linux-anvil-comp7
# MINIFORGE_NAME: "Mambaforge-pypy3"
# OS_NAME: "Linux"

# - os: ubuntu-latest
# ARCH: ppc64le
# DOCKER_ARCH: ppc64le
# DOCKERIMAGE: condaforge/linux-anvil-ppc64le
# MINIFORGE_NAME: "Miniforge-pypy3"
# OS_NAME: "Linux"

# - os: ubuntu-latest
# ARCH: ppc64le
# DOCKER_ARCH: ppc64le
# DOCKERIMAGE: condaforge/linux-anvil-ppc64le
# MINIFORGE_NAME: "Mambaforge-pypy3"
# OS_NAME: "Linux"

- os: ubuntu-latest
ARCH: x86_64
DOCKER_ARCH: amd64
DOCKERIMAGE: condaforge/linux-anvil-comp7
MINIFORGE_NAME: "Miniforge3"
MINIFORGE_NAME: "Mambaforge-colab"
OS_NAME: "Linux"

- os: ubuntu-latest
ARCH: x86_64
DOCKER_ARCH: amd64
DOCKERIMAGE: condaforge/linux-anvil-comp7
MINIFORGE_NAME: "Mambaforge"
OS_NAME: "Linux"

- os: ubuntu-latest
ARCH: ppc64le
DOCKER_ARCH: ppc64le
DOCKERIMAGE: condaforge/linux-anvil-ppc64le
MINIFORGE_NAME: "Miniforge3"
OS_NAME: "Linux"

- os: ubuntu-latest
ARCH: ppc64le
DOCKER_ARCH: ppc64le
DOCKERIMAGE: condaforge/linux-anvil-ppc64le
MINIFORGE_NAME: "Mambaforge"
OS_NAME: "Linux"

- os: ubuntu-latest
ARCH: aarch64
DOCKER_ARCH: arm64v8
DOCKERIMAGE: condaforge/linux-anvil-aarch64
MINIFORGE_NAME: "Miniforge-pypy3"
OS_NAME: "Linux"

- os: ubuntu-latest
ARCH: aarch64
DOCKER_ARCH: arm64v8
DOCKERIMAGE: condaforge/linux-anvil-aarch64
MINIFORGE_NAME: "Mambaforge-pypy3"
OS_NAME: "Linux"

- os: ubuntu-latest
ARCH: x86_64
DOCKER_ARCH: amd64
DOCKERIMAGE: condaforge/linux-anvil-comp7
MINIFORGE_NAME: "Miniforge-pypy3"
OS_NAME: "Linux"

- os: ubuntu-latest
ARCH: x86_64
DOCKER_ARCH: amd64
DOCKERIMAGE: condaforge/linux-anvil-comp7
MINIFORGE_NAME: "Mambaforge-pypy3"
OS_NAME: "Linux"

- os: ubuntu-latest
ARCH: ppc64le
DOCKER_ARCH: ppc64le
DOCKERIMAGE: condaforge/linux-anvil-ppc64le
MINIFORGE_NAME: "Miniforge-pypy3"
OS_NAME: "Linux"

- os: ubuntu-latest
ARCH: ppc64le
DOCKER_ARCH: ppc64le
DOCKERIMAGE: condaforge/linux-anvil-ppc64le
MINIFORGE_NAME: "Mambaforge-pypy3"
MINIFORGE_NAME: "Miniforge-colab"
OS_NAME: "Linux"

steps:
Expand Down
6 changes: 3 additions & 3 deletions Miniforge3/construct.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

name: {{ name }}
version: {{ version }}
company: conda-forge
company: jaimergp

channels:
# specifying the channel with the full URL adds two channels
Expand All @@ -21,15 +21,15 @@ license_file: ../LICENSE
specs:
{% if name.endswith("pypy3") %}
- python 3.6.* *_pypy
{% elif name.endswith("colab") %}
- python 3.6.*
{% else %}
- python 3.8.* # [not (osx and arm64)]
- python 3.9.* # [osx and arm64]
{% endif %}

{% if name.startswith("Mambaforge") %}
- mamba
{% endif %}
- conda {{ version.split("-")[0] }}

- pip
- bzip2

0 comments on commit 9b9c2ac

Please sign in to comment.