Skip to content

Commit

Permalink
source vars
Browse files Browse the repository at this point in the history
  • Loading branch information
balos1 committed Dec 10, 2024
1 parent 0599ee1 commit f71f80a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ubuntu-latest-oneapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: cache install oneAPI
- name: cache install oneAPI with dpcpp
id: cache-install
uses: actions/cache@v3
with:
Expand All @@ -38,14 +38,17 @@ jobs:
/opt/intel/oneapi/tbb
key: install-${{ env.CACHE_NUMBER }}-${{ matrix.LINUX_BASEKIT_URL }}-${{ env.LINUX_DPCPP_COMPONENTS_WEB }}-compiler-tbb-${{ hashFiles('**/.github/actions/install-oneapi/cache_exclude_linux.sh') }}

- name: install oneAPI
- name: install oneAPI with dpcpp
if: steps.cache-install.outputs.cache-hit != 'true'
run: ./.github/actions/install-oneapi/install_linux.sh ${{ matrix.LINUX_BASEKIT_URL }} ${{ env.LINUX_DPCPP_COMPONENTS_WEB }}

- name: exclude unused files from oneAPI cache
if: steps.cache-install.outputs.cache-hit != 'true'
run: ./.github/actions/install-oneapi/cache_exclude_linux.sh

- name: Source oneAPI
run: source /opt/intel/oneapi/setvars.sh

- name: Configure CMake
run: |
cmake \
Expand Down

0 comments on commit f71f80a

Please sign in to comment.