-
Notifications
You must be signed in to change notification settings - Fork 752
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CI] Add oneAPI run to nightly (#16652)
Add a compile + PVC E2E run using oneAPI to the nightly. This is expected to help reduce pulldown issues. We use flags to disable using Intel libraries so test results match normal builds and there's no oneAPI dependency in the test phase. Remove the oneAPI docker container as we install it as an action instead. --------- Signed-off-by: Sarnie, Nick <[email protected]>
- Loading branch information
Showing
6 changed files
with
58 additions
and
29 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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Linux setup oneAPI env | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Setup oneAPI env | ||
shell: bash | ||
run: | | ||
sudo apt-get --fix-broken -y install | ||
wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB | gpg --dearmor \ | ||
| sudo tee /usr/share/keyrings/oneapi-archive-keyring.gpg > /dev/null && \ | ||
sudo echo "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg] https://apt.repos.intel.com/oneapi all main" \ | ||
| sudo tee /etc/apt/sources.list.d/oneAPI.list && \ | ||
sudo apt update && sudo apt-get -y install intel-oneapi-compiler-dpcpp-cpp-2025.0 | ||
env_before=$(env | sort) | ||
source /opt/intel/oneapi/setvars.sh | ||
env_after=$(env | sort) | ||
changed_envvars=$(comm -13 <(echo "$env_before") <(echo "$env_after")) | ||
while IFS= read -r line; do | ||
echo "$line" >> $GITHUB_ENV | ||
done <<< "$changed_envvars" |
This file was deleted.
Oops, something went wrong.