forked from conda-forge/cmake-feedstock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.drone.yml
31 lines (28 loc) · 845 Bytes
/
.drone.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
---
kind: pipeline
name: linux_aarch64_
platform:
os: linux
arch: arm64
steps:
- name: Install and build
image: quay.io/condaforge/linux-anvil-aarch64
environment:
CONFIG: linux_aarch64_
UPLOAD_PACKAGES: True
PLATFORM: linux-aarch64
BINSTAR_TOKEN:
from_secret: BINSTAR_TOKEN
FEEDSTOCK_TOKEN:
from_secret: FEEDSTOCK_TOKEN
STAGING_BINSTAR_TOKEN:
from_secret: STAGING_BINSTAR_TOKEN
commands:
- export FEEDSTOCK_ROOT="$DRONE_WORKSPACE"
- export RECIPE_ROOT="$FEEDSTOCK_ROOT/recipe"
- export CI=drone
- export GIT_BRANCH="$DRONE_BRANCH"
- export FEEDSTOCK_NAME=$(basename ${DRONE_REPO_NAME})
- sed -i '$ichown -R conda:conda "$FEEDSTOCK_ROOT"' /opt/docker/bin/entrypoint
- /opt/docker/bin/entrypoint $FEEDSTOCK_ROOT/.scripts/build_steps.sh
- echo "Done building"