mirror of
https://github.com/red0124/ssp.git
synced 2025-12-14 21:59:55 +01:00
try ubuntu icc pipeline
This commit is contained in:
22
.github/workflows/ubuntu-latest-icc.yml
vendored
22
.github/workflows/ubuntu-latest-icc.yml
vendored
@@ -16,8 +16,12 @@ on:
|
||||
- bugfix/**
|
||||
|
||||
env:
|
||||
LINUX_BASEKIT_URL: https://registrationcenter-download.intel.com/akdlm/irc_nas/17431/l_BaseKit_p_2021.1.0.2659_offline.sh
|
||||
LINUX_HPCKIT_URL: https://registrationcenter-download.intel.com/akdlm/irc_nas/17427/l_HPCKit_p_2021.1.0.2684_offline.sh
|
||||
LINUX_BASEKIT_URL: >-
|
||||
https://registrationcenter-download.intel.com/akdlm/irc_nas/17431/
|
||||
l_BaseKit_p_2021.1.0.2659_offline.sh
|
||||
LINUX_HPCKIT_URL: >-
|
||||
https://registrationcenter-download.intel.com/akdlm/irc_nas/17427/
|
||||
l_HPCKit_p_2021.1.0.2684_offline.sh
|
||||
|
||||
jobs:
|
||||
build_linux_cpp:
|
||||
@@ -39,8 +43,10 @@ jobs:
|
||||
with:
|
||||
path: |
|
||||
/opt/intel/oneapi/compiler
|
||||
key:
|
||||
install-${{ env.LINUX_HPCKIT_URL }}-${{ env.LINUX_CPP_COMPONENTS_WEB }}-compiler-${{ hashFiles('**/scripts/cache_exclude_linux.sh') }}
|
||||
key: >-
|
||||
install-${{ env.LINUX_HPCKIT_URL }}-
|
||||
${{ env.LINUX_CPP_COMPONENTS_WEB }}-
|
||||
compiler-${{ hashFiles('**/scripts/cache_exclude_linux.sh') }}
|
||||
|
||||
- name: Install icc
|
||||
run: script/ci_install_icc.sh $LINUX_HPCKIT_URL $LINUX_CPP_COMPONENTS_WEB
|
||||
@@ -52,10 +58,14 @@ jobs:
|
||||
run: script/ci_install_deps.sh
|
||||
|
||||
- name: Configure
|
||||
run: source script/ci_setup_icc.sh && cmake -S test -B build -D CMAKE_BUILD_TYPE=Debug
|
||||
run: >-
|
||||
source script/ci_setup_icc.sh &&
|
||||
cmake -S test -B build -D CMAKE_BUILD_TYPE=Debug
|
||||
|
||||
- name: Build
|
||||
run: source script/ci_setup_icc.sh && cmake --build build -j ${{ steps.cores.outputs.count }}
|
||||
run: >-
|
||||
source script/ci_setup_icc.sh &&
|
||||
cmake --build build -j ${{ steps.cores.outputs.count }}
|
||||
|
||||
- name: Run
|
||||
working-directory: build
|
||||
|
||||
Reference in New Issue
Block a user