Check the otherbuilds builds in the CI run

This commit is contained in:
Chris Cannam
2021-02-26 11:03:09 +00:00
parent 6ae0bd26a5
commit 779ebb005d
3 changed files with 17 additions and 0 deletions

13
otherbuilds/check.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
set -eu
if [ ! -d /Applications ]; then
make -f otherbuilds/Makefile.linux
g++ main/main.cpp lib/librubberband.a -Isrc -o test -lsndfile -lsamplerate -lpthread
./test -V
else
make -f otherbuilds/Makefile.macos
c++ main/main.cpp lib/librubberband.a -Isrc -o test -lsndfile -lsamplerate -framework Accelerate
./test -V
make -f otherbuilds/Makefile.macos clean
make -f otherbuilds/Makefile.ios
fi