mirror of
https://github.com/red0124/ssp.git
synced 2025-01-23 04:55:20 +01:00
try ubuntu icc pipeline
This commit is contained in:
parent
0b8b1dda22
commit
b4f00b42a2
6
.github/workflows/ubuntu-latest-icc.yml
vendored
6
.github/workflows/ubuntu-latest-icc.yml
vendored
@ -26,9 +26,6 @@ jobs:
|
||||
run:
|
||||
shell: bash
|
||||
|
||||
env:
|
||||
CXX: dpcpp
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
@ -44,6 +41,9 @@ jobs:
|
||||
- name: Install icc
|
||||
run: script/ci_install_icc.sh $LINUX_HPCKIT_URL $LINUX_CPP_COMPONENTS_WEB
|
||||
|
||||
- name: Setup icc
|
||||
run: source script/ci_setup_icc.sh
|
||||
|
||||
- name: Install dependencies
|
||||
run: script/ci_install_deps.sh
|
||||
|
||||
|
11
script/ci_setup_icc.sh
Executable file
11
script/ci_setup_icc.sh
Executable file
@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
# SPDX-FileCopyrightText: 2020 Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
#shellcheck disable=SC2010
|
||||
LATEST_VERSION=$(ls -1 /opt/intel/oneapi/compiler/ | grep -v latest | sort | tail -1)
|
||||
# shellcheck source=/dev/null
|
||||
source /opt/intel/oneapi/compiler/"$LATEST_VERSION"/env/vars.sh
|
||||
CXX=dpcpp
|
Loading…
Reference in New Issue
Block a user