2
0
mirror of https://github.com/boostorg/locale.git synced 2026-01-19 04:22:08 +00:00

Show more information for Windows coverage run on GHA

This commit is contained in:
Alexander Grund
2025-11-02 14:22:57 +01:00
parent 9458c4207c
commit 5b1acded7f

View File

@@ -439,7 +439,24 @@ jobs:
- name: Setup ICU
shell: pwsh
run: 'Add-Content $Env:BOOST_ROOT/project-config.jam "path-constant ICU_PATH : `"$($pwd.Path)\ICU`" ;"'
run: |
$icuPath = Join-Path $pwd.Path "ICU"
Write-Host "ICU path to be added: $icuPath"
Write-Host ""
if (-not (Test-Path $icuPath)) {
Write-Error "ICU directory not found at $icuPath"
exit 1
}
Get-ChildItem $icuPath | ForEach-Object { Write-Host " $_" }
Write-Host ""
$jamPath = Join-Path $env:BOOST_ROOT "project-config.jam"
Add-Content $jamPath "path-constant ICU_PATH : `"$icuPath`" ;"
Write-Host "Contents of project-config.jam:"
Get-Content $jamPath | ForEach-Object { Write-Host " $_" }
- name: Run tests (WinAPI, without coverage)
if: '!matrix.coverage'
@@ -478,8 +495,12 @@ jobs:
- name: Show config before collecting coverage
if: matrix.coverage
run: |
type %BOOST_ROOT%\project-config.jam
set B2_TARGETS=libs/%SELF%/test//show_config --verbose-test
ci\build.bat
set B2_FLAGS=--debug-configuration
ci\build.bat || exit /b 1
echo Config log:
type %BOOST_ROOT%/bin.v2/config.log
env:
B2_TOOLSET: ${{matrix.toolset}}
B2_CXXSTD: ${{matrix.cxxstd}}