From bcc2eb720dc11ff4e7495c27ece6307e3777fc02 Mon Sep 17 00:00:00 2001 From: Lars-Magnus Skog Date: Sat, 8 Jun 2019 04:00:05 +0200 Subject: [PATCH 1/6] chore: reduce targets on appveyor to x86_64-pc-windows-msvc --- appveyor.yml | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index d09a3a542..7f0a3f71d 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,24 +1,9 @@ environment: matrix: - # MinGW - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 - TARGET: i686-pc-windows-gnu - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 - TARGET: x86_64-pc-windows-gnu - - # MSVC - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 - TARGET: i686-pc-windows-msvc - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 TARGET: x86_64-pc-windows-msvc install: - - ps: >- - If ($Env:TARGET -eq 'x86_64-pc-windows-gnu') { - $Env:PATH += ';C:\msys64\mingw64\bin' - } ElseIf ($Env:TARGET -eq 'i686-pc-windows-gnu') { - $Env:PATH += ';C:\msys64\mingw32\bin' - } - appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe - rustup-init -yv --default-host %target% --default-toolchain none - set PATH=%PATH%;%USERPROFILE%\.cargo\bin From 1aa591777dc8585eba9bd6891bf186b444eb89a1 Mon Sep 17 00:00:00 2001 From: Lars-Magnus Skog Date: Sat, 8 Jun 2019 04:00:51 +0200 Subject: [PATCH 2/6] remove submodule update, not needed --- appveyor.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 7f0a3f71d..7b183f8cf 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -9,8 +9,6 @@ install: - set PATH=%PATH%;%USERPROFILE%\.cargo\bin - rustc -vV - cargo -vV - - cd %APPVEYOR_BUILD_FOLDER% - - git submodule update --init --recursive build: false From 5dd5e042000d2fdf543eca18dd173c5d9e00aeae Mon Sep 17 00:00:00 2001 From: Lars-Magnus Skog Date: Sat, 8 Jun 2019 04:01:09 +0200 Subject: [PATCH 3/6] add cargo update --- appveyor.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/appveyor.yml b/appveyor.yml index 7b183f8cf..11379c838 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -9,6 +9,7 @@ install: - set PATH=%PATH%;%USERPROFILE%\.cargo\bin - rustc -vV - cargo -vV + - cargo update build: false From 2881b8217d66a8e8e36f1f88b055d371ac0efd09 Mon Sep 17 00:00:00 2001 From: Lars-Magnus Skog Date: Sat, 8 Jun 2019 04:07:34 +0200 Subject: [PATCH 4/6] run tests with --release for speed up --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 11379c838..8e3866a34 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -14,7 +14,7 @@ install: build: false test_script: -- cargo test +- cargo test --release cache: - target From f515b8a8f0fffc5583153369f2691c1cbba5b289 Mon Sep 17 00:00:00 2001 From: Lars-Magnus Skog Date: Sat, 8 Jun 2019 04:28:38 +0200 Subject: [PATCH 5/6] prune debug folder from target cache --- appveyor.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/appveyor.yml b/appveyor.yml index 8e3866a34..49def79cb 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -7,6 +7,7 @@ install: - appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe - rustup-init -yv --default-host %target% --default-toolchain none - set PATH=%PATH%;%USERPROFILE%\.cargo\bin + - rm -rf target\debug - rustc -vV - cargo -vV - cargo update From 2ea69263e4d98eeea96449a77f179bdb65237de6 Mon Sep 17 00:00:00 2001 From: Lars-Magnus Skog Date: Sat, 8 Jun 2019 04:36:55 +0200 Subject: [PATCH 6/6] debug folder pruned, no longer need rm --- appveyor.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 49def79cb..8e3866a34 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -7,7 +7,6 @@ install: - appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe - rustup-init -yv --default-host %target% --default-toolchain none - set PATH=%PATH%;%USERPROFILE%\.cargo\bin - - rm -rf target\debug - rustc -vV - cargo -vV - cargo update