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 62bb320
Show file tree
Hide file tree
Showing 3 changed files with 89 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-.*/
68 changes: 68 additions & 0 deletions .github/workflows/crossbow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# 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: ubuntu-18.04
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: |
python3 -VV
cd arrow
mkdir -p dist
export CC="gcc-4.9" CXX="g++-4.9"
ulimit -c unlimited -S
set -e
docker run -v $PWD:/arrow quay.io/projjal/arrow:gandivadocker /arrow/dev/tasks/gandiva-jars/build-cpp-linux.sh
dev/tasks/gandiva-jars/build-java.sh
env:
OS_NAME: "linux"
CHECK_SHARED_DEPENDENCIES: true
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Set up Crossbow
run: |
pip install --requirement arrow/dev/tasks/requirements-crossbow.txt
- name: Upload artifacts
run: |
python arrow/dev/tasks/crossbow.py \
--queue-path arrow \
--queue-remote https://github.com/dremio/arrow-build \
upload-artifacts \
--sha nightly-957-github-gandiva-jar-ubuntu \
--tag nightly-957-github-gandiva-jar-ubuntu \
--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 62bb320

Please sign in to comment.