Skip to content

Commit

Permalink
update rustc to nightly-2021-12-02
Browse files Browse the repository at this point in the history
  • Loading branch information
ritchie46 committed Dec 3, 2021
1 parent c1b710a commit 7106377
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/deploy_manylinux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ls -la
rm py-polars/README.md
cp README.md py-polars/README.md
cd py-polars
rustup override set nightly-2021-10-21
rustup override set nightly-2021-12-02
export RUSTFLAGS='-C target-feature=+fxsr,+sse,+sse2,+sse3,+ssse3,+sse4.1,+popcnt'
maturin publish \
--skip-existing \
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/benchmark.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- name: Install latest Rust nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2021-10-21
toolchain: nightly-2021-12-02
override: true
components: rustfmt, clippy
- name: Set up Python
Expand All @@ -31,7 +31,7 @@ jobs:
pip install -r py-polars/build.requirements.txt
pip install --only-binary all pyarrow
cd py-polars
rustup override set nightly-2021-10-21 && RUSTFLAGS="-C embed-bitcode" maturin develop --rustc-extra-args="-C codegen-units=8 -C lto=thin -C target-cpu=native" --release
rustup override set nightly-2021-12-02 && RUSTFLAGS="-C embed-bitcode" maturin develop --rustc-extra-args="-C codegen-units=8 -C lto=thin -C target-cpu=native" --release
cd tests/db-benchmark
Rscript -e 'install.packages("data.table", repos="https://Rdatatable.github.io/data.table")'
Rscript groupby-datagen.R 1e7 1e2 5 0
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- name: Install latest Rust nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2021-10-21
toolchain: nightly-2021-12-02
override: true
components: rustfmt, clippy, miri
- name: Cache Cargo
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
- name: Install latest Rust nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2021-10-21
toolchain: nightly-2021-12-02
override: true
components: rustfmt, clippy
- name: Set up Python
Expand All @@ -86,7 +86,7 @@ jobs:
pip install -r py-polars/build.requirements.txt
- name: Run formatting checks
run: |
cd py-polars && black --check . && blackdoc --check . && isort --check . && rustup override set nightly-2021-10-21 && cargo fmt --all -- --check && cd ..
cd py-polars && black --check . && blackdoc --check . && isort --check . && rustup override set nightly-2021-12-02 && cargo fmt --all -- --check && cd ..
- name: Run linting
run: |
cd py-polars && flake8 && cd ..
Expand All @@ -96,7 +96,7 @@ jobs:
- name: Run tests
run: |
export RUSTFLAGS="-C debuginfo=0"
cd py-polars && rustup override set nightly-2021-10-21 && make build-and-test-with-cov
cd py-polars && rustup override set nightly-2021-12-02 && make build-and-test-with-cov
cargo clippy
# test if we can import polars without any requirements
- name: Import polars
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/create-py-release-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Install latest Rust nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2021-10-21
toolchain: nightly-2021-12-02
override: true
components: rustfmt, clippy
- name: Set up Python
Expand All @@ -31,7 +31,7 @@ jobs:
- name: Run tests
run: |
cd py-polars
rustup override set nightly-2021-10-21
rustup override set nightly-2021-12-02
make build-and-test
rm wheels/*
Expand All @@ -48,7 +48,7 @@ jobs:
- name: Install latest Rust nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2021-10-21
toolchain: nightly-2021-12-02
override: true
components: rustfmt, clippy
- name: Set up Python
Expand All @@ -67,7 +67,7 @@ jobs:
rm py-polars/README.md
cp README.md py-polars/README.md
cd py-polars
rustup override set nightly-2021-10-21
rustup override set nightly-2021-12-02
export RUSTFLAGS='-C target-feature=+fxsr,+sse,+sse2,+sse3'
maturin publish \
--no-sdist \
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/create-py-universal2-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Install latest Rust nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2021-10-21
toolchain: nightly-2021-12-02
override: true
components: rustfmt, clippy
- name: Setup universal2 targets for Rust
Expand All @@ -35,7 +35,7 @@ jobs:
rm py-polars/README.md
cp README.md py-polars/README.md
cd py-polars
rustup override set nightly-2021-10-21
rustup override set nightly-2021-12-02
- name: maturin publish
uses: messense/maturin-action@v1
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Install latest Rust nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2021-10-21
toolchain: nightly-2021-12-02
override: true
components: rustfmt, clippy
- name: Set up Python
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- name: Install latest Rust nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2021-10-21
toolchain: nightly-2021-12-02
override: true
- name: Run tests
run: |
Expand All @@ -24,7 +24,7 @@ jobs:
- name: Install latest Rust nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2021-10-21
toolchain: nightly-2021-12-02
override: true
components: rustfmt, clippy
- name: Set up Python
Expand All @@ -39,7 +39,7 @@ jobs:
shell: bash
run: |
export RUSTFLAGS="-C debuginfo=0"
cd py-polars && rustup override set nightly-2021-10-21 && make build-and-test
cd py-polars && rustup override set nightly-2021-12-02 && make build-and-test
cargo clippy
# test if we can import polars without any requirements
- name: Import polars
Expand Down

0 comments on commit 7106377

Please sign in to comment.