xref: /libCEED/.github/workflows/c-fortran-test-icc.yml (revision 7113573b6efd54558bb98b919dff5d6d8ffcff54)
1dfb8ed23Sjeremyltname: ICC and IFort
23446d1b5SJeremy L Thompson
33446d1b5SJeremy L Thompsonon:
43446d1b5SJeremy L Thompson  push:
5dcd9f19cSJeremy L Thompson    branches:
6dcd9f19cSJeremy L Thompson      - main
7dcd9f19cSJeremy L Thompson  pull_request:
83446d1b5SJeremy L Thompson
96c00a25aSJeremy L Thompsonenv:
100983a37fSRobert Cohn  LINUX_CPP_COMPONENTS: intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic
11*7113573bSJames Wright  LINUX_FORTRAN_COMPONENTS: intel-oneapi-compiler-fortran
126c00a25aSJeremy L Thompson
133446d1b5SJeremy L Thompsonjobs:
143446d1b5SJeremy L Thompson  test:
153446d1b5SJeremy L Thompson    strategy:
163446d1b5SJeremy L Thompson      matrix:
176c0547c1SJeremy L Thompson        os: [ubuntu-22.04]
183446d1b5SJeremy L Thompson
193446d1b5SJeremy L Thompson    runs-on: ${{ matrix.os }}
203446d1b5SJeremy L Thompson
213446d1b5SJeremy L Thompson    steps:
220adbbf50SJeremy L Thompson      - uses: actions/checkout@v3
233446d1b5SJeremy L Thompson      - name: Clone Intel install scripts
243446d1b5SJeremy L Thompson        run: |
253446d1b5SJeremy L Thompson          git clone https://github.com/oneapi-src/oneapi-ci.git
263446d1b5SJeremy L Thompson      - name: Install Intel compilers
273446d1b5SJeremy L Thompson        run: |
286c00a25aSJeremy L Thompson          oneapi-ci/scripts/setup_apt_repo_linux.sh
296c00a25aSJeremy L Thompson          oneapi-ci/scripts/apt_depends.sh $LINUX_CPP_COMPONENTS
306c00a25aSJeremy L Thompson          oneapi-ci/scripts/install_linux_apt.sh $LINUX_CPP_COMPONENTS
316c00a25aSJeremy L Thompson          oneapi-ci/scripts/apt_depends.sh $LINUX_FORTRAN_COMPONENTS
326c00a25aSJeremy L Thompson          oneapi-ci/scripts/install_linux_apt.sh $LINUX_FORTRAN_COMPONENTS
333446d1b5SJeremy L Thompson      - name: Build and test libCEED
343446d1b5SJeremy L Thompson        run: |
353446d1b5SJeremy L Thompson          ./.github/workflows/c-fortran-test-icc.sh
363446d1b5SJeremy L Thompson
37