2020-08-05 05:09:23 +08:00
|
|
|
version: 0.1.{build}
|
|
|
|
|
|
|
|
os: Windows Server 2012 R2
|
|
|
|
|
|
|
|
platform: x64
|
|
|
|
|
|
|
|
environment:
|
|
|
|
matrix:
|
|
|
|
- TOOLCHAIN: "cygwin"
|
|
|
|
|
|
|
|
branches:
|
|
|
|
only:
|
2020-10-20 02:41:05 +08:00
|
|
|
- dev
|
2020-08-05 05:09:23 +08:00
|
|
|
- master
|
|
|
|
|
|
|
|
clone_folder: c:\projects\mdbtools
|
|
|
|
|
|
|
|
skip_tags: true
|
|
|
|
|
|
|
|
build_script:
|
2020-12-23 22:34:21 +08:00
|
|
|
- C:\cygwin64\setup-x86_64.exe -q -P bison -P flex -P libiconv-devel
|
|
|
|
- C:\cygwin64\bin\sh -lc "cd /cygdrive/c/projects/mdbtools && git clone https://github.com/mdbtools/mdbtestdata.git test"
|
|
|
|
- C:\cygwin64\bin\sh -lc "cd /cygdrive/c/projects/mdbtools && autoreconf -i -f"
|
|
|
|
- C:\cygwin64\bin\sh -lc "cd /cygdrive/c/projects/mdbtools && ./configure --disable-man --disable-silent-rules"
|
|
|
|
- C:\cygwin64\bin\sh -lc "cd /cygdrive/c/projects/mdbtools && make"
|
2020-08-05 05:09:23 +08:00
|
|
|
|
|
|
|
test_script:
|
2020-12-23 22:34:21 +08:00
|
|
|
- C:\cygwin64\bin\sh -lc "cd /cygdrive/c/projects/mdbtools && ./test_script.sh"
|
|
|
|
- C:\cygwin64\bin\sh -lc "cd /cygdrive/c/projects/mdbtools && ./test_sql.sh"
|