xref: /libCEED/.github/workflows/c-fortran-test-icc.yml (revision a66bea3d12f6983000c98f7c3e64307c7113d79b)
1name: ICX and IFX
2
3on:
4  push:
5    branches:
6      - main
7  pull_request:
8
9env:
10  LINUX_CPP_COMPONENTS: intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic
11  LINUX_FORTRAN_COMPONENTS: intel-oneapi-compiler-fortran
12
13jobs:
14  test:
15    strategy:
16      matrix:
17        os: [ubuntu-24.04]
18
19    runs-on: ${{ matrix.os }}
20
21    steps:
22      - uses: actions/checkout@v4
23      - name: Install Intel compilers
24        uses: rscohn2/setup-oneapi@v0
25        with:
26          components: |
27            icx
28            ifx
29      - name: Build and test libCEED
30        run: |
31          source /opt/intel/oneapi/setvars.sh
32          export CC=icx CXX=icx FC=ifx
33          export OPENMP=1
34          make info
35          make -j
36          make prove -j
37
38