Skip to content

Commit c4662a4

Browse files
committed
Fix skia pack prerequisites and matrix host flavor
1 parent 53b85db commit c4662a4

2 files changed

Lines changed: 8 additions & 5 deletions

File tree

.github/workflows/build.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,18 +91,18 @@ jobs:
9191
fetch-depth: 1
9292
submodules: false
9393

94-
- name: Compute hostlibs cache key (10.0 win-x64)
94+
- name: Compute hostlibs cache key (10.0 default win-x64)
9595
id: hostlibs_key
9696
shell: powershell
9797
run: |
98-
$key = python .\scripts\cache_key.py --kind hostlibs --arch x64 --os windows --runtime-version 10.0 --hostlibs-flavor no-pgo
98+
$key = python .\scripts\cache_key.py --kind hostlibs --arch x64 --os windows --runtime-version 10.0 --hostlibs-flavor default
9999
"key=$key" | Out-File -FilePath $env:GITHUB_OUTPUT -Append
100100
101-
- name: Restore hostlibs cache (10.0 win-x64)
101+
- name: Restore hostlibs cache (10.0 default win-x64)
102102
uses: actions/cache@v5
103103
with:
104104
fail-on-cache-miss: true
105-
path: artifacts\hostlibs\10.0\no-pgo\win-x64
105+
path: artifacts\hostlibs\10.0\default\win-x64
106106
key: ${{ steps.hostlibs_key.outputs.key }}
107107

108108
- name: Run matrix integration build
@@ -165,6 +165,9 @@ jobs:
165165
fetch-depth: 1
166166
submodules: false
167167

168+
- name: Install LLVM
169+
uses: ./.github/actions/install-llvm
170+
168171
- name: Compute skia cache key
169172
id: skia_key
170173
shell: powershell

samples/simple-pinvoke/SimplePInvoke.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<PropertyGroup>
1313
<RidOrDefault>$(RuntimeIdentifier)</RidOrDefault>
1414
<RidOrDefault Condition="'$(RidOrDefault)' == ''">$(DefaultAppHostRuntimeIdentifier)</RidOrDefault>
15-
<HostLibsFlavor Condition="'$(RidOrDefault)' != '' and $(RidOrDefault.StartsWith('win'))">no-pgo</HostLibsFlavor>
15+
<HostLibsFlavor Condition="'$(RidOrDefault)' != '' and $(RidOrDefault.StartsWith('win'))">default</HostLibsFlavor>
1616
<HostLibsRoot>$([MSBuild]::NormalizePath('$(HostLibsBaseRoot)', '$(HostLibsFlavor)'))</HostLibsRoot>
1717
<StaticHostAssetsBaseDir>$(HostLibsRoot)</StaticHostAssetsBaseDir>
1818
</PropertyGroup>

0 commit comments

Comments
 (0)