forked from dremio/arrow-build
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Travis CI User
committed
Mar 3, 2021
0 parents
commit 9a58c4b
Showing
3 changed files
with
97 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,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/sagnikc-dremio/arrow arrow | ||
git -C arrow fetch -t https://github.com/sagnikc-dremio/arrow rel-1400 | ||
if [ $CROSSBOW_USE_COMMIT_ID = true ]; then git -C arrow checkout 4e6380d754aeb8a6e34eb2479d62434576cddcb2; 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/sagnikc-dremio/arrow-build \ | ||
upload-artifacts \ | ||
--sha nightly-915-github-gandiva-jar-osx \ | ||
--tag nightly-915-github-gandiva-jar-osx \ | ||
--pattern "arrow/dist/*.jar" | ||
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 |