forked from apache/arrow-rs
-
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:master' into master
- Loading branch information
Showing
283 changed files
with
46,846 additions
and
20,009 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 |
---|---|---|
|
@@ -15,6 +15,9 @@ | |
# specific language governing permissions and limitations | ||
# under the License. | ||
|
||
# Documentation can be found here: | ||
# https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=127405038 | ||
|
||
notifications: | ||
commits: [email protected] | ||
issues: [email protected] | ||
|
@@ -28,4 +31,11 @@ github: | |
merge: false | ||
rebase: false | ||
features: | ||
issues: true | ||
issues: true | ||
protected_branches: | ||
master: | ||
required_status_checks: | ||
# require branches to be up-to-date before merging | ||
strict: true | ||
# don't require any jobs to pass | ||
contexts: [] |
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,64 @@ | ||
# 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. | ||
|
||
name: Prepare Rust Builder | ||
description: 'Prepare Rust Build Environment' | ||
inputs: | ||
rust-version: | ||
description: 'version of rust to install (e.g. stable)' | ||
required: true | ||
default: 'stable' | ||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Cache Cargo | ||
uses: actions/cache@v3 | ||
with: | ||
# these represent dependencies downloaded by cargo | ||
# and thus do not depend on the OS, arch nor rust version. | ||
# | ||
# source https://github.com/actions/cache/blob/main/examples.md#rust---cargo | ||
path: | | ||
/usr/local/cargo/bin/ | ||
/usr/local/cargo/registry/index/ | ||
/usr/local/cargo/registry/cache/ | ||
/usr/local/cargo/git/db/ | ||
key: cargo-cache3-${{ hashFiles('**/Cargo.toml') }} | ||
restore-keys: cargo-cache3- | ||
- name: Generate lockfile | ||
shell: bash | ||
run: cargo fetch | ||
- name: Cache Rust dependencies | ||
uses: actions/cache@v3 | ||
with: | ||
# these represent compiled steps of both dependencies and arrow | ||
# and thus are specific for a particular OS, arch and rust version. | ||
path: /github/home/target | ||
key: ${{ runner.os }}-${{ runner.arch }}-target-cache3-${{ inputs.rust-version }}-${{ hashFiles('**/Cargo.lock') }} | ||
restore-keys: ${{ runner.os }}-${{ runner.arch }}-target-cache3-${{ inputs.rust-version }}- | ||
- name: Install Build Dependencies | ||
shell: bash | ||
run: | | ||
apt-get update | ||
apt-get install -y protobuf-compiler | ||
- name: Setup Rust toolchain | ||
shell: bash | ||
run: | | ||
echo "Installing ${{ inputs.rust-version }}" | ||
rustup toolchain install ${{ inputs.rust-version }} | ||
rustup default ${{ inputs.rust-version }} | ||
echo "CARGO_TARGET_DIR=/github/home/target" >> $GITHUB_ENV |
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 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: cargo | ||
directory: "/" | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 10 | ||
target-branch: master | ||
labels: [auto-dependencies] |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
# | ||
# Script | ||
# | ||
# Must be run with nightly rust for example | ||
# rustup default nightly | ||
|
||
|
||
# stacked borrows checking uses too much memory to run successfully in github actions | ||
# re-enable if the CI is migrated to something more powerful (https://github.com/apache/arrow-rs/issues/1833) | ||
# see also https://github.com/rust-lang/miri/issues/1367 | ||
export MIRIFLAGS="-Zmiri-disable-isolation -Zmiri-disable-stacked-borrows" | ||
cargo miri setup | ||
cargo clean | ||
|
||
echo "Starting Arrow MIRI run..." | ||
cargo miri test -p arrow -- --skip csv --skip ipc --skip json |
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.