👷 add CI step for ICPC

This commit is contained in:
Niels Lohmann 2021-12-30 10:12:30 +01:00
parent 604e4490b6
commit e40843f4cf
No known key found for this signature in database
GPG Key ID: 7F3CEA63AE251B69
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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