-
Notifications
You must be signed in to change notification settings - Fork 19
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
Apr 30, 2024
1 parent
e758cef
commit 18626e8
Showing
2,096 changed files
with
94 additions
and
155,205 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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
|
||
version: 2 | ||
|
||
jobs: | ||
|
This file was deleted.
Oops, something went wrong.
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,90 @@ | ||
# 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-*" | ||
|
||
env: | ||
ARCHERY_DEBUG: 1 | ||
ARCHERY_USE_DOCKER_CLI: 1 | ||
|
||
|
||
jobs: | ||
homebrew: | ||
name: "Homebrew" | ||
runs-on: macos-latest | ||
steps: | ||
- name: Checkout Arrow | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 1 | ||
path: arrow | ||
repository: bkietz/arrow | ||
ref: e798267e1dc56191df9108cabebc7dd32bbd8710 | ||
submodules: recursive | ||
|
||
|
||
- name: Configure Homebrew formula for testing | ||
env: | ||
ARROW_FORMULA: ./arrow/dev/tasks/homebrew-formulae/apache-arrow.rb | ||
run: | | ||
brew update || echo "brew update did not finish successfully" | ||
brew --version | ||
brew unlink python@2 || true | ||
brew config | ||
brew doctor || true | ||
# The GHA runners install of python > 3.10 is incompatible with brew so we | ||
# have to force overwriting of the symlinks | ||
# see https://github.com/actions/runner-images/issues/6868 | ||
brew install --overwrite [email protected] [email protected] [email protected] | ||
set -x | ||
ARROW_GLIB_FORMULA=$(echo ${ARROW_FORMULA} | sed -e 's/\.rb/-glib.rb/') | ||
echo "ARROW_GLIB_FORMULA=${ARROW_GLIB_FORMULA}" >> ${GITHUB_ENV} | ||
for formula in ${ARROW_FORMULA} ${ARROW_GLIB_FORMULA}; do | ||
if [ ! -f ${formula} ]; then | ||
continue | ||
fi | ||
# Pin the current commit in the formula to test so that | ||
# we're not always pulling from the tip of the default branch | ||
sed -i '' -E \ | ||
-e 's@https://github.com/apache/arrow.git", branch: "main"$@https://github.com/bkietz/arrow.git.git", revision: "e798267e1dc56191df9108cabebc7dd32bbd8710"@' \ | ||
${formula} | ||
# Sometimes crossbow gives a remote URL with .git and sometimes not. | ||
# Make sure there's only one | ||
sed -i '' -E -e '[email protected]@.git@' ${formula} | ||
cat ${formula} | ||
cp ${formula} $(brew --repository homebrew/core)/Formula/ | ||
done | ||
- name: Test formula | ||
run: | | ||
brew install -v --HEAD apache-arrow | ||
brew test apache-arrow | ||
brew audit --strict apache-arrow | ||
if [ -f ${ARROW_GLIB_FORMULA} ]; then | ||
brew install -v --HEAD apache-arrow-glib | ||
brew test apache-arrow-glib | ||
brew audit --strict apache-arrow-glib | ||
fi |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.