build(Build-docu-only-on-master,-python3-venv-(sigh)..): Added extra install ubuntu dept, trigger documentation build only on branch master
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Anne de Jong 2023-09-17 17:34:21 +02:00
parent 0425195ffd
commit df4e2cb573
2 changed files with 5 additions and 4 deletions

View File

@ -50,7 +50,10 @@ volumes:
---
kind: pipeline
type: docker
name: documentation_build
name: documentation_build_master
trigger:
branch:
master
clone:
depth: 3
@ -66,5 +69,3 @@ steps:
from_secret: docker_username
password:
from_secret: docker_password
when:
branch: master

View File

@ -10,7 +10,7 @@ set -e
# Update cache
apt update
# Install requirements
apt install -y git python3-virtualenv libopenblas-dev python3-pip libfftw3-dev libusb-1.0-0-dev libpulse-dev python3-build
apt install -y git python3-virtualenv python3-venv libopenblas-dev python3-pip libfftw3-dev libusb-1.0-0-dev libpulse-dev python3-build
# Build
git submodule update --init --recursive
python3 -m venv .venv