Skip to content

Commit 0993d66

Browse files
more debuging
1 parent f03b025 commit 0993d66

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/build_wheels.yml

Lines changed: 9 additions & 2 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,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+
$conanPath = "C:\Program Files\Conan\"
219+
$conanPath | Set-Content -Path $env:GITHUB_PATH
220+
Import-Module "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1"
213221
conan profile detect --force
214-
conan install . --output-folder=build --build=missing
215222
216223
- name: Build Wheels (Windows)
217224
uses: pypa/[email protected]

0 commit comments

Comments
 (0)