From 4337fc5fe06c4ed699f856e34cfdc9f287010a55 Mon Sep 17 00:00:00 2001 From: Jan Schulz Date: Sat, 16 Jan 2016 12:44:34 +0100 Subject: Build on windows (mingw) on appveyor For this to work, one of the core commiter should do: * enable appveyor in the github project (grant access) * Make an appveyor account and add the github jq repo as a new project inspirations from: appveyor, msys2, use bash environment to build... * https://github.com/ariscop/elemental-ircd/blob/appveyor/appveyor.yml * https://github.com/khaledhosny/ots/pull/67/files * https://github.com/universal-ctags/ctags/blob/master/appveyor.yml * https://github.com/universal-ctags/ctags/blob/master/win32/appveyor.bat and with mvsc * https://github.com/khaledhosny/ots/blob/master/.appveyor.yml Signed-off-by: Nicolas Williams --- appveyor.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 appveyor.yml diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 00000000..ee9c60cf --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,35 @@ +environment: + matrix: + - Compiler: mingw + + +install: + - set "PATH=C:\msys64\usr\bin;C:\msys64\mingw64\bin;C:\Windows\System32;C:\Windows;%PATH%" + - set MSYSTEM=MINGW64 + # update mysy2 + - C:\msys64\usr\bin\bash -lc "pacman --needed --noconfirm -Sy pacman-mirrors" + - C:\msys64\usr\bin\bash -lc "pacman --noconfirm -Sy" + # this crashes? + #- C:\msys64\usr\bin\bash -lc "pacman --noconfirm -S mingw-w64-i686-toolchain" + - C:\msys64\usr\bin\bash -lc "pacman --noconfirm -S autoconf automake bison flex" + # install oniguruma + - C:\msys64\usr\bin\bash -lc "pacman --noconfirm -S mingw-w64-i686-oniguruma mingw-w64-x86_64-oniguruma" + + +build_script: + - bash -lc "exec 0