Files
jq/appveyor.yml
T

35 lines
1.3 KiB
YAML
Raw Normal View History

2016-01-16 22:20:23 +01:00
environment:
2016-01-16 12:44:34 +01:00
matrix:
2016-01-16 22:20:23 +01:00
- MSYSTEM: MINGW64
PATH: C:\msys64\usr\bin;C:\msys64\mingw64\bin;C:\Windows\System32;C:\Windows;%PATH%
- MSYSTEM: MINGW32
PATH: C:\msys64\usr\bin;C:\msys64\mingw32\bin;C:\Windows\System32;C:\Windows;%PATH%
2016-01-16 12:44:34 +01:00
install:
# update mysy2
- C:\msys64\usr\bin\bash -lc "pacman --needed --noconfirm -Sy pacman-mirrors"
- C:\msys64\usr\bin\bash -lc "pacman --noconfirm -Sy"
- C:\msys64\usr\bin\bash -lc "pacman --noconfirm -S autoconf automake bison flex"
- C:\msys64\usr\bin\bash -lc "pacman --noconfirm -S mingw-w64-i686-oniguruma mingw-w64-x86_64-oniguruma"
build_script:
- bash -lc "exec 0</dev/null && cd $APPVEYOR_BUILD_FOLDER && autoreconf -i"
- bash -lc "exec 0</dev/null && cd $APPVEYOR_BUILD_FOLDER && ./configure --disable-shared --enable-static --enable-all-static"
- bash -lc "exec 0</dev/null && cd $APPVEYOR_BUILD_FOLDER && make LDFLAGS=-lshlwapi"
2016-01-16 22:55:13 +01:00
- bash -lc "exec 0</dev/null && cd $APPVEYOR_BUILD_FOLDER && cat jq.1 | groff -mandoc -Thtml > jq.html"
- 7z a jq-package.zip jq.1 jq.html jq.exe
2016-01-16 12:44:34 +01:00
- bash -lc "exec 0</dev/null && cd $APPVEYOR_BUILD_FOLDER && pwd && ls -la"
2016-01-16 22:20:23 +01:00
- file jq.exe
2016-01-16 12:44:34 +01:00
test_script:
2016-01-16 22:24:38 +01:00
- bash -lc "exec 0</dev/null && cd $APPVEYOR_BUILD_FOLDER && make check"
2016-01-16 12:44:34 +01:00
artifacts:
- path: jq-package.zip
name: jq-package
- path: jq.exe
name: jq-exe