From 0961b1f7d512f17a3dee537e5e6b6136ec4c406a Mon Sep 17 00:00:00 2001 From: Stephen Date: Sun, 1 Sep 2019 18:09:31 -0700 Subject: [PATCH] test appveyor artifacts (#1120) * test appveyor artifacts * add msvc and upload after test * test cygunicorn.dll dependencies * Update .appveyor.yml * add ntldd for msys2 --- .appveyor.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.appveyor.yml b/.appveyor.yml index 73124168..1e58afbc 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -2,7 +2,7 @@ environment: CYG_MIRROR: http://cygwin.mirror.constant.com CYG_PACKAGES: make,gcc-core,clang,pkg-config,libpcre-devel,cmake,python27-setuptools,ruby,mingw64-i686-gcc-core,mingw64-x86_64-gcc-core - MSYS_PACKAGES: mingw-w64-x86_64-cmocka mingw-w64-i686-cmocka mingw-w64-x86_64-python3-setuptools mingw-w64-i686-python3-setuptools + MSYS_PACKAGES: mingw-w64-x86_64-cmocka mingw-w64-i686-cmocka mingw-w64-x86_64-python3-setuptools mingw-w64-i686-python3-setuptools mingw-w64-i686-ntldd mingw-w64-x86_64-ntldd matrix: - MSYSTEM: MINGW64 BASH: C:\msys64\usr\bin\bash @@ -56,3 +56,10 @@ build_script: test_script: - if defined CYG_ROOT (%BASH% -lc "cd $APPVEYOR_BUILD_FOLDER && ./install-cmocka-linux.sh && export PATH=$PATH:$APPVEYOR_BUILD_FOLDER:$APPVEYOR_BUILD_FOLDER/cmocka/src && make test") - if defined MSYSTEM (%BASH% -lc "cd $APPVEYOR_BUILD_FOLDER && export PATH=$PATH:$APPVEYOR_BUILD_FOLDER && make test") + +after_test: + - if defined CYG_ROOT (%BASH% -lc "cd $APPVEYOR_BUILD_FOLDER && ldd cygunicorn.dll") + - if defined MSYSTEM (%BASH% -lc "cd $APPVEYOR_BUILD_FOLDER && ntldd unicorn.dll") + - if defined CYG_ROOT (appveyor PushArtifact %APPVEYOR_BUILD_FOLDER%\cygunicorn.dll) + - if defined MSYSTEM (appveyor PushArtifact %APPVEYOR_BUILD_FOLDER%\unicorn.dll) + - if "%CC%" == "msvc" (appveyor PushArtifact %APPVEYOR_BUILD_FOLDER%\msvc\Win32\Debug\unicorn.dll)