Skip to content

Commit 5bf6690

Browse files
more debuging
1 parent f03b025 commit 5bf6690

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/build_wheels.yml

Lines changed: 9 additions & 3 deletions
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,10 +212,12 @@ 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
213-
conan profile detect --force
214-
conan install . --output-folder=build --build=missing
218+
Import-Module $env:ChocolateyInstall\helpers\chocolateyProfile.psm1
219+
"C:\Program Files\conan" profile detect --force
220+
"C:\Program Files\conan" install . --output-folder=build --build=missing
215221
216222
- name: Build Wheels (Windows)
217223
uses: pypa/[email protected]

0 commit comments

Comments
 (0)