Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Temporarily pin nightly version used for builds #87

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
install: echo ""
before_script:
- rustup update
- rustup override set nightly
- rustup override set nightly-2020-06-10
script:
- cargo build
- cargo +stable fmt -- --check
Expand Down
14 changes: 7 additions & 7 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ stages:
pool: {vmImage: 'macOS-10.15'}
variables:
python.version: '3.7'
CIBW_BEFORE_BUILD: pip install -U setuptools-rust && rustup default nightly
CIBW_BEFORE_BUILD: pip install -U setuptools-rust && rustup default nightly-2020-06-10
CIBW_SKIP: cp27-* cp34-* pp*
TWINE_USERNAME: retworkx-ci
CIBW_TEST_COMMAND: python -m unittest discover {project}/tests
Expand All @@ -43,7 +43,7 @@ stages:
pool: {vmImage: 'vs2017-win2016'}
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags')
variables:
CIBW_BEFORE_BUILD: rustup default nightly && pip install -U setuptools-rust
CIBW_BEFORE_BUILD: rustup default nightly-2020-06-10 && pip install -U setuptools-rust
CIBW_SKIP: cp27-* cp34-* pp* *win32
TWINE_USERNAME: retworkx-ci
CIBW_TEST_COMMAND: python -m unittest discover {project}/tests
Expand All @@ -65,7 +65,7 @@ stages:
pool: {vmImage: 'vs2017-win2016'}
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags')
variables:
CIBW_BEFORE_BUILD: rustup default nightly-i686-pc-windows-msvc && pip install -U setuptools-rust
CIBW_BEFORE_BUILD: rustup default nightly-i686-pc-windows-msvc-2020-06-10 && pip install -U setuptools-rust
CIBW_SKIP: cp27-* cp34-* pp* *amd64
TWINE_USERNAME: retworkx-ci
CIBW_TEST_COMMAND: python -m unittest discover {project}/tests
Expand Down Expand Up @@ -100,7 +100,7 @@ stages:
inputs:
versionSpec: '$(python.version)'
displayName: 'Use Python $(python.version)'
- bash: rustup default nightly
- bash: rustup default nightly-2020-06-10
displayName: 'Install Rust'
- bash: python -m pip install --upgrade pip setuptools virtualenv setuptools-rust
displayName: 'Install dependencies'
Expand All @@ -126,7 +126,7 @@ stages:
inputs:
versionSpec: '$(python.version)'
displayName: 'Use Python $(python.version)'
- bash: rustup default nightly
- bash: rustup default nightly-2020-06-10
displayName: 'Install Rust'
- bash: |
set -e
Expand Down Expand Up @@ -165,7 +165,7 @@ stages:
inputs:
versionSpec: '$(python.version)'
displayName: 'Use Python $(python.version)'
- bash: rustup default nightly
- bash: rustup default nightly-2020-06-10
displayName: 'Install Rust'
- bash: python -m pip install --upgrade pip setuptools virtualenv setuptools-rust
displayName: 'Install dependencies'
Expand Down Expand Up @@ -195,7 +195,7 @@ stages:
inputs:
versionSpec: '$(python.version)'
displayName: 'Use Python $(python.version)'
- bash: rustup default nightly
- bash: rustup default nightly-2020-06-10
displayName: 'Install Rust'
- bash: |
set -e
Expand Down
2 changes: 1 addition & 1 deletion tools/install_rust.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
if [ ! -d rust-installer ]; then
mkdir rust-installer
wget https://sh.rustup.rs -O rust-installer/rustup.sh
sh rust-installer/rustup.sh --default-toolchain nightly -y
sh rust-installer/rustup.sh --default-toolchain nightly-2020-06-10 -y
fi