This repository has been archived by the owner on Feb 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
unknown
committed
Dec 17, 2020
0 parents
commit 66ce014
Showing
3 changed files
with
88 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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-.*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
|
||
branches: | ||
only: | ||
- master | ||
- /.*-travis-.*/ | ||
|
||
os: linux | ||
dist: trusty | ||
language: generic |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||