Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown committed Dec 17, 2020
0 parents commit 66ce014
Show file tree
Hide file tree
Showing 3 changed files with 88 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@

version: 2

jobs:
build:
machine: true

workflows:
version: 2
build:
jobs:
- build:
filters:
branches:
only:
- /.*-circle-.*/
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@

branches:
only:
- master
- /.*-travis-.*/

os: linux
dist: trusty
language: generic
63 changes: 63 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
jobs:
- job: linux
pool:
vmImage: ubuntu-16.04
timeoutInMinutes: 360

variables:
CONFIG: linux_cuda_compiler_versionNonepython3.9.____cpython
R_CONFIG:
ARROW_VERSION: 2.1.0.dev407
UPLOAD_PACKAGES: False

steps:
# configure qemu binfmt-misc running. This allows us to run docker containers
# embedded qemu-static
- script: |
docker run --rm --privileged multiarch/qemu-user-static:register --reset --credential yes
ls /proc/sys/fs/binfmt_misc/
displayName: Configure binfmt_misc
condition: not(startsWith(variables['CONFIG'], 'linux_64'))
- script: |
git clone --no-checkout https://github.com/apache/arrow arrow
git -C arrow fetch -t https://github.com/apache/arrow master
git -C arrow checkout FETCH_HEAD
git -C arrow submodule update --init --recursive
displayName: Clone arrow
# Using github release tries to find a common ancestor between the
# currently pushed tag and the latest tag of the github repository
# (don't know why).
# The tag upload took 43 minutes because of this scan, so use an
# alternative upload script.
- task: CondaEnvironment@1
inputs:
packageSpecs: 'click github3.py jinja2 jira pygit2 ruamel.yaml setuptools_scm toolz anaconda-client shyaml'
installOptions: '-c conda-forge'
updateConda: false

- script: |
mkdir build_artifacts
CI=azure arrow/dev/tasks/conda-recipes/run_docker_build.sh $(pwd)/build_artifacts
displayName: Run docker build
# Upload to github releases
- script: |
python arrow/dev/tasks/crossbow.py \
--queue-path . \
--queue-remote https://github.com/ursa-labs/crossbow \
upload-artifacts \
--sha nightly-2020-12-17-0-azure-conda-linux-gcc-py39-cpu \
--tag nightly-2020-12-17-0-azure-conda-linux-gcc-py39-cpu \
--pattern "build_artifacts/linux-64/*.tar.bz2"
env:
CROSSBOW_GITHUB_TOKEN: $(CROSSBOW_GITHUB_TOKEN)
displayName: Upload packages as a GitHub release
# Upload to custom anaconda channel
- script: |
anaconda -t $(CROSSBOW_ANACONDA_TOKEN) upload --force build_artifacts/linux-64/*.tar.bz2
displayName: Upload packages to Anaconda

0 comments on commit 66ce014

Please sign in to comment.