Check the otherbuilds builds in the CI run
This commit is contained in:
@@ -17,6 +17,7 @@ tasks:
|
|||||||
- build: |
|
- build: |
|
||||||
cd rubberband
|
cd rubberband
|
||||||
ninja -C build
|
ninja -C build
|
||||||
|
./otherbuilds/check.sh
|
||||||
triggers:
|
triggers:
|
||||||
- action: email
|
- action: email
|
||||||
condition: always
|
condition: always
|
||||||
|
|||||||
3
.github/workflows/macos-ios.yml
vendored
3
.github/workflows/macos-ios.yml
vendored
@@ -21,4 +21,7 @@ jobs:
|
|||||||
run: ninja -C build_macos
|
run: ninja -C build_macos
|
||||||
- name: make ios
|
- name: make ios
|
||||||
run: ninja -C build_ios
|
run: ninja -C build_ios
|
||||||
|
- name: check otherbuilds
|
||||||
|
run: otherbuilds/check.sh
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
13
otherbuilds/check.sh
Executable file
13
otherbuilds/check.sh
Executable 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
|
||||||
Reference in New Issue
Block a user