From 3da6595b0c768d476bf3dea4abcd60764ca67b87 Mon Sep 17 00:00:00 2001 From: "J.A. de Jong - Redu-Sone B.V., ASCEE V.O.F" Date: Thu, 12 Jan 2023 20:13:42 +0100 Subject: [PATCH] No downloading of requirements anymore --- .drone.yml | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index 7fb8b26..be7f37f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -13,8 +13,10 @@ steps: - name: archlinux_ccache path: /root/.ccache commands: + # The following command is not required, we included this in the docker + # image of archlinux_build + # - pacman -S --noconfirm ccache openblas fftw pulseaudio pybind11 - git submodule update --init --recursive - - pacman -S --noconfirm ccache openblas fftw pulseaudio pybind11 - cmake . # More than two makes ascee2 irresponsive for now - make -j2 @@ -23,7 +25,9 @@ steps: image: archlinux_build pull: if-not-exists commands: - - pacman -S --noconfirm openblas python-pytest fftw pulseaudio python-pip python-scipy + # The following command is not required, we included this in the docker + # image of archlinux_build + # - pacman -S --noconfirm openblas python-pytest fftw pulseaudio python-pip python-scipy python-h5py - pip install -r requirements.txt - pip install . - pytest @@ -57,8 +61,10 @@ steps: - name: ubuntu_ccache path: /root/.ccache commands: - - apt update - - apt install -y git cmake python3-pybind11 libopenblas-dev python3-pip python3-scipy libusb-1.0-0-dev libpulse-dev python3-h5py fftw-dev + # The following commands are not required, we included this in the docker + # image of ubuntu_build + #- apt update + #- apt install -y git cmake python3-pybind11 libopenblas-dev python3-pip python3-scipy libusb-1.0-0-dev libpulse-dev python3-h5py fftw-dev - git submodule update --init --recursive - cmake . # More than two makes ascee2 irresponsive for now @@ -68,8 +74,10 @@ steps: image: ubuntu pull: if-not-exists commands: - - apt update - - apt install -y python3-pytest fftw pulseaudio python3-pip python3-scipy python3-h5py + # The following commands are not required, we included this in the docker + # image of ubuntu_build + #- apt update + #- apt install -y python3-pytest fftw pulseaudio python3-pip python3-scipy python3-h5py - pip install -r requirements.txt - pip install . - pytest-3