-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
29 lines (25 loc) · 1.38 KB
/
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
26
27
28
29
platform:
- x64
environment:
RUST_INSTALL_DIR: C:\Rust
matrix:
- RUST_INSTALL_TRIPLE: x86_64-pc-windows-gnu
install:
- ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-nightly-$Env:RUST_INSTALL_TRIPLE.exe"
- cmd: rust-nightly-%RUST_INSTALL_TRIPLE%.exe /VERYSILENT /NORESTART /COMPONENTS="rust,gcc,cargo" /DIR="%RUST_INSTALL_DIR%"
- cmd: SET PATH=%PATH%;%RUST_INSTALL_DIR%\bin;
- rustc --version
- cargo --version
- cinst 7zip.commandline -x86
- ps: if($env:RUST_INSTALL_TRIPLE -eq 'x86_64-pc-windows-gnu') {
Start-FileDownload "http://libgd.blob.core.windows.net/mingw/mingw-w64-dgn-x86_64-20141001.7z";
7z x -oC:\ mingw-w64-dgn-x86_64-20141001.7z;
}
- if "%RUST_INSTALL_TRIPLE%" == "x86_64-pc-windows-gnu" cd sqlite_test/ && mkdir bin\x86_64-pc-windows-gnu && SET PATH=%PATH%;C:\mingw64\bin;
- ps: Start-FileDownload "https://www.sqlite.org/2015/sqlite-autoconf-3080803.tar.gz"
- cmd: 7z x sqlite-autoconf-3080803.tar.gz -o.\ && 7z x sqlite-autoconf-3080803.tar -o.\
- cd sqlite-autoconf-3080803 && gcc -shared -o sqlite3.dll sqlite3.c -Wl,--output-def,sqlite3.def,--out-implib,libsqlite3.a
- if "%RUST_INSTALL_TRIPLE%" == "x86_64-pc-windows-gnu" cd .. && copy sqlite-autoconf-3080803\libsqlite3.a bin\x86_64-pc-windows-gnu\ && copy sqlite-autoconf-3080803\sqlite3.dll .\ && tree /F
build: false
test_script:
- cargo run --verbose