Change line endings from CRLF to LF

This commit is contained in:
Jethro Beekman 2021-06-25 16:17:43 +02:00 committed by Caleb Cartwright
parent b305d62e5b
commit 19733f19f1

View file

@ -1,55 +1,55 @@
# This is based on https://github.com/japaric/rust-everywhere/blob/master/appveyor.yml # This is based on https://github.com/japaric/rust-everywhere/blob/master/appveyor.yml
# and modified (mainly removal of deployment) to suit rustfmt. # and modified (mainly removal of deployment) to suit rustfmt.
environment: environment:
global: global:
PROJECT_NAME: rustfmt PROJECT_NAME: rustfmt
matrix: matrix:
# Stable channel # Stable channel
# - TARGET: i686-pc-windows-gnu # - TARGET: i686-pc-windows-gnu
# CHANNEL: stable # CHANNEL: stable
# - TARGET: i686-pc-windows-msvc # - TARGET: i686-pc-windows-msvc
# CHANNEL: stable # CHANNEL: stable
# - TARGET: x86_64-pc-windows-gnu # - TARGET: x86_64-pc-windows-gnu
# CHANNEL: stable # CHANNEL: stable
# - TARGET: x86_64-pc-windows-msvc # - TARGET: x86_64-pc-windows-msvc
# CHANNEL: stable # CHANNEL: stable
# Beta channel # Beta channel
# - TARGET: i686-pc-windows-gnu # - TARGET: i686-pc-windows-gnu
# CHANNEL: beta # CHANNEL: beta
# - TARGET: i686-pc-windows-msvc # - TARGET: i686-pc-windows-msvc
# CHANNEL: beta # CHANNEL: beta
# - TARGET: x86_64-pc-windows-gnu # - TARGET: x86_64-pc-windows-gnu
# CHANNEL: beta # CHANNEL: beta
# - TARGET: x86_64-pc-windows-msvc # - TARGET: x86_64-pc-windows-msvc
# CHANNEL: beta # CHANNEL: beta
# Nightly channel # Nightly channel
- TARGET: i686-pc-windows-gnu - TARGET: i686-pc-windows-gnu
CHANNEL: nightly CHANNEL: nightly
- TARGET: i686-pc-windows-msvc - TARGET: i686-pc-windows-msvc
CHANNEL: nightly CHANNEL: nightly
- TARGET: x86_64-pc-windows-gnu - TARGET: x86_64-pc-windows-gnu
CHANNEL: nightly CHANNEL: nightly
- TARGET: x86_64-pc-windows-msvc - TARGET: x86_64-pc-windows-msvc
CHANNEL: nightly CHANNEL: nightly
# Install Rust and Cargo # Install Rust and Cargo
# (Based on from https://github.com/rust-lang/libc/blob/master/appveyor.yml) # (Based on from https://github.com/rust-lang/libc/blob/master/appveyor.yml)
install: install:
- appveyor-retry appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe - appveyor-retry appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
- if "%TARGET%" == "i686-pc-windows-gnu" set PATH=%PATH%;C:\msys64\mingw32\bin - if "%TARGET%" == "i686-pc-windows-gnu" set PATH=%PATH%;C:\msys64\mingw32\bin
- if "%TARGET%" == "x86_64-pc-windows-gnu" set PATH=%PATH%;C:\msys64\mingw64\bin - if "%TARGET%" == "x86_64-pc-windows-gnu" set PATH=%PATH%;C:\msys64\mingw64\bin
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
- rustup-init.exe --default-host %TARGET% --default-toolchain %CHANNEL% -y - rustup-init.exe --default-host %TARGET% --default-toolchain %CHANNEL% -y
- rustc -Vv - rustc -Vv
- cargo -V - cargo -V
# ??? # ???
build: false build: false
test_script: test_script:
- set CFG_RELEASE_CHANNEL=nightly - set CFG_RELEASE_CHANNEL=nightly
- set CFG_RELEASE=nightly - set CFG_RELEASE=nightly
- cargo build --verbose - cargo build --verbose
- cargo test - cargo test
- cargo test -- --ignored - cargo test -- --ignored