Skip to content

Commit 498f467

Browse files
committed
update CI.yml
1 parent e513820 commit 498f467

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/CI.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ jobs:
3131
build: make
3232
env:
3333
FC: gfortran-${{ matrix.gcc_v }}
34+
CC: gcc-${{ matrix.gcc_v }}
35+
CXX: g++-${{ matrix.gcc_v }}
3436
GCC_V: ${{ matrix.gcc_v }}
3537
BUILD_DIR: ${{ matrix.build == 'cmake' && 'build' || '.' }}
3638

@@ -107,12 +109,16 @@ jobs:
107109
matrix:
108110
os: [ubuntu-latest, macos-latest]
109111
fc: [ifort]
112+
cc: [icc]
113+
cxx: [icpc]
110114
env:
111115
MACOS_HPCKIT_URL: >-
112116
https://registrationcenter-download.intel.com/akdlm/irc_nas/17398/m_HPCKit_p_2021.1.0.2681_offline.dmg
113117
MACOS_FORTRAN_COMPONENTS: >-
114118
intel.oneapi.mac.ifort-compiler
115119
FC: ${{ matrix.fc }}
120+
CC: ${{ matrix.cc }}
121+
CXX: ${{ matrix.cxx }}
116122

117123
steps:
118124
- name: Checkout code

0 commit comments

Comments
 (0)