force release mode

This commit is contained in:
Stefano Sinigardi 2020-04-30 19:55:55 +02:00
parent a993060d09
commit 72b3712df8
1 changed files with 5 additions and 2 deletions

View File

@ -40,7 +40,7 @@ jobs:
useVcpkgToolchainFile: true
buildDirectory: '${{ runner.workspace }}/buildDirectory'
cmakeBuildType: 'Release'
cmakeAppendedArgs: "-DBUILD_SHARED_LIBS=OFF"
cmakeAppendedArgs: "-DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=Release"
buildWithCMakeArgs: '--target install'
- uses: actions/upload-artifact@v2
@ -82,6 +82,7 @@ jobs:
cmakeListsTxtPath: '${{ github.workspace }}/CMakeLists.txt'
useVcpkgToolchainFile: true
buildDirectory: '${{ runner.workspace }}/buildDirectory'
cmakeAppendedArgs: "-DCMAKE_BUILD_TYPE=Release"
cmakeBuildType: 'Release'
buildWithCMakeArgs: '--target install'
@ -138,7 +139,7 @@ jobs:
useVcpkgToolchainFile: true
buildDirectory: '${{ runner.workspace }}/buildDirectory'
cmakeBuildType: 'Release'
cmakeAppendedArgs: "-DBUILD_SHARED_LIBS=OFF"
cmakeAppendedArgs: "-DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=Release"
buildWithCMakeArgs: '--target install'
- uses: actions/upload-artifact@v2
@ -178,6 +179,7 @@ jobs:
cmakeListsTxtPath: '${{ github.workspace }}/CMakeLists.txt'
useVcpkgToolchainFile: true
buildDirectory: '${{ runner.workspace }}/buildDirectory'
cmakeAppendedArgs: "-DCMAKE_BUILD_TYPE=Release"
cmakeBuildType: 'Release'
buildWithCMakeArgs: '--target install'
@ -229,6 +231,7 @@ jobs:
cmakeListsTxtPath: '${{ github.workspace }}/CMakeLists.txt'
useVcpkgToolchainFile: true
buildDirectory: '${{ runner.workspace }}/buildDirectory'
cmakeAppendedArgs: "-DCMAKE_BUILD_TYPE=Release"
cmakeBuildType: 'Release'
buildWithCMakeArgs: '--target install'