Commit 13b36798 authored by Leander Schulten's avatar Leander Schulten
Browse files

Fix Aubio CI build.

parent 44d772c4
Pipeline #182463 passed with stage
in 2 minutes and 10 seconds
......@@ -8,6 +8,8 @@ stages:
build:
stage: build
script:
- chmod +x build_aubio.sh
- ./build_aubio.sh
- mkdir -p build
- cd build
- /usr/src/mxe/usr/x86_64-w64-mingw32.shared.posix/qt5/bin/qmake ../src/Lichtsteuerung.pro
......
......@@ -10,6 +10,11 @@ cd aubio.git
# get waf to build
./scripts/get_waf.sh
# build
./waf configure --disable-wavwrite --disable-wavread --msvc_version='mingw' --prefix ""
./waf build
./waf install --destdir "$PWD/../src/lib/aubio"
\ No newline at end of file
if [ "$(expr substr $(uname -s) 1 5)" == "MINGW" ]; then
# we are on windows
./waf configure --disable-wavwrite --disable-wavread --msvc_version='mingw' --prefix= ""
else
# we are on linux and cross compile
./waf configure --disable-wavwrite --disable-wavread --with-target-platform=win64 --prefix= ""
fi
./waf install --disable-tests --disable-examples --destdir "$PWD/../src/lib/aubio"
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment