diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 811fa2783..2d102a3e9 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -107,6 +107,8 @@ jobs: container: ghcr.io/nlohmann/json-ci:v2.2.0 steps: - uses: actions/checkout@v2 + - name: environment + run: source /opt/intel/oneapi/setvars.sh - name: cmake run: cmake -S . -B build -DJSON_CI=On - name: build diff --git a/cmake/ci.cmake b/cmake/ci.cmake index 12a7fe7b5..4dbf63ce0 100644 --- a/cmake/ci.cmake +++ b/cmake/ci.cmake @@ -840,7 +840,6 @@ endforeach() ############################################################################### add_custom_target(ci_icpc - COMMAND . /opt/intel/oneapi/setvars.sh COMMAND ${CMAKE_COMMAND} -DCMAKE_BUILD_TYPE=Debug -GNinja -DCMAKE_C_COMPILER=icc -DCMAKE_CXX_COMPILER=icpc