Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
Travis CI User committed Apr 9, 2021
1 parent 29e807f commit 8e0afdb
Show file tree
Hide file tree
Showing 3 changed files with 93 additions and 35 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-.*/
72 changes: 72 additions & 0 deletions .github/workflows/crossbow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
# 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:
package:
name: Package Gandiva
runs-on: macos-latest
steps:
- name: Checkout Arrow
run: |
git clone --no-checkout https://github.com/apache/arrow arrow
git -C arrow fetch -t https://github.com/apache/arrow master
if [ $CROSSBOW_USE_COMMIT_ID = true ]; then git -C arrow checkout 6ddaaa87798be335a5bfae057d625d89d10904fb; else git -C arrow checkout FETCH_HEAD; fi
git -C arrow submodule update --init --recursive
- name: Build Gandiva
run: |
cd arrow
mkdir -p dist
export ARROW_TEST_DATA=$PWD/testing/data
set -e
dev/tasks/gandiva-jars/build-cpp-osx.sh
dev/tasks/gandiva-jars/build-java.sh
env:
OS_NAME: "osx"
CHECK_SHARED_DEPENDENCIES: true
MACOSX_DEPLOYMENT_TARGET: "10.11"
- name: Set up Crossbow
run: |
brew install libgit2
pip3 install \
click \
github3.py \
jinja2 \
jira \
pygit2 \
ruamel.yaml \
setuptools_scm \
toolz
- name: Upload artifacts
run: |
python3 arrow/dev/tasks/crossbow.py \
--queue-path arrow \
--queue-remote https://github.com/dremio/arrow-build \
upload-artifacts \
--sha nightly-957-github-gandiva-jar-osx \
--tag nightly-957-github-gandiva-jar-osx \
--pattern "arrow/dist/*.jar"
env:
CROSSBOW_GITHUB_TOKEN: ${{ secrets.CROSSBOW_GITHUB_TOKEN }}
40 changes: 5 additions & 35 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,39 +1,9 @@

branches:
except:
- "/.*win.*/"
only:
- master
- /.*-travis-.*/

os: linux
dist: trusty
language: generic
before_install:
- echo `pwd`
- |
echo ""
echo "Installing a fresh version of Miniconda."
MINICONDA_URL="https://repo.continuum.io/miniconda"
MINICONDA_FILE="Miniconda3-latest-Linux-x86_64.sh"
curl -L -O "${MINICONDA_URL}/${MINICONDA_FILE}"
bash $MINICONDA_FILE -b
- |
echo ""
echo "Configuring conda."
source /home/travis/miniconda3/bin/activate root
conda config --remove channels defaults
conda config --add channels defaults
conda config --add channels conda-forge
conda config --set show_channel_urls true
install:
- |
conda install -y \
jinja2 \
pygit2 \
click \
jira \
toolz \
ruamel.yaml \
setuptools_scm \
github3.py \
python-gnupg
script:
- pushd ..
- git clone -b master https://github.com/apache/arrow
- python arrow/dev/tasks/crossbow.py --queue-path $TRAVIS_BUILD_DIR --queue-remote https://github.com/$TRAVIS_REPO_SLUG submit --job-prefix nightly -g gandiva

0 comments on commit 8e0afdb

Please sign in to comment.