forked from apache/arrow
-
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.
Merge branch 'apache:main' into main
- Loading branch information
Showing
1,541 changed files
with
45,982 additions
and
17,825 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
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
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
Validating CODEOWNERS rules …
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
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
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
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
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 |
---|---|---|
|
@@ -20,6 +20,7 @@ name: C++ | |
on: | ||
push: | ||
paths: | ||
- '.dockerignore' | ||
- '.github/workflows/cpp.yml' | ||
- 'ci/conda_env_*' | ||
- 'ci/docker/**' | ||
|
@@ -35,6 +36,7 @@ on: | |
- 'testing' | ||
pull_request: | ||
paths: | ||
- '.dockerignore' | ||
- '.github/workflows/cpp.yml' | ||
- 'ci/conda_env_*' | ||
- 'ci/docker/**' | ||
|
@@ -99,7 +101,6 @@ jobs: | |
cat <<JSON >> "$GITHUB_OUTPUT" | ||
{ | ||
"arch": "arm64v8", | ||
"archery-use-docker-cli": "0", | ||
"clang-tools": "10", | ||
"image": "ubuntu-cpp", | ||
"llvm": "10", | ||
|
@@ -124,9 +125,6 @@ jobs: | |
include: ${{ fromJson(needs.docker-targets.outputs.targets) }} | ||
env: | ||
ARCH: ${{ matrix.arch }} | ||
# By default, use Docker CLI because docker-compose v1 is obsolete, | ||
# except where the Docker client version is too old. | ||
ARCHERY_USE_DOCKER_CLI: ${{ matrix.archery-use-docker-cli || '1' }} | ||
ARROW_SIMD_LEVEL: ${{ matrix.simd-level }} | ||
CLANG_TOOLS: ${{ matrix.clang-tools }} | ||
LLVM: ${{ matrix.llvm }} | ||
|
@@ -147,6 +145,7 @@ jobs: | |
run: | | ||
sudo apt update | ||
sudo apt install -y --no-install-recommends python3 python3-dev python3-pip | ||
python3 -m pip install -U pip | ||
- name: Setup Archery | ||
run: python3 -m pip install -e dev/archery[docker] | ||
- name: Execute Docker Build | ||
|
@@ -156,8 +155,7 @@ jobs: | |
run: | | ||
# GH-40558: reduce ASLR to avoid ASAN/LSAN crashes | ||
sudo sysctl -w vm.mmap_rnd_bits=28 | ||
sudo sysctl -w kernel.core_pattern="core.%e.%p" | ||
ulimit -c unlimited | ||
source ci/scripts/util_enable_core_dumps.sh | ||
archery docker run ${{ matrix.image }} | ||
- name: Docker Push | ||
if: >- | ||
|
@@ -189,7 +187,7 @@ jobs: | |
- name: Run minimal example | ||
run: | | ||
cd cpp/examples/minimal_build | ||
docker-compose run --rm minimal | ||
docker compose run --rm minimal | ||
macos: | ||
name: ${{ matrix.architecture }} macOS ${{ matrix.macos-version }} C++ | ||
|
@@ -246,7 +244,7 @@ jobs: | |
$(brew --prefix bash)/bin/bash \ | ||
ci/scripts/install_minio.sh latest ${ARROW_HOME} | ||
- name: Set up Python | ||
uses: actions/setup-python@v5.1.0 | ||
uses: actions/setup-python@v5.2.0 | ||
with: | ||
python-version: 3.12 | ||
- name: Install Google Cloud Storage Testbench | ||
|
@@ -273,7 +271,7 @@ jobs: | |
shell: bash | ||
run: | | ||
sudo sysctl -w kern.coredump=1 | ||
sudo sysctl -w kern.corefile=core.%N.%P | ||
sudo sysctl -w kern.corefile=/tmp/core.%N.%P | ||
ulimit -c unlimited # must enable within the same shell | ||
ci/scripts/cpp_test.sh $(pwd) $(pwd)/build | ||
|
@@ -412,12 +410,10 @@ jobs: | |
ARROW_WITH_SNAPPY: ON | ||
ARROW_WITH_ZLIB: ON | ||
ARROW_WITH_ZSTD: ON | ||
# Don't use preinstalled Boost by empty BOOST_ROOT and | ||
# -DBoost_NO_BOOST_CMAKE=ON | ||
# Don't use preinstalled Boost by empty BOOST_ROOT | ||
BOOST_ROOT: "" | ||
ARROW_CMAKE_ARGS: >- | ||
-DARROW_PACKAGE_PREFIX=/${{ matrix.msystem_lower}} | ||
-DBoost_NO_BOOST_CMAKE=ON | ||
-DCMAKE_FIND_PACKAGE_PREFER_CONFIG=ON | ||
# We can't use unity build because we don't have enough memory on | ||
# GitHub Actions. | ||
|
@@ -467,16 +463,18 @@ jobs: | |
https://dl.min.io/server/minio/release/windows-amd64/archive/minio.RELEASE.2022-05-26T05-48-41Z | ||
chmod +x /usr/local/bin/minio.exe | ||
- name: Set up Python | ||
uses: actions/[email protected] | ||
uses: actions/[email protected] | ||
id: python-install | ||
with: | ||
python-version: 3.9 | ||
- name: Install Google Cloud Storage Testbench | ||
shell: bash | ||
shell: msys2 {0} | ||
env: | ||
PIPX_BIN_DIR: /usr/local/bin | ||
PIPX_BASE_PYTHON: ${{ steps.python-install.outputs.python-path }} | ||
run: | | ||
ci/scripts/install_gcs_testbench.sh default | ||
echo "PYTHON_BIN_DIR=$(cygpath --windows $(dirname $(which python3.exe)))" >> $GITHUB_ENV | ||
- name: Test | ||
shell: msys2 {0} | ||
run: | | ||
PATH="$(cygpath --unix ${PYTHON_BIN_DIR}):${PATH}" | ||
ci/scripts/cpp_test.sh "$(pwd)" "$(pwd)/build" |
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
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
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
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
Oops, something went wrong.