From 7efa9233b680e3c007507f8e1e84b7d15868c284 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Wed, 6 Sep 2023 13:10:12 -0400 Subject: [PATCH] BF: install system side packages BEFORE venv etc --- .appveyor.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 2b378e7f..a6ec6643 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -145,6 +145,8 @@ init: install: # place a debug setup helper at a convenient location - cmd: copy tools\ci\appveyor_env_setup.bat C:\\datalad_debug.bat + # Missing system software + - sh: "[ -n \"$INSTALL_SYSPKGS\" ] && ( [ \"x${APPVEYOR_BUILD_WORKER_IMAGE}\" = \"xmacOS\" ] && brew install -q ${INSTALL_SYSPKGS} || { sudo apt-get update -y && sudo apt-get install --no-install-recommends -y ${INSTALL_SYSPKGS}; } ) || true" # If a particular Python version is requested, use env setup (using the # appveyor provided environments/installation). Note, these are broken # on the ubuntu images @@ -161,8 +163,6 @@ install: python -m pip install datalad-installer ) - sh: python -m pip install datalad-installer${DATALAD_INSTALLER_VERSION:-} - # Missing system software - - sh: "[ -n \"$INSTALL_SYSPKGS\" ] && ( [ \"x${APPVEYOR_BUILD_WORKER_IMAGE}\" = \"xmacOS\" ] && brew install -q ${INSTALL_SYSPKGS} || { sudo apt-get update -y && sudo apt-get install --no-install-recommends -y ${INSTALL_SYSPKGS}; } ) || true" # Install git-annex on windows, otherwise INSTALL_SYSPKGS can be used # deploy git-annex, if desired - cmd: IF DEFINED INSTALL_GITANNEX datalad-installer --sudo ok %INSTALL_GITANNEX%