xref: /libCEED/.github/workflows/c-fortran-test-icc.yml (revision aa67b84255fd38cedae0f40d1566f643808af2e9)
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-22.04]
18
19    runs-on: ${{ matrix.os }}
20
21    steps:
22      - uses: actions/checkout@v3
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 -v
35          make info
36          make -j2
37          PROVE_OPTS=-v make prove -j2
38
39