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
Jan 14, 2021
0 parents
commit c9e83b2
Showing
3 changed files
with
117 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,92 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
|
||
# NOTE: must set "Crossbow" as name to have the badge links working in the | ||
# github comment reports! | ||
name: Crossbow | ||
|
||
on: | ||
push: | ||
branches: | ||
- "*-github-*" | ||
|
||
jobs: | ||
build: | ||
name: "Build wheel for Windows" | ||
runs-on: windows-2016 | ||
env: | ||
ARCH: "x64" | ||
GENERATOR: Visual Studio 15 2017 | ||
PYTHON_VERSION: "3.7" | ||
PYARROW_VERSION: 2.1.0.dev612 | ||
steps: | ||
- name: Checkout Arrow | ||
shell: bash | ||
run: | | ||
git clone --no-checkout https://github.com/apache/arrow arrow | ||
git -C arrow config core.symlinks true | ||
git -C arrow fetch -t https://github.com/apache/arrow master | ||
git -C arrow checkout FETCH_HEAD | ||
git -C arrow submodule update --init --recursive | ||
- name: Fetch Submodules and Tags | ||
shell: bash | ||
run: cd arrow && ci/scripts/util_checkout.sh | ||
- uses: actions/setup-python@v2 | ||
with: | ||
python-version: "3.7" | ||
- name: Set up Miniconda | ||
shell: bash | ||
run: | | ||
echo "c:\\Miniconda\\condabin" >> $GITHUB_PATH | ||
- name: Build wheel | ||
shell: bash | ||
run: | | ||
arrow/dev/tasks/python-wheels/win-build.bat | ||
- name: Prepare artifacts | ||
# the artifacts must be uploaded from a directory relative to the build root | ||
shell: bash | ||
run: | | ||
mv arrow/python/dist/ wheels/ | ||
- name: Upload to gemfury | ||
shell: bash | ||
run: | | ||
conda.bat install -y curl | ||
WHEEL_PATH=$(echo wheels/*.whl) | ||
curl.exe \ | ||
-F "package=@${WHEEL_PATH}" \ | ||
"https://${CROSSBOW_GEMFURY_TOKEN}@push.fury.io/${CROSSBOW_GEMFURY_ORG}/" | ||
env: | ||
CROSSBOW_GEMFURY_ORG: ${{ secrets.CROSSBOW_GEMFURY_ORG }} | ||
CROSSBOW_GEMFURY_TOKEN: ${{ secrets.CROSSBOW_GEMFURY_TOKEN }} | ||
|
||
- name: Set up Crossbow | ||
shell: bash | ||
run: | | ||
pip install --requirement arrow/dev/tasks/requirements-crossbow.txt | ||
- name: Upload artifacts | ||
shell: bash | ||
run: | | ||
python arrow/dev/tasks/crossbow.py \ | ||
--queue-path . \ | ||
--queue-remote https://github.com/ursa-labs/crossbow \ | ||
upload-artifacts \ | ||
--pattern "wheels/*.whl" \ | ||
--sha nightly-2021-01-14-1-github-wheel-win-cp37m \ | ||
--tag nightly-2021-01-14-1-github-wheel-win-cp37m | ||
env: | ||
CROSSBOW_GITHUB_TOKEN: ${{ secrets.CROSSBOW_GITHUB_TOKEN }} |
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 |