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

View File

@@ -17,6 +17,7 @@ tasks:
- build: |
cd rubberband
ninja -C build
./otherbuilds/check.sh
triggers:
- action: email
condition: always

View File

@@ -21,4 +21,7 @@ jobs:
run: ninja -C build_macos
- name: make ios
run: ninja -C build_ios
- name: check otherbuilds
run: otherbuilds/check.sh

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