Browse Source

Use the right drone env

pull/47/head
Dashie der otter 4 months ago
parent
commit
acdb8f2986
Signed by: Dashie <dashie@sigpipe.me> GPG Key ID: C2D57B325840B755
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      tests/install_audiowaveform.sh

+ 2
- 2
tests/install_audiowaveform.sh View File

@@ -19,13 +19,13 @@ build() {
cp -fv audiowaveform /usr/local/bin/audiowaveform
}

BINPATH="${PWD}/.cache/audiowaveform/${DRONE_ARCH}/audiowaveform"
BINPATH="${PWD}/.cache/audiowaveform/${DRONE_RUNNER_PLATFORM}/audiowaveform"

# Cache logic : test if we have an executable already built, and working
if [[ -d .cache ]]; then
echo "-- build audiowaveform; cache available"
# We have a cache dir, create struct
mkdir -pv ".cache/audiowaveform/${DRONE_ARCH}"
mkdir -pv ".cache/audiowaveform/${DRONE_RUNNER_PLATFORM}"

# Check if a binary exists
if [[ -x ${BINPATH} ]]; then

Loading…
Cancel
Save