File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -158,12 +158,14 @@ jobs:
158158 -DUMF_LINK_HWLOC_STATICALLY=${{matrix.link_hwloc_statically}}
159159
160160 - name : Build UMF
161- run : cmake --build ${{env.BUILD_DIR}} -j $(nproc)
161+ run : |
162+ ${{ matrix.compiler.cxx == 'icpx' && '. /opt/intel/oneapi/setvars.sh' || true }}
163+ cmake --build ${{env.BUILD_DIR}} -j $(nproc)
162164
163165 - name : Run tests
164166 working-directory : ${{env.BUILD_DIR}}
165- run : >
166- ${{ matrix.compiler.cxx == 'icpx' && '. /opt/intel/oneapi/setvars.sh && ' || ''}}
167+ run : |
168+ ${{ matrix.compiler.cxx == 'icpx' && '. /opt/intel/oneapi/setvars.sh' || true }}
167169 ctest --output-on-failure --test-dir test
168170
169171 - name : Remove the installation directory
Original file line number Diff line number Diff line change @@ -66,12 +66,14 @@ jobs:
6666 -DUMF_TESTS_FAIL_ON_SKIP=ON
6767
6868 - name : Build UMF
69- run : cmake --build ${{env.BUILD_DIR}} -j $(nproc)
69+ run : |
70+ ${{ matrix.compiler.cxx == 'icpx' && '. /opt/intel/oneapi/setvars.sh' || true }}
71+ cmake --build ${{env.BUILD_DIR}} -j $(nproc)
7072
7173 - name : Run tests
7274 working-directory : ${{env.BUILD_DIR}}
73- run : >
74- ${{ matrix.compiler.cxx == 'icpx' && '. /opt/intel/oneapi/setvars.sh && ' || '' }}
75+ run : |
76+ ${{ matrix.compiler.cxx == 'icpx' && '. /opt/intel/oneapi/setvars.sh' || true }}
7577 ctest --output-on-failure
7678
7779 windows-build :
You can’t perform that action at this time.
0 commit comments