xref: /libCEED/.github/workflows/c-fortran-test-icc.yml (revision 3446d1b5ce8d1a4e72ebab9baee4f1efd0361227)
1*3446d1b5SJeremy L Thompsonname: C/Fortran - ICC and IFort
2*3446d1b5SJeremy L Thompson
3*3446d1b5SJeremy L Thompsonon:
4*3446d1b5SJeremy L Thompson  push:
5*3446d1b5SJeremy L Thompson
6*3446d1b5SJeremy L Thompsonjobs:
7*3446d1b5SJeremy L Thompson  test:
8*3446d1b5SJeremy L Thompson    strategy:
9*3446d1b5SJeremy L Thompson      matrix:
10*3446d1b5SJeremy L Thompson        os: [ubuntu-latest]
11*3446d1b5SJeremy L Thompson
12*3446d1b5SJeremy L Thompson    runs-on: ${{ matrix.os }}
13*3446d1b5SJeremy L Thompson
14*3446d1b5SJeremy L Thompson    steps:
15*3446d1b5SJeremy L Thompson      - uses: actions/checkout@v2
16*3446d1b5SJeremy L Thompson      - name: Clone Intel install scripts
17*3446d1b5SJeremy L Thompson        run: |
18*3446d1b5SJeremy L Thompson          git clone https://github.com/oneapi-src/oneapi-ci.git
19*3446d1b5SJeremy L Thompson      - name: Install Intel compilers
20*3446d1b5SJeremy L Thompson        run: |
21*3446d1b5SJeremy L Thompson          oneapi-ci/scripts/install_linux_apt.sh intel-oneapi-dpcpp-cpp-compiler-pro
22*3446d1b5SJeremy L Thompson          oneapi-ci/scripts/install_linux_apt.sh intel-oneapi-ifort
23*3446d1b5SJeremy L Thompson      - name: Build and test libCEED
24*3446d1b5SJeremy L Thompson        run: |
25*3446d1b5SJeremy L Thompson          ./.github/workflows/c-fortran-test-icc.sh
26*3446d1b5SJeremy L Thompson
27