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

Use rustup on AppVeyor #703

Merged
merged 3 commits into from
Oct 17, 2018
Merged

Conversation

ecstatic-morse
Copy link
Contributor

@ecstatic-morse ecstatic-morse commented Oct 12, 2018

Use rustup to install rust on AppVeyor.

Unfortunately rustup always installs rust's documentation, so this may slow down CI builds on Windows.

I agree to license my contributions to each file under the terms given at the top of each file I changed.

@@ -11,7 +11,7 @@ platform:
environment:
matrix:
- TOOLCHAIN_VERSION: 14.0
RUST: 1.26.0
RUST: stable
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Capitalize AppVeyor in the commit message.

Reorder this commit to come after the switch to rustup.

Include the text "I agree to license my contributions to each file under the terms given at the top of each file I changed." in each commit as described in the Contributing section of the README.

mkdir build
powershell -Command "(New-Object Net.WebClient).DownloadFile('%RUST_URL%', 'build\rust-%RUST%-%TARGET_ARCH%-pc-windows-msvc.msi')"
set RUSTUP_URL=https://win.rustup.rs/%TARGET_ARCH%
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Capitalize AppVeyor correctly in the commit message and add the "I agree to license my contributions to each file under the terms given at the top of each file I changed." to each commit.

@@ -50,7 +50,7 @@ set TARGET=%TARGET_ARCH%-pc-windows-msvc
%RUSTUP_EXE% -y --default-host %TARGET% --default-toolchain %RUST%
if %ERRORLEVEL% NEQ 0 exit 1

set PATH="C:\Users\appveyor\.cargo\bin";%cd%\windows_build_tools;%PATH%
set PATH=%USERPROFILE%\.cargo\bin;%cd%\windows_build_tools;%PATH%
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems reasonable to me.

The first line of the commit should mention AppVeyor and should end in a period.

The commit message should end with the contribution statement from the README.

The commit messages should be wrapped to ~72 characters.

@ecstatic-morse ecstatic-morse changed the title Appveyor rustup AppVeyor rustup Oct 15, 2018
@ecstatic-morse ecstatic-morse changed the title AppVeyor rustup Use rustup on AppVeyor Oct 15, 2018
@ecstatic-morse ecstatic-morse force-pushed the appveyor-rustup branch 2 times, most recently from f8e9fb5 to 47820f4 Compare October 15, 2018 20:18
I agree to license my contributions to each file under the terms given
at the top of each file I changed.
I agree to license my contributions to each file under the terms given
at the top of each file I changed.
I agree to license my contributions to each file under the terms given
at the top of each file I changed.
@ecstatic-morse
Copy link
Contributor Author

I made the requisite changes to the commit messages.

@briansmith
Copy link
Owner

Thanks for this! Looks great!

@briansmith briansmith merged commit b88587a into briansmith:master Oct 17, 2018
@ecstatic-morse ecstatic-morse deleted the appveyor-rustup branch October 23, 2018 02:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants