Skip to content

Commit

Permalink
ci: install pip packages
Browse files Browse the repository at this point in the history
  • Loading branch information
illwieckz committed Jul 11, 2024
1 parent a0a4393 commit e29ffbb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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%
Expand Down
5 changes: 5 additions & 0 deletions .azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit e29ffbb

Please sign in to comment.