Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Leander Schulten
Lichtsteuerung
Commits
13b36798
Commit
13b36798
authored
Aug 29, 2019
by
Leander Schulten
Browse files
Fix Aubio CI build.
parent
44d772c4
Pipeline
#182463
passed with stage
in 2 minutes and 10 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
13b36798
...
...
@@ -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
...
...
build_aubio.sh
View file @
13b36798
...
...
@@ -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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment