Skip to content

Commit 5a0563b

Browse files
committed
ci: fix windows portable checks in CI
1 parent c52c924 commit 5a0563b

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/c-cpp.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -873,6 +873,8 @@ jobs:
873873
874874
$expectedRoot = Normalize-PortablePath $portableDir.FullName
875875
$expectedMarker = "$expectedRoot/amiberry.portable"
876+
$expectedConfig = "$expectedRoot/configurations"
877+
$expectedSettings = "$expectedRoot/settings"
876878
$expectedData = "$expectedRoot/data"
877879
$expectedPlugins = "$expectedRoot/plugins"
878880
$blockedRoots = @()
@@ -901,8 +903,8 @@ jobs:
901903
Assert-PortablePath "portable_root" $expectedRoot
902904
Assert-PortablePath "portable_marker_file" $expectedMarker
903905
Assert-PortablePath "home_dir" $expectedRoot
904-
Assert-PortablePath "config_path" "$expectedRoot/conf"
905-
Assert-PortablePath "settings_dir" "$expectedRoot/settings"
906+
Assert-PortablePath "config_path" $expectedConfig
907+
Assert-PortablePath "settings_dir" $expectedSettings
906908
Assert-PortablePath "data_dir" $expectedData
907909
Assert-PortablePath "plugins_dir" $expectedPlugins
908910
Assert-NotUnderBlockedRoots "portable_root"
@@ -915,6 +917,9 @@ jobs:
915917
if (Test-Path (Join-Path $portableDir.FullName "Settings")) {
916918
throw "--dump-paths should not create Settings in the portable tree."
917919
}
920+
if (Test-Path (Join-Path $portableDir.FullName "Configurations")) {
921+
throw "--dump-paths should not create Configurations in the portable tree."
922+
}
918923
if (Test-Path (Join-Path $portableDir.FullName "conf")) {
919924
throw "--dump-paths should not create conf in the portable tree."
920925
}

0 commit comments

Comments
 (0)