summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Langford <wlangfor@gmail.com>2019-02-20 21:58:58 -0500
committerWilliam Langford <wlangfor@gmail.com>2019-02-22 19:50:26 -0500
commitdf8346a935035c920a230111a5a4f3a488689b8a (patch)
treead89b323ebdaaaae59a05e20435dea56f9fafef1
parente1fb5257961b914456015efdf2a0fe28165705bf (diff)
Configure appveyor build to use python
-rw-r--r--appveyor.yml15
1 files changed, 8 insertions, 7 deletions
diff --git a/appveyor.yml b/appveyor.yml
index d068dbf6..05d188c8 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -1,9 +1,9 @@
environment:
matrix:
- MSYSTEM: MINGW64
- PATH: C:\msys64\usr\bin;C:\msys64\mingw64\bin;C:\Windows\System32;C:\Windows;%PATH%
+ PATH: C:\Python36;C:\Python36\Scripts;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%
+ PATH: C:\Python36;C:\Python36\Scripts;C:\msys64\usr\bin;C:\msys64\mingw32\bin;C:\Windows\System32;C:\Windows;%PATH%
clone_script:
- bash -lc "git clone -q --branch=$APPVEYOR_REPO_BRANCH https://github.com/${APPVEYOR_REPO_NAME}.git $APPVEYOR_BUILD_FOLDER"
@@ -11,16 +11,17 @@ clone_script:
- bash -lc "cd $APPVEYOR_BUILD_FOLDER && git submodule update --init --recursive"
install:
- # update mysy2
+ # update msys2
- 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 git"
+ - C:\msys64\usr\bin\bash -lc "pacman --noconfirm -Su"
+ - C:\msys64\usr\bin\bash -lc "pacman --noconfirm -S autoconf automake bison flex git"
+ - C:\msys64\usr\bin\bash -lc "pip3 install --upgrade pipenv"
+ - C:\msys64\usr\bin\bash -lc "cd \"$APPVEYOR_BUILD_FOLDER\"/docs && pwd && pipenv sync"
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 --with-oniguruma=builtin --disable-shared --enable-static --enable-all-static"
- - bash -lc "exec 0</dev/null && cd $APPVEYOR_BUILD_FOLDER && make -j8"
+ - bash -lc "exec 0</dev/null && cd $APPVEYOR_BUILD_FOLDER && make"
- 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
- bash -lc "exec 0</dev/null && cd $APPVEYOR_BUILD_FOLDER && pwd && ls -la"