xref: /libCEED/.github/workflows/c-fortran-test-icc.yml (revision 0adbbf50dce0fd0a32cc04fdb6b3829bb2cdb133)
1dfb8ed23Sjeremyltname: ICC and IFort
23446d1b5SJeremy L Thompson
33446d1b5SJeremy L Thompsonon:
43446d1b5SJeremy L Thompson  push:
53446d1b5SJeremy L Thompson
66c00a25aSJeremy L Thompsonenv:
70983a37fSRobert Cohn  LINUX_CPP_COMPONENTS: intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic
86c00a25aSJeremy L Thompson  LINUX_FORTRAN_COMPONENTS: intel-oneapi-ifort
96c00a25aSJeremy L Thompson
103446d1b5SJeremy L Thompsonjobs:
113446d1b5SJeremy L Thompson  test:
123446d1b5SJeremy L Thompson    strategy:
133446d1b5SJeremy L Thompson      matrix:
146c0547c1SJeremy L Thompson        os: [ubuntu-22.04]
153446d1b5SJeremy L Thompson
163446d1b5SJeremy L Thompson    runs-on: ${{ matrix.os }}
173446d1b5SJeremy L Thompson
183446d1b5SJeremy L Thompson    steps:
19*0adbbf50SJeremy L Thompson      - uses: actions/checkout@v3
203446d1b5SJeremy L Thompson      - name: Clone Intel install scripts
213446d1b5SJeremy L Thompson        run: |
223446d1b5SJeremy L Thompson          git clone https://github.com/oneapi-src/oneapi-ci.git
233446d1b5SJeremy L Thompson      - name: Install Intel compilers
243446d1b5SJeremy L Thompson        run: |
256c00a25aSJeremy L Thompson          oneapi-ci/scripts/setup_apt_repo_linux.sh
266c00a25aSJeremy L Thompson          oneapi-ci/scripts/apt_depends.sh $LINUX_CPP_COMPONENTS
276c00a25aSJeremy L Thompson          oneapi-ci/scripts/install_linux_apt.sh $LINUX_CPP_COMPONENTS
286c00a25aSJeremy L Thompson          oneapi-ci/scripts/apt_depends.sh $LINUX_FORTRAN_COMPONENTS
296c00a25aSJeremy L Thompson          oneapi-ci/scripts/install_linux_apt.sh $LINUX_FORTRAN_COMPONENTS
303446d1b5SJeremy L Thompson      - name: Build and test libCEED
313446d1b5SJeremy L Thompson        run: |
323446d1b5SJeremy L Thompson          ./.github/workflows/c-fortran-test-icc.sh
333446d1b5SJeremy L Thompson
34