Skip to content

Commit 40ecfc5

Browse files
henryiiiax3l
authored andcommitted
More IntelClang Detection
1 parent f8de79d commit 40ecfc5

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -511,30 +511,43 @@ jobs:
511511
-DCMAKE_CXX_STANDARD_COMPUTED_DEFAULT="14" \
512512
-DCMAKE_VERBOSE_MAKEFILE=ON \
513513
-DPYTHON_EXECUTABLE=$(python3 -c "import sys; print(sys.executable)")
514+
514515
- name: Build
515516
shell: bash
516517
run: |
517518
set +e; source /opt/intel/oneapi/setvars.sh; set -e
518519
cmake --build build -j 2
520+
519521
- name: Python tests
520522
shell: bash
521523
run: |
522524
set +e; source /opt/intel/oneapi/setvars.sh; set -e
523525
sudo service apport stop
524-
cmake --build build --target check \
526+
cmake --build build \
525527
-DCMAKE_CXX_COMPILER_ID="Clang" \
526528
-DCMAKE_CXX_COMPILER_VERSION=12.0 \
527-
-DCMAKE_CXX_STANDARD_COMPUTED_DEFAULT="14"
529+
-DCMAKE_CXX_STANDARD_COMPUTED_DEFAULT="14" \
530+
--target check
531+
528532
- name: C++ tests
529533
shell: bash
530534
run: |
531535
set +e; source /opt/intel/oneapi/setvars.sh; set -e
532-
cmake --build build --target cpptest
536+
cmake --build build \
537+
-DCMAKE_CXX_COMPILER_ID="Clang" \
538+
-DCMAKE_CXX_COMPILER_VERSION=12.0 \
539+
-DCMAKE_CXX_STANDARD_COMPUTED_DEFAULT="14" \
540+
--target cpptest
541+
533542
- name: Interface test
534543
shell: bash
535544
run: |
536545
set +e; source /opt/intel/oneapi/setvars.sh; set -e
537-
cmake --build build --target test_cmake_build
546+
cmake --build build \
547+
-DCMAKE_CXX_COMPILER_ID="Clang" \
548+
-DCMAKE_CXX_COMPILER_VERSION=12.0 \
549+
-DCMAKE_CXX_STANDARD_COMPUTED_DEFAULT="14" \
550+
--target test_cmake_build
538551
539552
540553
# Testing on CentOS (manylinux uses a centos base, and this is an easy way

0 commit comments

Comments
 (0)