summaryrefslogtreecommitdiffstats
path: root/third_party/rust/rusqlite/appveyor.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 14:29:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 14:29:10 +0000
commit2aa4a82499d4becd2284cdb482213d541b8804dd (patch)
treeb80bf8bf13c3766139fbacc530efd0dd9d54394c /third_party/rust/rusqlite/appveyor.yml
parentInitial commit. (diff)
downloadfirefox-upstream.tar.xz
firefox-upstream.zip
Adding upstream version 86.0.1.upstream/86.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--third_party/rust/rusqlite/appveyor.yml42
1 files changed, 42 insertions, 0 deletions
diff --git a/third_party/rust/rusqlite/appveyor.yml b/third_party/rust/rusqlite/appveyor.yml
new file mode 100644
index 0000000000..2d88284f26
--- /dev/null
+++ b/third_party/rust/rusqlite/appveyor.yml
@@ -0,0 +1,42 @@
+environment:
+ matrix:
+ - TARGET: x86_64-pc-windows-gnu
+ MSYS2_BITS: 64
+# - TARGET: x86_64-pc-windows-msvc
+# VCPKG_DEFAULT_TRIPLET: x64-windows
+# VCPKGRS_DYNAMIC: 1
+# - TARGET: x86_64-pc-windows-msvc
+# VCPKG_DEFAULT_TRIPLET: x64-windows-static
+# RUSTFLAGS: -Ctarget-feature=+crt-static
+install:
+ - appveyor-retry appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
+ - rustup-init.exe -y --default-host %TARGET%
+ - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
+ - if defined MSYS2_BITS set PATH=%PATH%;C:\msys64\mingw%MSYS2_BITS%\bin
+ - rustc -V
+ - cargo -V
+ # download SQLite dll (useful only when the `bundled` feature is not set)
+ - appveyor-retry appveyor DownloadFile https://sqlite.org/2018/sqlite-dll-win64-x64-3250200.zip -FileName sqlite-dll-win64-x64.zip
+ - if not defined VCPKG_DEFAULT_TRIPLET 7z e sqlite-dll-win64-x64.zip -y > nul
+ # download SQLite headers (useful only when the `bundled` feature is not set)
+ - appveyor-retry appveyor DownloadFile https://sqlite.org/2018/sqlite-amalgamation-3250200.zip -FileName sqlite-amalgamation.zip
+ - if not defined VCPKG_DEFAULT_TRIPLET 7z e sqlite-amalgamation.zip -y > nul
+ # specify where the SQLite dll has been downloaded (useful only when the `bundled` feature is not set)
+ - if not defined VCPKG_DEFAULT_TRIPLET SET SQLITE3_LIB_DIR=%APPVEYOR_BUILD_FOLDER%
+ # specify where the SQLite headers have been downloaded (useful only when the `bundled` feature is not set)
+ - if not defined VCPKG_DEFAULT_TRIPLET SET SQLITE3_INCLUDE_DIR=%APPVEYOR_BUILD_FOLDER%
+ # install sqlite3 package
+ - if defined VCPKG_DEFAULT_TRIPLET vcpkg install sqlite3
+
+build: false
+
+test_script:
+ - cargo test --lib --verbose
+ - cargo test --lib --verbose --features bundled
+ - cargo test --lib --features "backup blob chrono collation functions hooks limits load_extension serde_json trace"
+ - cargo test --lib --features "backup blob chrono functions hooks limits load_extension serde_json trace buildtime_bindgen"
+ - cargo test --lib --features "backup blob chrono csvtab functions hooks limits load_extension serde_json trace vtab bundled"
+ - cargo test --lib --features "backup blob chrono csvtab functions hooks limits load_extension serde_json trace vtab bundled buildtime_bindgen"
+
+cache:
+ - C:\Users\appveyor\.cargo