Skip to content
Snippets Groups Projects
Commit aa0b0b3c authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

Implement arm builds on nightlies (fail-safe on individual packages)

parent e75a9636
No related branches found
No related tags found
1 merge request!263Implements builds for Apple Silicon
...@@ -47,3 +47,13 @@ build_macos_intel: ...@@ -47,3 +47,13 @@ build_macos_intel:
- intel - intel
cache: cache:
key: "macos-intel-cache" key: "macos-intel-cache"
build_macos_arm:
extends: .build_template
tags:
- bob
- macos
- arm
cache:
key: "macos-arm-cache"
...@@ -82,6 +82,17 @@ build_macos_intel_39: ...@@ -82,6 +82,17 @@ build_macos_intel_39:
cache: cache:
key: 'build-py39' key: 'build-py39'
build_macos_arm_39:
extends: .build_template
variables:
PYTHON_VERSION: "3.9"
tags:
- bob
- macos
- arm
cache:
key: 'build-py39'
# Periodic cleanup of beta packages # Periodic cleanup of beta packages
.cleanup_template: .cleanup_template:
......
...@@ -83,6 +83,18 @@ build_macos_intel: ...@@ -83,6 +83,18 @@ build_macos_intel:
- intel - intel
build_macos_arm:
variables:
PYTHON_VERSION: "3.9"
cache:
key: "build"
extends: .build_template
tags:
- bob
- macos
- arm
# Test targets (not normally used) # Test targets (not normally used)
.test_template: .test_template:
extends: .bootstrap extends: .bootstrap
...@@ -111,6 +123,14 @@ build_macos_intel: ...@@ -111,6 +123,14 @@ build_macos_intel:
- intel - intel
.test_macos_arm_template:
extends: .test_template
tags:
- bob
- macos
- arm
# Deploy targets # Deploy targets
.deploy_template: .deploy_template:
extends: .bootstrap extends: .bootstrap
...@@ -121,6 +141,7 @@ build_macos_intel: ...@@ -121,6 +141,7 @@ build_macos_intel:
dependencies: dependencies:
- build_linux - build_linux
- build_macos_intel - build_macos_intel
- build_macos_arm
tags: tags:
- bob - bob
- docker - docker
...@@ -161,6 +182,7 @@ pypi: ...@@ -161,6 +182,7 @@ pypi:
dependencies: dependencies:
- build_linux - build_linux
- build_macos_intel - build_macos_intel
- build_macos_arm
tags: tags:
- bob - bob
- docker - docker
......
.build_macos_arm_template:
extends: .build_template
tags:
- macos
- arm
artifacts:
paths:
- ${CONDA_ROOT}/conda-bld/osx-arm64/*.conda
- ${CONDA_ROOT}/conda-bld/osx-arm64/*.tar.bz2
build_macos_arm_38:
extends: .build_macos_arm_template
variables:
PYTHON_VERSION: "3.8"
cache:
key: "build-py38"
.deploy_template:
dependencies:
- build_linux_38
- build_macos_intel_38
- build_macos_arm_38
deploy_beta:
extends: .deploy_template
environment: beta
only:
- master
deploy_stable:
extends: .deploy_template
environment: stable
only:
- /^v\d+\.\d+\.\d+([abc]\d*)?$/ # PEP-440 compliant version (tags)
except:
- branches
pypi:
dependencies:
- build_linux_38
- build_macos_intel_38
- build_macos_arm_38
...@@ -102,6 +102,7 @@ build_macos_arm_39: ...@@ -102,6 +102,7 @@ build_macos_arm_39:
extends: .build_macos_arm_template extends: .build_macos_arm_template
variables: variables:
PYTHON_VERSION: "3.9" PYTHON_VERSION: "3.9"
allow_failure: true
cache: cache:
key: "build-py39" key: "build-py39"
...@@ -143,7 +144,6 @@ build_linux_39: ...@@ -143,7 +144,6 @@ build_linux_39:
- build_linux_39 - build_linux_39
- build_macos_intel_38 - build_macos_intel_38
- build_macos_intel_39 - build_macos_intel_39
- build_macos_arm_39
tags: tags:
- bob - bob
- docker - docker
...@@ -186,7 +186,6 @@ pypi: ...@@ -186,7 +186,6 @@ pypi:
- build_linux_39 - build_linux_39
- build_macos_intel_38 - build_macos_intel_38
- build_macos_intel_39 - build_macos_intel_39
- build_macos_arm_39
tags: tags:
- bob - bob
- docker - docker
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment