From e873e64b401ede9fdcf09a388f7a12010d321dbb Mon Sep 17 00:00:00 2001 From: Yonggang Luo Date: Wed, 23 Sep 2020 23:08:02 +0800 Subject: dependencies/curses: Add way to testing curses on msys2. --- azure-pipelines.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index f0e238d1f..bd36aaa37 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -150,15 +150,18 @@ jobs: gccx86ninja: MSYSTEM: MINGW32 MSYS2_ARCH: i686 + MSYS2_CURSES: ncurses compiler: gcc gccx64ninja: MSYSTEM: MINGW64 MSYS2_ARCH: x86_64 + MSYS2_CURSES: pdcurses MESON_RSP_THRESHOLD: 0 compiler: gcc clangx64ninja: MSYSTEM: MINGW64 MSYS2_ARCH: x86_64 + MSYS2_CURSES: compiler: clang variables: MSYS2_ROOT: $(System.Workfolder)\msys64 @@ -184,6 +187,7 @@ jobs: mingw-w64-$(MSYS2_ARCH)-python3-setuptools ^ mingw-w64-$(MSYS2_ARCH)-python3-pip ^ %TOOLCHAIN% + if not "%MSYS2_CURSES%" == "" ( %MSYS2_ROOT%\usr\bin\pacman --noconfirm --needed -S mingw-w64-$(MSYS2_ARCH)-$(MSYS2_CURSES) ) %MSYS2_ROOT%\usr\bin\bash -lc "python3 -m pip --disable-pip-version-check install gcovr jsonschema pefile" displayName: Install Dependencies - script: | -- cgit v1.2.3