Skip to content
Snippets Groups Projects

Implements builds for Apple Silicon

Merged André Anjos requested to merge mac-m1-support into master
Files
14
# This YAML file contains descriptions for the CI of most of our Bob/BEAT/BATL
# packages - do **not** modify it unless you know what you're doing (and up
# to!)
# Definition of global variables (all stages)
variables:
PYTHONUNBUFFERED: "1"
CONDA_ROOT: "${CI_PROJECT_DIR}/miniconda"
BOOTSTRAP: "https://gitlab.idiap.ch/bob/bob.devtools/raw/master/bob/devtools/bootstrap.py"
# Definition of our build pipeline order
stages:
- build
# Build targets
.build_template:
stage: build
script:
- curl --silent "${BOOTSTRAP}" --output "bootstrap.py"
- python3 bootstrap.py -vv channel base
- source ${CONDA_ROOT}/etc/profile.d/conda.sh
- conda activate base
- conda clean --all
- bdt ci base-build -vv nopython.txt
- bdt ci base-build -vv python.txt
- '[ "${CI_COMMIT_REF_NAME}" = "master" ] && bdt ci base-deploy -vv'
- bdt ci clean -vv
build_linux:
extends: .build_template
tags:
- bob
- docker
image: quay.io/condaforge/linux-anvil-cos7-x86_64
cache:
key: "linux-cache"
build_macos_intel:
extends: .build_template
tags:
- bob
- macos
- intel
cache:
key: "macos-intel-cache"
Loading