From 205b335406a8c2f59a32ebf5b11c0bde0c7f5dcf Mon Sep 17 00:00:00 2001 From: icfaust Date: Thu, 1 Aug 2024 00:22:24 -0700 Subject: [PATCH] move to complete powershell --- .github/workflows/nightly-build.yml | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/.github/workflows/nightly-build.yml b/.github/workflows/nightly-build.yml index d4b0f1dc66b..f121be58827 100644 --- a/.github/workflows/nightly-build.yml +++ b/.github/workflows/nightly-build.yml @@ -71,34 +71,29 @@ jobs: repository: oneapi-src/oneDAL - name: Install DPC++ run: | - $env:PATH="C:\msys64\usr\bin;$env:PATH" - echo $env:PATH=C:\msys64\usr\bin;$env:PATH >> $env.GITHUB_ENV & .ci/scripts/install_dpc.ps1 - name: Prepare Intel OpenCL CPU runtime run: | # Store the unpacked runtime to centralize and reduce external downloads - $env:PATH="C:\msys64\usr\bin;$env:PATH" & .ci/scripts/collect_opencl_rt.ps1 - name: System Info run: | - echo "source dpcpp" + $env:PATH="C:\msys64\usr\bin;$env:PATH" + pip install cpufeature cmd.exe "/K" '".\dpcpp\compiler\latest\env\vars.bat" && powershell' Get-Variable -Scope script bash .ci/scripts/describe_system.sh - name: Make daal - shell: cmd run: | - call .\.ci\scripts\build.bat daal vc avx2 + & .\.ci\scripts\build.bat daal vc avx2 - name: Make onedal - shell: cmd run: | - call .\.ci\scripts\build.bat onedal_c vc avx2 + & .\.ci\scripts\build.bat onedal_c vc avx2 - name: Make oneapi_dpc - shell: cmd run: | - call .\dpcpp\compiler\latest\env\vars.bat - call .\dpcpp\compiler\latest\bin\sycl-ls.exe - call .\.ci\scripts\build.bat onedal_dpc vc avx2 + & .\dpcpp\compiler\latest\env\vars.bat + Start-Process ".\dpcpp\compiler\latest\bin\sycl-ls.exe" -Wait + & .\.ci\scripts\build.bat onedal_dpc vc avx2 - name: Archive build uses: actions/upload-artifact@v4 with: