File tree Expand file tree Collapse file tree 1 file changed +18
-3
lines changed Expand file tree Collapse file tree 1 file changed +18
-3
lines changed Original file line number Diff line number Diff line change 37
37
with :
38
38
fetch-depth : 0
39
39
40
- - name : Update driver
41
- run : |
42
- .github/workflows/install_gpu_driver.ps1
40
+ # - name: Update driver
41
+ # run: |
42
+ # .github/workflows/install_gpu_driver.ps1
43
43
44
44
- name : Ensure GPU is working
45
45
run : nvidia-smi
@@ -107,6 +107,21 @@ jobs:
107
107
}
108
108
gh --version
109
109
110
+ - name : Install 7z
111
+ # the GPU runner image does not have Git Bash pre-installed...
112
+ env :
113
+ # doesn't seem there's an easy way to avoid hard-coding it?
114
+ 7Z_URL : https://www.7-zip.org/a/7z2409-x64.msi
115
+ run : |
116
+ Invoke-WebRequest -Uri "$env:7Z_URL" -OutFile "7z_installer.msi"
117
+ Start-Process msiexec.exe -Wait -Verbose -ArgumentList '/i "7z_installer.msi" /qn'
118
+ $GH_POSSIBLE_PATHS = "C:\\Program Files\\7-Zip", "C:\\Program Files (x86)\\7-Zip"
119
+ foreach ($p in $GH_POSSIBLE_PATHS) {
120
+ echo "$p" >> $env:GITHUB_PATH
121
+ $env:Path += ";$p"
122
+ }
123
+ 7z --version
124
+
110
125
- name : Install Git for Windows
111
126
# the GPU runner image does not have Git Bash pre-installed...
112
127
env :
You can’t perform that action at this time.
0 commit comments