Skip to content

Commit 2879a3e

Browse files
authored
fix CI for oneDPL (#820)
1 parent d06cced commit 2879a3e

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

.github/workflows/onedpl.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,11 @@ jobs:
2727
ref: distributed-ranges
2828
path: dr
2929
- name: Generate
30-
run: |
31-
. /opt/intel/oneapi/setvars.sh
32-
cmake -B dr/build -DCMAKE_CXX_STANDARD=23 -DCMAKE_CXX_COMPILER=icpx -DONEDPL_BACKEND=dpcpp -DCMAKE_BUILD_TYPE=Release dr
33-
- name: Build SP tests
34-
run: |
35-
. /opt/intel/oneapi/setvars.sh
36-
cmake --build dr/build --target sp-all-tests -- -j
30+
run: cmake -B dr/build -DCMAKE_CXX_STANDARD=23 -DCMAKE_CXX_COMPILER=icpx -DONEDPL_BACKEND=dpcpp -DCMAKE_BUILD_TYPE=Release dr
31+
- name: Build SHP tests
32+
run: cmake --build dr/build --target sp-all-tests -- -j
3733
- name: Run SP tests
38-
run: |
39-
. /opt/intel/oneapi/setvars.sh
40-
ctest --test-dir dr/build -L SP -j 4
34+
run: ctest --test-dir dr/build -L SP -j 4
4135
# srun -p cluster dr/scripts/run_command_on_compute_node.sh dr/build/Testing/tests.outerr.txt ctest --test-dir dr/build -L TESTLABEL -j 4
4236
- uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
4337
if: always()

0 commit comments

Comments
 (0)