From 18088c3e70adf7d534d80f4b72d32dad0df08d91 Mon Sep 17 00:00:00 2001 From: David Gillies Date: Tue, 9 Jul 2019 23:21:51 -0700 Subject: [PATCH] Run commands in sh shell --- .appveyor.yml | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ appveyor.yml | 24 ------------------------ 2 files changed, 51 insertions(+), 24 deletions(-) create mode 100644 .appveyor.yml delete mode 100644 appveyor.yml diff --git a/.appveyor.yml b/.appveyor.yml new file mode 100644 index 0000000..a61fa62 --- /dev/null +++ b/.appveyor.yml @@ -0,0 +1,51 @@ +--- +install: + - set PATH=C:\cygwin\bin;C:\cygwin64\bin;%PATH% + - '%CYG_ROOT%\setup-%CYG_ARCH%.exe -qnNdO -R %CYG_ROOT% + -l %CYG_ROOT%/var/cache/setup + -P autoconf + -P automake + -P bison + -P curl + -P gcc-core + -P gcc-g++ + -P gettext + -P gettext-devel + -P git + -P intltool + -P libgmp-devel + -P libiconv + -P libncurses-devel + -P libreadline-devel + -P libtool + -P make + -P mingw-binutils + -P mingw-gcc-core + -P mingw-gcc-g++ + -P mingw-pthreads + -P mingw-runtime + -P mingw-w32api + -P pkg-config + -P wget' + +environment: + matrix: + - CYG_ARCH: x86_64 + CYG_ROOT: C:/cygwin64 + +build: 'off' + +before_test: + - gcc -v + - g++ -v + +test_script: + # https://help.appveyor.com/discussions/problems/5170-progresspreference-not-works-always-shown-preparing-modules-for-first-use-in-stderr + - ps: $ProgressPreference = "SilentlyContinue" + - sh -c " + aclocal && + autoconf && + ./bootstrap && + ./configure && + make && + make check" diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index 4bdb8cc..0000000 --- a/appveyor.yml +++ /dev/null @@ -1,24 +0,0 @@ -install: - - set PATH=C:\cygwin\bin;C:\cygwin64\bin;%PATH% - - '%CYG_ROOT%\setup-%CYG_ARCH%.exe -qnNdO -R %CYG_ROOT% -s http://cygwin.mirror.constant.com -l %CYG_ROOT%/var/cache/setup -P aclocal -P autoconf -P automake -P bison -P libgmp-devel -P gcc-core -P gcc-g++ -P mingw-runtime -P mingw-binutils -P mingw-gcc-core -P mingw-gcc-g++ -P mingw-pthreads -P mingw-w32api -P libtool -P make -P gettext-devel -P gettext -P intltool -P libiconv -P pkg-config -P git -P wget -P curl' - -environment: - matrix: - - CYG_ARCH: x86_64 - CYG_ROOT: C:/cygwin64 - -build: off - -before_test: - - gcc -v - - g++ -v - -test_script: - # https://help.appveyor.com/discussions/problems/5170-progresspreference-not-works-always-shown-preparing-modules-for-first-use-in-stderr - - ps: $ProgressPreference = "SilentlyContinue" - # - aclocal - # - autoconf - # - ./bootstrap - # - ./configure - # - make - # - make check