Add a debug CI build using MSVC

and increase verbosity of build log
This commit is contained in:
Tom M 2019-07-30 12:53:17 +02:00 committed by GitHub
parent d6c51cd2cc
commit df0a84ec53
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,7 +15,7 @@ jobs:
- script: | - script: |
mkdir build && cd build mkdir build && cd build
export PKG_CONFIG_PATH="/usr/local/opt/libffi/lib/pkgconfig" export PKG_CONFIG_PATH="/usr/local/opt/libffi/lib/pkgconfig"
cmake -DCMAKE_INSTALL_PREFIX=$(Build.ArtifactStagingDirectory) -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=0 .. cmake -DCMAKE_INSTALL_PREFIX=$(Build.ArtifactStagingDirectory) -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=1 ..
make make
displayName: 'Compile fluidsynth' displayName: 'Compile fluidsynth'
@ -70,7 +70,7 @@ jobs:
SET "PATH=d:\deps\bin;%PATH%" SET "PATH=d:\deps\bin;%PATH%"
pkg-config --list-all pkg-config --list-all
mkdir build && cd build || exit -1 mkdir build && cd build || exit -1
cmake -A $(platform) -T $(toolset) -DCMAKE_INSTALL_PREFIX=$(Build.ArtifactStagingDirectory) -Denable-readline=0 -Denable-floats=1 -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=0 .. || exit -1 cmake -A $(platform) -T $(toolset) -DCMAKE_INSTALL_PREFIX=$(Build.ArtifactStagingDirectory) -Denable-readline=0 -Denable-floats=1 -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=1 .. || exit -1
cmake --build . --config Release || exit -1 cmake --build . --config Release || exit -1
displayName: 'Compile fluidsynth' displayName: 'Compile fluidsynth'
- script: | - script: |
@ -102,6 +102,10 @@ jobs:
CMAKE_FLAGS: CMAKE_FLAGS:
gtk-bundle: $(gtk-bundle-x64) gtk-bundle: $(gtk-bundle-x64)
libsndfile-url: $(libsndfile-url-x64) libsndfile-url: $(libsndfile-url-x64)
debug:
CMAKE_FLAGS: -Denable-debug=1
gtk-bundle: $(gtk-bundle-x64)
libsndfile-url: $(libsndfile-url-x64)
no_network: no_network:
CMAKE_FLAGS: -Denable-network=0 CMAKE_FLAGS: -Denable-network=0
gtk-bundle: $(gtk-bundle-x64) gtk-bundle: $(gtk-bundle-x64)
@ -129,7 +133,7 @@ jobs:
@ECHO ON @ECHO ON
SET "PATH=d:\deps\bin;%PATH%" SET "PATH=d:\deps\bin;%PATH%"
mkdir build && cd build || exit -1 mkdir build && cd build || exit -1
cmake -A x64 -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=0 .. || exit -1 cmake -A x64 -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=1 $(CMAKE_FLAGS) .. || exit -1
cmake --build . --config Release || exit -1 cmake --build . --config Release || exit -1
displayName: 'Compile fluidsynth' displayName: 'Compile fluidsynth'
- script: | - script: |