From 1bf3e580559e8c901f89a19183e04edeacaff82e Mon Sep 17 00:00:00 2001 From: gwenn Date: Sun, 24 Jan 2016 16:32:39 +0100 Subject: [PATCH 01/12] Add appveyor configuration file --- appveyor.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 appveyor.yml diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..3abfa08 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,19 @@ +environment: + 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 /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust" + - SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin + - rustc -V + - cargo -V + - ps: Start-FileDownload 'http://sqlite.org/2015/sqlite-dll-win64-x64-3090200.zip' + - cmd: 7z e sqlite-dll-win64-x64-3090200.zip -y > nul + +build: false + +test_script: + - cargo test + +branches: + only: + - appveyor \ No newline at end of file From 6a1554d91e59cae8a53c191f76e505e6fc9ff16a Mon Sep 17 00:00:00 2001 From: gwenn Date: Sun, 24 Jan 2016 17:00:57 +0100 Subject: [PATCH 02/12] Try to fix appveyor build by setting SQLITE3_LIB_DIR --- appveyor.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/appveyor.yml b/appveyor.yml index 3abfa08..0c3b522 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -8,6 +8,7 @@ install: - cargo -V - ps: Start-FileDownload 'http://sqlite.org/2015/sqlite-dll-win64-x64-3090200.zip' - cmd: 7z e sqlite-dll-win64-x64-3090200.zip -y > nul + - SET SQLITE3_LIB_DIR=%APPVEYOR_BUILD_FOLDER% build: false From b8e3db433861afc859715258aa54387cea4720f6 Mon Sep 17 00:00:00 2001 From: gwenn Date: Sun, 24 Jan 2016 17:26:19 +0100 Subject: [PATCH 03/12] Try to fix error: cannot open input file 'sqlite3.lib' --- appveyor.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 0c3b522..7e0ba01 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -6,9 +6,10 @@ install: - SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin - rustc -V - cargo -V - - ps: Start-FileDownload 'http://sqlite.org/2015/sqlite-dll-win64-x64-3090200.zip' - - cmd: 7z e sqlite-dll-win64-x64-3090200.zip -y > nul + - ps: Start-FileDownload 'http://sqlite.org/2016/sqlite-uap-3100200.vsix' + - cmd: 7z e sqlite-uap-3100200.vsix DesignTime/Debug/x64/ Redist/Debug/x64/ -y > nul - SET SQLITE3_LIB_DIR=%APPVEYOR_BUILD_FOLDER% + - cmd: VsixInstaller /q /a /i sqlite-uap-3100200.vsix build: false From 9b97d88362c31ff503d8deeeb13f71be76336908 Mon Sep 17 00:00:00 2001 From: gwenn Date: Sun, 24 Jan 2016 17:32:07 +0100 Subject: [PATCH 04/12] Try to fix appveyor --- appveyor.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 7e0ba01..e562852 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -9,7 +9,7 @@ install: - ps: Start-FileDownload 'http://sqlite.org/2016/sqlite-uap-3100200.vsix' - cmd: 7z e sqlite-uap-3100200.vsix DesignTime/Debug/x64/ Redist/Debug/x64/ -y > nul - SET SQLITE3_LIB_DIR=%APPVEYOR_BUILD_FOLDER% - - cmd: VsixInstaller /q /a /i sqlite-uap-3100200.vsix +# - cmd: VsixInstaller /q /a /i sqlite-uap-3100200.vsix build: false @@ -18,4 +18,7 @@ test_script: branches: only: - - appveyor \ No newline at end of file + - appveyor + +cache: + - C:\Users\appveyor\.cargo From 32c31cdb6078277bb22db95c79bd4d236689143b Mon Sep 17 00:00:00 2001 From: gwenn Date: Sun, 24 Jan 2016 18:54:54 +0100 Subject: [PATCH 05/12] Try to fix appveyor build. --- appveyor.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index e562852..4df3fdd 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -7,14 +7,14 @@ install: - rustc -V - cargo -V - ps: Start-FileDownload 'http://sqlite.org/2016/sqlite-uap-3100200.vsix' - - cmd: 7z e sqlite-uap-3100200.vsix DesignTime/Debug/x64/ Redist/Debug/x64/ -y > nul + - cmd: 7z e sqlite-uap-3100200.vsix DesignTime/Retail/x64/ Redist/Retail/x64/ -y > nul - SET SQLITE3_LIB_DIR=%APPVEYOR_BUILD_FOLDER% # - cmd: VsixInstaller /q /a /i sqlite-uap-3100200.vsix build: false test_script: - - cargo test + - cargo test --lib branches: only: From 9dc91c7e588fa5f0824abedf38a6d843e3ef00c2 Mon Sep 17 00:00:00 2001 From: gwenn Date: Mon, 25 Jan 2016 18:35:22 +0100 Subject: [PATCH 06/12] Update appveyor.yml --- appveyor.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 4df3fdd..abe001b 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,20 +1,21 @@ environment: TARGET: x86_64-pc-windows-msvc install: - - ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-nightly-${env:TARGET}.exe" + - ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-1.6.0-${env:TARGET}.exe" - rust-nightly-%TARGET%.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust" - SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin - rustc -V - cargo -V - - ps: Start-FileDownload 'http://sqlite.org/2016/sqlite-uap-3100200.vsix' - - cmd: 7z e sqlite-uap-3100200.vsix DesignTime/Retail/x64/ Redist/Retail/x64/ -y > nul +# - ps: Start-FileDownload 'http://sqlite.org/2016/sqlite-uap-3100200.vsix' +# - cmd: 7z e sqlite-uap-3100200.vsix DesignTime/Retail/x64/ Redist/Retail/x64/ -y > nul + - ps: Start-FileDownload 'http://sqlite.org/2015/sqlite-dll-win64-x64-3090200.zip' + - cmd: 7z e sqlite-dll-win64-x64-3090200.zip -y > nul - SET SQLITE3_LIB_DIR=%APPVEYOR_BUILD_FOLDER% -# - cmd: VsixInstaller /q /a /i sqlite-uap-3100200.vsix build: false test_script: - - cargo test --lib + - cargo test --lib --verbose branches: only: From eda881349ac33289b1144d2521965ca4569c29c9 Mon Sep 17 00:00:00 2001 From: gwenn Date: Mon, 25 Jan 2016 18:36:06 +0100 Subject: [PATCH 07/12] Update appveyor.yml --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index abe001b..2bf2e65 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -2,7 +2,7 @@ environment: TARGET: x86_64-pc-windows-msvc install: - ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-1.6.0-${env:TARGET}.exe" - - rust-nightly-%TARGET%.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust" + - rust-1.6.0-%TARGET%.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust" - SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin - rustc -V - cargo -V From ec7565383fcdc04086c235eddd045ceba011031d Mon Sep 17 00:00:00 2001 From: gwenn Date: Mon, 25 Jan 2016 19:04:52 +0100 Subject: [PATCH 08/12] Update appveyor.yml --- appveyor.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 2bf2e65..ec70a85 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -6,10 +6,10 @@ install: - SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin - rustc -V - cargo -V -# - ps: Start-FileDownload 'http://sqlite.org/2016/sqlite-uap-3100200.vsix' -# - cmd: 7z e sqlite-uap-3100200.vsix DesignTime/Retail/x64/ Redist/Retail/x64/ -y > nul - - ps: Start-FileDownload 'http://sqlite.org/2015/sqlite-dll-win64-x64-3090200.zip' - - cmd: 7z e sqlite-dll-win64-x64-3090200.zip -y > nul + - ps: Start-FileDownload 'http://sqlite.org/2016/sqlite-uap-3100200.vsix' + - cmd: 7z e sqlite-uap-3100200.vsix DesignTime/Retail/x64/ Redist/Retail/x64/ -y > nul +# - ps: Start-FileDownload 'http://sqlite.org/2015/sqlite-dll-win64-x64-3090200.zip' +# - cmd: 7z e sqlite-dll-win64-x64-3090200.zip -y > nul - SET SQLITE3_LIB_DIR=%APPVEYOR_BUILD_FOLDER% build: false From b0261791b80af2f526acb54274245e444ef02541 Mon Sep 17 00:00:00 2001 From: gwenn Date: Thu, 28 Jan 2016 18:25:33 +0100 Subject: [PATCH 09/12] Try appveyor with the gnu/mingw version. --- appveyor.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 4df3fdd..b9d09f5 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,15 +1,16 @@ environment: - TARGET: x86_64-pc-windows-msvc + TARGET: 1.6.0-x86_64-pc-windows-gnu + MSYS2_BITS: 64 install: - - ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-nightly-${env:TARGET}.exe" - - rust-nightly-%TARGET%.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust" + - ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-${env:TARGET}.exe" + - rust-%TARGET%.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust" - SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin + - if defined MSYS2_BITS set PATH=%PATH%;C:\msys64\mingw%MSYS2_BITS%\bin - rustc -V - cargo -V - - ps: Start-FileDownload 'http://sqlite.org/2016/sqlite-uap-3100200.vsix' - - cmd: 7z e sqlite-uap-3100200.vsix DesignTime/Retail/x64/ Redist/Retail/x64/ -y > nul + - ps: Start-FileDownload 'http://sqlite.org/2015/sqlite-dll-win64-x64-3090200.zip' + - cmd: 7z e sqlite-dll-win64-x64-3090200.zip -y > nul - SET SQLITE3_LIB_DIR=%APPVEYOR_BUILD_FOLDER% -# - cmd: VsixInstaller /q /a /i sqlite-uap-3100200.vsix build: false From 7b174093bf5c0c26880025b2192f1aed8de24c8c Mon Sep 17 00:00:00 2001 From: gwenn Date: Thu, 28 Jan 2016 19:10:37 +0100 Subject: [PATCH 10/12] Fix URL --- appveyor.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index df6e7c7..7983572 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -2,8 +2,8 @@ environment: TARGET: 1.6.0-x86_64-pc-windows-gnu MSYS2_BITS: 64 install: - - ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-1.6.0-${env:TARGET}.exe" - - rust-1.6.0-%TARGET%.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust" + - ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-${env:TARGET}.exe" + - rust-%TARGET%.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust" - SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin - if defined MSYS2_BITS set PATH=%PATH%;C:\msys64\mingw%MSYS2_BITS%\bin - rustc -V From 78cc7f2306412093c568afe1f15cfa5127c504dc Mon Sep 17 00:00:00 2001 From: gwenn Date: Thu, 28 Jan 2016 20:26:59 +0100 Subject: [PATCH 11/12] Upgrade to SQLite 3.10.2 --- appveyor.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 7983572..a253f36 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -8,8 +8,8 @@ install: - if defined MSYS2_BITS set PATH=%PATH%;C:\msys64\mingw%MSYS2_BITS%\bin - rustc -V - cargo -V - - ps: Start-FileDownload 'http://sqlite.org/2015/sqlite-dll-win64-x64-3090200.zip' - - cmd: 7z e sqlite-dll-win64-x64-3090200.zip -y > nul + - ps: Start-FileDownload 'http://sqlite.org/2015/sqlite-dll-win64-x64-3100200.zip' + - cmd: 7z e sqlite-dll-win64-x64-3100200.zip -y > nul - SET SQLITE3_LIB_DIR=%APPVEYOR_BUILD_FOLDER% build: false From eb521c0f3a3698e79365730d8076f39311b99b7b Mon Sep 17 00:00:00 2001 From: gwenn Date: Thu, 28 Jan 2016 20:35:00 +0100 Subject: [PATCH 12/12] Fix URL --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index a253f36..c5484fe 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -8,7 +8,7 @@ install: - if defined MSYS2_BITS set PATH=%PATH%;C:\msys64\mingw%MSYS2_BITS%\bin - rustc -V - cargo -V - - ps: Start-FileDownload 'http://sqlite.org/2015/sqlite-dll-win64-x64-3100200.zip' + - ps: Start-FileDownload 'http://sqlite.org/2016/sqlite-dll-win64-x64-3100200.zip' - cmd: 7z e sqlite-dll-win64-x64-3100200.zip -y > nul - SET SQLITE3_LIB_DIR=%APPVEYOR_BUILD_FOLDER%