diff --git a/.appveyor.yml b/.appveyor.yml index 3c686c07..c5904aee 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -39,6 +39,8 @@ build_script: # The CMAKE_CONFIGURATION_TYPES CMake option make sure to not uselessly provide # build configurations that will not be used. - cmd: > + pip install colorama + echo %NUMBER_OF_PROCESSORS% set CMAKE_BUILD_PARALLEL_LEVEL=%NUMBER_OF_PROCESSORS% diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index abfe52f6..17a23731 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -71,10 +71,12 @@ strategy: RUNTIME_FILES: /usr/lib/gcc/i686-w64-mingw32/10-posix/libgcc_s_dw2-1.dll /usr/lib/gcc/i686-w64-mingw32/10-posix/libstdc++-6.dll /usr/i686-w64-mingw32/lib/libwinpthread-1.dll macOS amd64 AppleClang: VM_IMAGE: 'macOS-12' + PIP_PACKAGES: colorama CMAKE_GENERATOR: Unix Makefiles NPROC_COMMAND: sysctl -n hw.logicalcpu macOS arm64 AppleClang: VM_IMAGE: 'macOS-12' + PIP_PACKAGES: colorama CMAKE_GENERATOR: Unix Makefiles COMPILER_FLAGS: -target arm64-apple-macos11 -Wno-overriding-t-option NPROC_COMMAND: sysctl -n hw.logicalcpu @@ -99,6 +101,9 @@ steps: if [ -n "${APT_PACKAGES:-}" ]; then sudo apt-get update && sudo apt-get -y -q --no-install-recommends install ${APT_PACKAGES} fi + if [ -n "${PIP_PACKAGES:-}" ]; then + pip install ${PIP_PACKAGES} + fi if [ -n "${SETUP_COMMANDS:-}" ]; then $(SETUP_COMMANDS) fi