From fd9bf6a6b0d10a984d2eb0e0e549700b7aa590ec Mon Sep 17 00:00:00 2001 From: Tom M Date: Sun, 3 Jan 2021 20:55:48 +0100 Subject: [PATCH] MinGW CI: Provide Release Build Binaries (#738) --- .azure-pipelines.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index ce1ee2d1..c16939bb 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -194,8 +194,8 @@ jobs: set PATH=%PATH:C:\Program Files\Git\usr\bin;=% pkg-config --list-all mkdir build && cd build || exit -1 - cmake -Werror=dev -G "MinGW Makefiles" -DCMAKE_INSTALL_PREFIX=$(Build.ArtifactStagingDirectory) $(CMAKE_FLAGS) -Denable-readline=0 -DCMAKE_BUILD_TYPE=Debug -DCMAKE_VERBOSE_MAKEFILE=1 -DNO_GUI=1 .. || exit -1 - mingw32-make.exe all || exit -1 + cmake -Werror=dev -G "MinGW Makefiles" -DCMAKE_INSTALL_PREFIX=$(Build.ArtifactStagingDirectory) $(CMAKE_FLAGS) -Denable-readline=0 -Denable-floats=1 -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=1 -DNO_GUI=1 .. || exit -1 + mingw32-make.exe -j4 all || exit -1 displayName: 'Compile fluidsynth' - script: | @ECHO ON @@ -204,14 +204,14 @@ jobs: set PATH=%PATH:C:\Program Files\Git\bin;=% set PATH=%PATH:C:\Program Files\Git\usr\bin;=% cd build || exit -1 - mingw32-make.exe check || exit -1 + mingw32-make.exe -j4 check || exit -1 displayName: 'Execute Unittests' continueOnError: 'true' - script: | @ECHO ON cd build mingw32-make.exe install || exit -1 - xcopy test $(Build.ArtifactStagingDirectory)\bin /s + REM xcopy test $(Build.ArtifactStagingDirectory)\bin /s del $(Build.ArtifactStagingDirectory)\bin\concrt*.dll del $(Build.ArtifactStagingDirectory)\bin\vcruntime*.dll del $(Build.ArtifactStagingDirectory)\bin\msvcp*.dll