Browse Source

CI: Bogus install prefix in FreeBSD Cirrus CI.

Apparently the ${HOME} variable is set to the filesystem root "/" in
Cirrus CI FreeBSD instances. Just create an installation directory
without it, then.

While here, set --pkgconfigdir to closely mimick the build in the
FreeBSD ports tree.
tags/v1.9.20
Florian Walpen falkTX <falktx@falktx.com> 2 years ago
parent
commit
54217a5d8d
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      .cirrus.yml

+ 3
- 3
.cirrus.yml View File

@@ -9,19 +9,19 @@ task:
CPPFLAGS: -O2 -pipe -fPIC -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include
LDFLAGS: -lreadline -L/usr/local/lib -fstack-protector-strong
prepare_script:
- mkdir ${HOME}/install
- mkdir /Install

matrix:
- name: FreeBSD Minimal Build
dependencies_script:
- pkg install -y pkgconf python3 libsndfile libsamplerate libsysinfo readline expat
config_script:
- python3 ./waf configure --celt=no --sndfile=yes --samplerate=yes --alsa=no --classic --readline=yes --opus=no --example-tools=no --prefix ${HOME}/install
- python3 ./waf configure --celt=no --sndfile=yes --samplerate=yes --alsa=no --classic --readline=yes --opus=no --example-tools=no --prefix /Install --pkgconfigdir libdata/pkgconfig
- name: FreeBSD All Options
dependencies_script:
- pkg install -y pkgconf python3 libsndfile libsamplerate libsysinfo readline alsa-lib dbus expat opus
config_script:
- python3 ./waf configure --celt=no --sndfile=yes --samplerate=yes --alsa=yes --dbus --classic --autostart=dbus --readline=yes --opus=yes --prefix ${HOME}/install
- python3 ./waf configure --celt=no --sndfile=yes --samplerate=yes --alsa=yes --dbus --classic --autostart=dbus --readline=yes --opus=yes --prefix /Install --pkgconfigdir libdata/pkgconfig

build_script:
- python3 ./waf


Loading…
Cancel
Save