Skip to content

Commit 370cec4

Browse files
more debuging
1 parent f03b025 commit 370cec4

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/build_wheels.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,11 @@ jobs:
196196
$pcount = $($(Get-WmiObject -class Win32_ComputerSystem).numberoflogicalprocessors)
197197
python ..\scripts\build_flang.py -b "Release" -d build -t X86 -p "$(pwd)\..\..\classic-flang-llvm-project\classic-flang-llvm-project\build\" -j $pcount -v
198198
$resolved = Resolve-Path "$(pwd)\..\..\classic-flang-llvm-project\classic-flang-llvm-project\build\"
199-
$resolved.Path | Set-Content -Path $env:GITHUB_PATH
199+
$resolved_path = $resolved.Path
200+
$new_path = $resolved_path + ";" + [Environment]::GetEnvironmentVariable("GITHUB_PATH", "Machine")
201+
Write-Output "New GITHUB_PATH: "
202+
Write-Output "$new_path"
203+
[Environment]::SetEnvironmentVariable("GITHUB_PATH", "$new_path", "Machine")
200204
201205
- name: Install Windows Dependencies (Part 2a - Reclean Windows Workspace)
202206
if: ${{ matrix.os == 'windows-latest'}}
@@ -208,8 +212,13 @@ jobs:
208212

209213
- name: Install Windows Dependencies (Part 2c - Remainder)
210214
if: matrix.os == 'windows-latest'
215+
shell: powershell
211216
run: |
212217
choco install conan -y
218+
$conanDir = "C:\Program Files\Conan\conan"
219+
$env:PATH = "$conanDir;$env:PATH"
220+
$conanDir | Set-Content -Path $env:GITHUB_PATH
221+
conan --version
213222
conan profile detect --force
214223
conan install . --output-folder=build --build=missing
215224

0 commit comments

Comments
 (0)