-
Notifications
You must be signed in to change notification settings - Fork 215
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[enhancement] Store windows basekit with symlink-preserving compressi…
…on for nightly-build (#2938) * Update nightly-build.yml * Update nightly-build.yml * Update nightly-build.yml * Update nightly-build.yml * Update nightly-build.yml * Update nightly-build.yml * Update nightly-build.yml * Update nightly-build.yml * Update nightly-build.yml
- Loading branch information
Showing
1 changed file
with
16 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 |