Skip to content

Commit

Permalink
Intel CI: setvars
Browse files Browse the repository at this point in the history
  • Loading branch information
WeiqunZhang committed Sep 22, 2024
1 parent 812da0f commit 32f9325
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/intel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ jobs:
.github/workflows/dependencies/dependencies_dpcpp.sh
- name: Tests
run: |
set +e
source /opt/intel/oneapi/setvars.sh
set -e
mkdir build
cd build
cmake .. -DCMAKE_CXX_COMPILER=icpx -DENABLE_TESTS=ON
Expand All @@ -88,6 +91,9 @@ jobs:
.github/workflows/dependencies/dependencies_dpcpp.sh
- name: Build libamrexpr
run: |
set +e
source /opt/intel/oneapi/setvars.sh
set -e
mkdir build
cd build
cmake .. -DCMAKE_CXX_COMPILER=icpx -DCMAKE_INSTALL_PREFIX=../installdir
Expand All @@ -96,6 +102,9 @@ jobs:
cd ..
- name: Run
run: |
set +e
source /opt/intel/oneapi/setvars.sh
set -e
cd Tutorials/libamrexpr
mkdir build
cd build
Expand Down

0 comments on commit 32f9325

Please sign in to comment.