@@ -119,7 +119,13 @@ jobs:
119
119
run : |
120
120
mkdir C:\workspace\flutter
121
121
cd C:\workspace\flutter
122
- git config --global core.autocrlf true
122
+ # git config --global core.autocrlf true
123
+
124
+ git config --global core.autocrlf false
125
+ git config --global core.filemode false
126
+ git config --global core.fscache true
127
+ git config --global core.preloadindex true
128
+ git config --global depot-tools.allowGlobalGitConfig true
123
129
git init --quiet
124
130
git remote add origin https://github.com/${{ github.repository }}
125
131
git fetch --depth 1 origin ${{ github.sha }}
@@ -129,7 +135,7 @@ jobs:
129
135
run : |
130
136
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled" -Value 1 -Force
131
137
echo "DEPOT_TOOLS_WIN_TOOLCHAIN=0" >> $Env:GITHUB_ENV
132
- echo "GYP_MSVS_OVERRIDE_PATH=C:\Program Files (x86) \Microsoft Visual Studio\2022\Enterprise" >> $Env:GITHUB_ENV
138
+ echo "GYP_MSVS_OVERRIDE_PATH=C:\Program Files\Microsoft Visual Studio\2022\Enterprise" >> $Env:GITHUB_ENV
133
139
echo "WINDOWSSDKDIR=C:\Program Files (x86)\Windows Kits\10" >> $Env:GITHUB_ENV
134
140
135
141
- name : Install depot_tools
@@ -147,7 +153,7 @@ jobs:
147
153
# TODO(jsuya) : pipes deprecated in python 3.13. (https://dart-review.googlesource.com/c/sdk/+/307620)
148
154
(Get-Content "engine/src/build/vs_toolchain.py") | ForEach-Object { $_ -replace 'import pipes','' } | Set-Content "engine/src/build/vs_toolchain.py"
149
155
gclient setdep --var=download_dart_sdk=False --var=download_android_deps=False --var=download_fuchsia_deps=False --deps-file=DEPS
150
- gclient sync -v --no-history --shallow --with_tags
156
+ gclient sync -v --no-history --shallow
151
157
152
158
- name : Build
153
159
working-directory : C:\workspace\flutter\engine\src
0 commit comments