Skip to content

Commit

Permalink
Modified all CI tests to include sndfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Hrick87 committed Dec 14, 2023
1 parent e433a2e commit 104a641
Show file tree
Hide file tree
Showing 17 changed files with 19 additions and 17 deletions.
2 changes: 1 addition & 1 deletion scripts/android_emu/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ then
--enable-tests \
--disable-soversion \
--disable-tools \
--build-3rdparty=libuv,openfec,openssl,speexdsp,cpputest
--build-3rdparty=libuv,openfec,openssl,speexdsp,cpputest,sndfile
fi

if [[ "${action}" == prep ]]
Expand Down
2 changes: 1 addition & 1 deletion scripts/ci_checks/android/linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ scons -Q \
--disable-soversion \
--disable-tools \
--enable-tests \
--build-3rdparty=libuv,openfec,speexdsp,openssl,cpputest \
--build-3rdparty=libuv,openfec,speexdsp,openssl,cpputest,sndfile \
--compiler=clang \
--host="$1"
2 changes: 1 addition & 1 deletion scripts/ci_checks/linux-arm/aarch64-linux-gnu-gcc-7.4.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ toolchain="aarch64-linux-gnu"
compiler="gcc-7.4.1-release"
cpu="cortex-a53" # armv8

third_party="libuv,libunwind,openfec,alsa,speexdsp,sox,openssl,cpputest"
third_party="libuv,libunwind,openfec,alsa,speexdsp,sox,openssl,cpputest,sndfile"

for pulse_ver in 8.0 15.99.1
do
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ toolchain="arm-bcm2708hardfp-linux-gnueabi"
compiler="gcc-4.7.1-release"
cpu="arm1176" # armv6

third_party="libuv,libunwind,libatomic_ops,openfec,alsa,pulseaudio:5.0,speexdsp,sox,openssl,cpputest"
third_party="libuv,libunwind,libatomic_ops,openfec,alsa,pulseaudio:5.0,speexdsp,sox,openssl,cpputest,sndfile"

scons -Q \
--enable-werror \
Expand Down
2 changes: 1 addition & 1 deletion scripts/ci_checks/linux-arm/arm-linux-gnueabihf-gcc-4.9.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ toolchain="arm-linux-gnueabihf"
compiler="gcc-4.9.4-release"
cpu="cortex-a15" # armv7

third_party="libuv,libunwind,openfec,alsa,pulseaudio:10.0,speexdsp,sox,openssl,cpputest"
third_party="libuv,libunwind,openfec,alsa,pulseaudio:10.0,speexdsp,sox,openssl,cpputest,sndfile"

scons -Q \
--enable-werror \
Expand Down
4 changes: 3 additions & 1 deletion scripts/ci_checks/linux-checks/conditional-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ scons -Q --enable-werror --build-3rdparty=all \
--disable-openfec \
--disable-speex \
--disable-sox \
--disable-pulseaudio
--disable-pulseaudio \
--disable-sndfile \

# optional dependencies: none, optional targets: all
scons -Q --enable-werror --build-3rdparty=all \
Expand All @@ -24,6 +25,7 @@ scons -Q --enable-werror --build-3rdparty=all \
--disable-speex \
--disable-sox \
--disable-pulseaudio \
--disable-sndfile \
test

# optional dependencies: all, optional targets: all
Expand Down
2 changes: 1 addition & 1 deletion scripts/ci_checks/linux-x86_64/alpine.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ scons -Q \
--enable-benchmarks \
--enable-examples \
--enable-doxygen \
--build-3rdparty=openfec,cpputest,google-benchmark \
--build-3rdparty=openfec,cpputest,google-benchmark,sndfile \
test
2 changes: 1 addition & 1 deletion scripts/ci_checks/linux-x86_64/archlinux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ scons -Q \
--enable-benchmarks \
--enable-examples \
--enable-doxygen \
--build-3rdparty=openfec,cpputest,google-benchmark:1.5.5 \
--build-3rdparty=openfec,cpputest,google-benchmark:1.5.5,sndfile \
test
2 changes: 1 addition & 1 deletion scripts/ci_checks/linux-x86_64/debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ scons -Q \
--enable-benchmarks \
--enable-examples \
--enable-doxygen \
--build-3rdparty=libuv,openfec,cpputest \
--build-3rdparty=libuv,openfec,cpputest,sndfile \
test
2 changes: 1 addition & 1 deletion scripts/ci_checks/linux-x86_64/fedora.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ scons -Q \
--enable-benchmarks \
--enable-examples \
--enable-doxygen \
--build-3rdparty=openfec,cpputest \
--build-3rdparty=openfec,cpputest,sndfile \
test
2 changes: 1 addition & 1 deletion scripts/ci_checks/linux-x86_64/opensuse.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ scons -Q \
--enable-benchmarks \
--enable-examples \
--enable-doxygen \
--build-3rdparty=openfec,cpputest \
--build-3rdparty=openfec,cpputest,sndfile \
test
2 changes: 1 addition & 1 deletion scripts/ci_checks/linux-x86_64/ubuntu-14.04.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ do
--enable-tests \
--enable-examples \
--enable-doxygen \
--build-3rdparty=libuv,libatomic_ops,openfec,openssl,pulseaudio,cpputest \
--build-3rdparty=libuv,libatomic_ops,openfec,openssl,pulseaudio,cpputest,sndfile \
--compiler=${comp} \
test
done
2 changes: 1 addition & 1 deletion scripts/ci_checks/linux-x86_64/ubuntu-16.04.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ do
--enable-benchmarks \
--enable-examples \
--enable-doxygen \
--build-3rdparty=libatomic_ops,openfec,openssl,cpputest,google-benchmark \
--build-3rdparty=libatomic_ops,openfec,openssl,cpputest,google-benchmark,sndfile \
--compiler=${comp} \
test
done
2 changes: 1 addition & 1 deletion scripts/ci_checks/linux-x86_64/ubuntu-18.04.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ do
--enable-benchmarks \
--enable-examples \
--enable-doxygen \
--build-3rdparty=openfec,google-benchmark \
--build-3rdparty=openfec,google-benchmark,sndfile \
--compiler=${comp} \
test
done
2 changes: 1 addition & 1 deletion scripts/ci_checks/linux-x86_64/ubuntu-20.04.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ do
--enable-tests \
--enable-benchmarks \
--enable-examples \
--build-3rdparty=openfec \
--build-3rdparty=openfec,sndfile \
--compiler=${comp} \
test
done
2 changes: 1 addition & 1 deletion scripts/ci_checks/linux-x86_64/ubuntu-22.04.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ do
--enable-tests \
--enable-benchmarks \
--enable-examples \
--build-3rdparty=openfec \
--build-3rdparty=openfec,sndfile \
--compiler=${comp} \
test
done
2 changes: 1 addition & 1 deletion scripts/ci_checks/macos/standard-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -euxo pipefail
brew install \
automake scons ragel gengetopt \
libuv speexdsp sox openssl@3 \
cpputest google-benchmark
cpputest google-benchmark sndfile

# debug build
scons -Q \
Expand Down

0 comments on commit 104a641

Please sign in to comment.