Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[enhancement] Store windows basekit with symlink-preserving compression for nightly-build #2938

Merged
merged 11 commits into from
Oct 17, 2024
28 changes: 16 additions & 12 deletions .github/workflows/nightly-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
source /opt/intel/oneapi/compiler/latest/env/vars.sh
.ci/scripts/build.sh --compiler icx --optimizations avx2 --target onedal
- name: Archive build
uses: actions/upload-artifact@v4.4.0
uses: actions/upload-artifact@v4
with:
name: __release_lnx
path: ./__release_lnx
Expand Down Expand Up @@ -104,22 +104,26 @@ jobs:
call .\oneapi\setvars.bat
call .\oneapi\compiler\latest\bin\sycl-ls.exe
call .\.ci\scripts\build.bat onedal_dpc vc avx2
- name: Compress Intel BaseKit
shell: cmd
run: |
# change absolute symlinks to relative symlinks for reuse (fix issue in Intel BaseKit)
# iterate through all dirs in basekit (%%s), use dir to find the symlink target for symlinks named 'latest' (%%H)
# delete the symlink, and make a new symlink using the last foldername (%%~nxH) in a relative fashion
for /D %%s in (.\oneapi\*) do for /f "tokens=2 delims=[]" %%H in ('dir /al %%s\ ^| findstr /i /c:"latest"') do rmdir %%s\latest & mklink /D %%s\latest .\%%~nxH
tar -cvzf oneapi.tar.gz .\oneapi
- name: Archive build
uses: actions/upload-artifact@v4.4.0
uses: actions/upload-artifact@v4
with:
name: __release_win
path: .\__release_win_vc
- name: Compress DPC++
shell: cmd
run: |
tar -cvzf icx.zip .\oneapi
- name: Archive DPC++
uses: actions/[email protected]
path: .\__release_win
- name: Archive Intel BaseKit
uses: actions/upload-artifact@v4
with:
name: icx_compiler
path: .\icx.zip
name: intel_oneapi_basekit
path: .\oneapi.tar.gz
- name: Archive Intel OpenCL CPU runtime
uses: actions/upload-artifact@v4.4.0
uses: actions/upload-artifact@v4
with:
name: opencl_rt_installer
path: .\opencl_rt.msi
Loading