forked from prisma/tiberius
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
25 lines (23 loc) · 818 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
environment:
matrix:
- TARGET: x86_64-pc-windows-msvc
MSSQL: SQL2017
INSTANCE: MSSQL14.SQL2017
TIBERIUS_TEST_INSTANCE: SQL2017
- TARGET: x86_64-pc-windows-msvc
MSSQL: SQL2019
INSTANCE: MSSQL15.SQL2019
TIBERIUS_TEST_INSTANCE: SQL2019
install:
- appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
- rustup-init -yv --default-toolchain stable --default-host %TARGET%
- set PATH=%PATH%;%USERPROFILE%\.cargo\bin
- set RUST_BACKTRACE=1
- rustc -V
- cargo -V
- ps: .\appveyor.ps1 ${env:MSSQL} ${env:INSTANCE}
build: false
test_script:
- cargo test --target %TARGET% --all
- cargo test --target %TARGET% --test named-instance-async --features sql-browser-async-std
- cargo test --target %TARGET% --test named-instance-tokio --features sql-browser-tokio