diff --git a/.build.yml b/.build.yml index b66fa42..903c7c3 100644 --- a/.build.yml +++ b/.build.yml @@ -17,6 +17,7 @@ tasks: - build: | cd rubberband ninja -C build + ./otherbuilds/check.sh triggers: - action: email condition: always diff --git a/.github/workflows/macos-ios.yml b/.github/workflows/macos-ios.yml index f17deb7..2c1e5f9 100644 --- a/.github/workflows/macos-ios.yml +++ b/.github/workflows/macos-ios.yml @@ -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 + diff --git a/otherbuilds/check.sh b/otherbuilds/check.sh new file mode 100755 index 0000000..9d4d006 --- /dev/null +++ b/otherbuilds/check.sh @@ -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