diff --git a/.appveyor.yml b/.appveyor.yml index 283e75ff..a21694ac 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 8c43f90c..687e22c3 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -63,11 +63,13 @@ strategy: EXE_EXTENSIONS: .exe macOS amd64 AppleClang: VM_IMAGE: 'macOS-12' + PIP_PACKAGES: colorama CMAKE_GENERATOR: Unix Makefiles NPROC_COMMAND: sysctl -n hw.logicalcpu RUN_TESTS: true 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 @@ -87,6 +89,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