From 1260f145b3e656cc04c2950bd97eb9ac7145d8e1 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Mon, 8 Aug 2016 01:58:16 -0500 Subject: [PATCH 1/3] CI: AppVeyor --- library/compiler-builtins/appveyor.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 library/compiler-builtins/appveyor.yml diff --git a/library/compiler-builtins/appveyor.yml b/library/compiler-builtins/appveyor.yml new file mode 100644 index 000000000000..e7a6a5e4013a --- /dev/null +++ b/library/compiler-builtins/appveyor.yml @@ -0,0 +1,24 @@ +environment: + global: + matrix: + - TARGET=i686-pc-windows-msvc + - TARGET=x86_64-pc-windows-msvc + +install: + - ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-nightly-${env:TARGET}.exe" + - rust-nightly-%TARGET%.exe + - SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin + - rustc -Vv + - cargo -V + +build: false + +test_script: + - cargo build + - cargo build --release + - cargo test + - cargo test --release + +branches: + only: + - master From 74ca884c6da1fef2db211a0e6c16322bb5d54d67 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Mon, 8 Aug 2016 01:59:37 -0500 Subject: [PATCH 2/3] fix the syntax --- library/compiler-builtins/appveyor.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/library/compiler-builtins/appveyor.yml b/library/compiler-builtins/appveyor.yml index e7a6a5e4013a..f051e3b567e9 100644 --- a/library/compiler-builtins/appveyor.yml +++ b/library/compiler-builtins/appveyor.yml @@ -1,8 +1,7 @@ environment: - global: - matrix: - - TARGET=i686-pc-windows-msvc - - TARGET=x86_64-pc-windows-msvc + matrix: + - TARGET: i686-pc-windows-msvc + - TARGET: x86_64-pc-windows-msvc install: - ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-nightly-${env:TARGET}.exe" From e414f9a954419a5194975a0b1a174c2484b19491 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Mon, 8 Aug 2016 02:05:24 -0500 Subject: [PATCH 3/3] properly call the rust installer to not require user input --- library/compiler-builtins/appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/compiler-builtins/appveyor.yml b/library/compiler-builtins/appveyor.yml index f051e3b567e9..d27883dc9015 100644 --- a/library/compiler-builtins/appveyor.yml +++ b/library/compiler-builtins/appveyor.yml @@ -5,7 +5,7 @@ environment: install: - ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-nightly-${env:TARGET}.exe" - - rust-nightly-%TARGET%.exe + - rust-nightly-%TARGET%.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust" - SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin - rustc -Vv - cargo -V