Merge pull request #4295 from mathisloge/ci/disable-debug-mode
[CI] disable vcpkg debug mode
This commit is contained in:
commit
f3da900c35
2 changed files with 5 additions and 8 deletions
4
.github/workflows/ubuntu.yml
vendored
4
.github/workflows/ubuntu.yml
vendored
|
@ -89,7 +89,7 @@ jobs:
|
||||||
if: ${{ github.event_name == 'pull_request' || github.repository != 'mapnik/mapnik' }}
|
if: ${{ github.event_name == 'pull_request' || github.repository != 'mapnik/mapnik' }}
|
||||||
shell: "bash"
|
shell: "bash"
|
||||||
run: >
|
run: >
|
||||||
`./vcpkg/vcpkg fetch nuget | tail -n 1`
|
${{ env.mono }} `./vcpkg/vcpkg fetch nuget | tail -n 1`
|
||||||
sources add
|
sources add
|
||||||
-source "${{ inputs.NUGET_REGISTRY }}"
|
-source "${{ inputs.NUGET_REGISTRY }}"
|
||||||
-storepasswordincleartext
|
-storepasswordincleartext
|
||||||
|
@ -101,7 +101,7 @@ jobs:
|
||||||
if: ${{ github.event_name == 'pull_request' || github.repository != 'mapnik/mapnik' }}
|
if: ${{ github.event_name == 'pull_request' || github.repository != 'mapnik/mapnik' }}
|
||||||
shell: "bash"
|
shell: "bash"
|
||||||
run: >
|
run: >
|
||||||
`./vcpkg/vcpkg fetch nuget | tail -n 1`
|
${{ env.mono }} `./vcpkg/vcpkg fetch nuget | tail -n 1`
|
||||||
setapikey "${{ secrets.GITHUB_TOKEN }}" -Source "${{ inputs.NUGET_REGISTRY }}"
|
setapikey "${{ secrets.GITHUB_TOKEN }}" -Source "${{ inputs.NUGET_REGISTRY }}"
|
||||||
|
|
||||||
- name: Configure CMake
|
- name: Configure CMake
|
||||||
|
|
|
@ -191,8 +191,7 @@
|
||||||
],
|
],
|
||||||
"cacheVariables": {
|
"cacheVariables": {
|
||||||
"INSTALL_DEPENDENCIES": "ON",
|
"INSTALL_DEPENDENCIES": "ON",
|
||||||
"ADDITIONAL_LIBARIES_PATHS": "${sourceDir}/build/${presetName}/vcpkg_installed/x64-windows/bin",
|
"ADDITIONAL_LIBARIES_PATHS": "${sourceDir}/build/${presetName}/vcpkg_installed/x64-windows/bin"
|
||||||
"VCPKG_INSTALL_OPTIONS": "--debug"
|
|
||||||
},
|
},
|
||||||
"environment": {
|
"environment": {
|
||||||
"PROJ_LIB": "${sourceDir}/build/${presetName}/vcpkg_installed/x64-windows/share/proj4"
|
"PROJ_LIB": "${sourceDir}/build/${presetName}/vcpkg_installed/x64-windows/share/proj4"
|
||||||
|
@ -207,8 +206,7 @@
|
||||||
"ci-options"
|
"ci-options"
|
||||||
],
|
],
|
||||||
"cacheVariables": {
|
"cacheVariables": {
|
||||||
"CMAKE_CXX_FLAGS": "--coverage",
|
"CMAKE_CXX_FLAGS": "--coverage"
|
||||||
"VCPKG_INSTALL_OPTIONS": "--debug"
|
|
||||||
},
|
},
|
||||||
"environment": {
|
"environment": {
|
||||||
"PROJ_LIB": "${sourceDir}/build/${presetName}/vcpkg_installed/x64-linux/share/proj4"
|
"PROJ_LIB": "${sourceDir}/build/${presetName}/vcpkg_installed/x64-linux/share/proj4"
|
||||||
|
@ -224,8 +222,7 @@
|
||||||
"ci-options"
|
"ci-options"
|
||||||
],
|
],
|
||||||
"cacheVariables": {
|
"cacheVariables": {
|
||||||
"CMAKE_CXX_FLAGS": "-fprofile-arcs -ftest-coverage",
|
"CMAKE_CXX_FLAGS": "-fprofile-arcs -ftest-coverage"
|
||||||
"VCPKG_INSTALL_OPTIONS": "--debug"
|
|
||||||
},
|
},
|
||||||
"environment": {
|
"environment": {
|
||||||
"PROJ_LIB": "${sourceDir}/build/${presetName}/vcpkg_installed/x64-osx/share/proj4"
|
"PROJ_LIB": "${sourceDir}/build/${presetName}/vcpkg_installed/x64-osx/share/proj4"
|
||||||
|
|
Loading…
Reference in a new issue