File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 windows-hostlibs :
1515 runs-on : windows-2025-vs2026
1616 env :
17- CONAN_HOME : build/conan
17+ CONAN_HOME : ${{ github.workspace }}/ build/conan
1818 strategy :
1919 matrix :
2020 include :
8484 windows-skia :
8585 runs-on : windows-2025-vs2026
8686 env :
87- CONAN_HOME : build/conan
87+ CONAN_HOME : ${{ github.workspace }}/ build/conan
8888 strategy :
8989 matrix :
9090 include :
@@ -129,7 +129,7 @@ jobs:
129129 windows-angle :
130130 runs-on : windows-2025-vs2026
131131 env :
132- CONAN_HOME : build/conan
132+ CONAN_HOME : ${{ github.workspace }}/ build/conan
133133 strategy :
134134 matrix :
135135 include :
@@ -261,7 +261,7 @@ jobs:
261261 linux-hostlibs :
262262 runs-on : ubuntu-latest
263263 env :
264- CONAN_HOME : build/conan
264+ CONAN_HOME : ${{ github.workspace }}/ build/conan
265265 needs :
266266 - linux-sysroot
267267
@@ -337,7 +337,7 @@ jobs:
337337 linux-skia :
338338 runs-on : ubuntu-latest
339339 env :
340- CONAN_HOME : build/conan
340+ CONAN_HOME : ${{ github.workspace }}/ build/conan
341341 needs :
342342 - linux-sysroot
343343
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ task build-hostlibs ARCH=arm64
8989task build-hostlibs ARCH=x64 PGO=false # no-pgo flavor
9090```
9191
92- Conan 的 cache 和 source 目录位于 ` build/ conan ` 。
92+ ` CONAN_HOME ` 设为 ` build/conan ` 的绝对路径。本地构建前先 ` export CONAN_HOME=$(pwd)/build/conan ` (或 PowerShell: ` $env:CONAN_HOME = "$PWD\ build\ conan" ` ) 。
9393
9494### 2. 构建 SkiaSharp / HarfBuzzSharp
9595
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ This Conan 2 recipe builds and packages the .NET Runtime apphost and single-file
44host static link inputs. ` pgo=True ` is the default package; set ` pgo=False ` for
55the Windows no-PGO flavor.
66
7- On Windows, set ` CONAN_HOME ` to ` build\conan ` to avoid path-length issues . The
7+ Set ` CONAN_HOME ` to an absolute path (e.g. ` $PWD/build/conan ` ) . The
88Runtime build has deeply nested paths and long MSVC command lines.
99
1010The deployer preserves the response-file-relative directory tree expected by the
You can’t perform that action at this time.
0 commit comments