xref: /libCEED/.github/workflows/c-fortran-test-icc.yml (revision 5ffc8331c07f6aad14d7c90e2a00f4f9f1fadfee)
1name: ICC and IFort
2
3on:
4  push:
5
6env:
7  LINUX_CPP_COMPONENTS: intel-oneapi-dpcpp-cpp-compiler-pro
8  LINUX_FORTRAN_COMPONENTS: intel-oneapi-ifort
9
10jobs:
11  test:
12    strategy:
13      matrix:
14        os: [ubuntu-20.04]
15
16    runs-on: ${{ matrix.os }}
17
18    steps:
19      - uses: actions/checkout@v2
20      - name: Clone Intel install scripts
21        run: |
22          git clone https://github.com/oneapi-src/oneapi-ci.git
23      - name: Install Intel compilers
24        run: |
25          oneapi-ci/scripts/setup_apt_repo_linux.sh
26          oneapi-ci/scripts/apt_depends.sh $LINUX_CPP_COMPONENTS
27          oneapi-ci/scripts/install_linux_apt.sh $LINUX_CPP_COMPONENTS
28          oneapi-ci/scripts/apt_depends.sh $LINUX_FORTRAN_COMPONENTS
29          oneapi-ci/scripts/install_linux_apt.sh $LINUX_FORTRAN_COMPONENTS
30      - name: Build and test libCEED
31        run: |
32          ./.github/workflows/c-fortran-test-icc.sh
33
34