1environment: 2 matrix: 3 - TARGET: x86_64-pc-windows-gnu 4 MSYS2_BITS: 64 5# - TARGET: x86_64-pc-windows-msvc 6# VCPKG_DEFAULT_TRIPLET: x64-windows 7# VCPKGRS_DYNAMIC: 1 8# - TARGET: x86_64-pc-windows-msvc 9# VCPKG_DEFAULT_TRIPLET: x64-windows-static 10# RUSTFLAGS: -Ctarget-feature=+crt-static 11install: 12 - appveyor-retry appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe 13 - rustup-init.exe -y --default-host %TARGET% 14 - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin 15 - if defined MSYS2_BITS set PATH=%PATH%;C:\msys64\mingw%MSYS2_BITS%\bin 16 - rustc -V 17 - cargo -V 18 # download SQLite dll (useful only when the `bundled` feature is not set) 19 - appveyor-retry appveyor DownloadFile https://sqlite.org/2018/sqlite-dll-win64-x64-3250200.zip -FileName sqlite-dll-win64-x64.zip 20 - if not defined VCPKG_DEFAULT_TRIPLET 7z e sqlite-dll-win64-x64.zip -y > nul 21 # download SQLite headers (useful only when the `bundled` feature is not set) 22 - appveyor-retry appveyor DownloadFile https://sqlite.org/2018/sqlite-amalgamation-3250200.zip -FileName sqlite-amalgamation.zip 23 - if not defined VCPKG_DEFAULT_TRIPLET 7z e sqlite-amalgamation.zip -y > nul 24 # specify where the SQLite dll has been downloaded (useful only when the `bundled` feature is not set) 25 - if not defined VCPKG_DEFAULT_TRIPLET SET SQLITE3_LIB_DIR=%APPVEYOR_BUILD_FOLDER% 26 # specify where the SQLite headers have been downloaded (useful only when the `bundled` feature is not set) 27 - if not defined VCPKG_DEFAULT_TRIPLET SET SQLITE3_INCLUDE_DIR=%APPVEYOR_BUILD_FOLDER% 28 # install sqlite3 package 29 - if defined VCPKG_DEFAULT_TRIPLET vcpkg install sqlite3 30 31build: false 32 33test_script: 34 - cargo test --lib --verbose 35 - cargo test --lib --verbose --features bundled 36 - cargo test --lib --features "backup blob chrono collation functions hooks limits load_extension serde_json trace" 37 - cargo test --lib --features "backup blob chrono functions hooks limits load_extension serde_json trace buildtime_bindgen" 38 - cargo test --lib --features "backup blob chrono csvtab functions hooks limits load_extension serde_json trace vtab bundled" 39 - cargo test --lib --features "backup blob chrono csvtab functions hooks limits load_extension serde_json trace vtab bundled buildtime_bindgen" 40 41cache: 42 - C:\Users\appveyor\.cargo 43