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 Mar 2, 2021
0 parents commit ba70551
Show file tree
Hide file tree
Showing 3 changed files with 93 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-.*/
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-latest
steps:
- name: Checkout Arrow
run: |
git clone --no-checkout https://github.com/sagnikc-dremio/arrow arrow
git -C arrow fetch -t https://github.com/sagnikc-dremio/arrow arrow
if [ $CROSSBOW_USE_COMMIT_ID = true ]; then git -C arrow checkout 7184c3f46981dd52c3c521b2676796e82f17da77; 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/sagnikc-dremio/arrow-build \
upload-artifacts \
--sha nightly-914-github-gandiva-jar-ubuntu \
--tag nightly-914-github-gandiva-jar-ubuntu \
--pattern "arrow/dist/*.jar"
env:
CROSSBOW_GITHUB_TOKEN: ${{ secrets.CROSSBOW_GITHUB_TOKEN }}
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

0 comments on commit ba70551

Please sign in to comment.