xref: /libCEED/.github/workflows/c-fortran-test-icc.yml (revision 6c00a25a9d6bf780fa00e4ccd97a3509e0a8a124)
1dfb8ed23Sjeremyltname: ICC and IFort
23446d1b5SJeremy L Thompson
33446d1b5SJeremy L Thompsonon:
43446d1b5SJeremy L Thompson  push:
53446d1b5SJeremy L Thompson
6*6c00a25aSJeremy L Thompsonenv:
7*6c00a25aSJeremy L Thompson  LINUX_CPP_COMPONENTS: intel-oneapi-dpcpp-cpp-compiler-pro
8*6c00a25aSJeremy L Thompson  LINUX_FORTRAN_COMPONENTS: intel-oneapi-ifort
9*6c00a25aSJeremy L Thompson
103446d1b5SJeremy L Thompsonjobs:
113446d1b5SJeremy L Thompson  test:
123446d1b5SJeremy L Thompson    strategy:
133446d1b5SJeremy L Thompson      matrix:
143446d1b5SJeremy L Thompson        os: [ubuntu-latest]
153446d1b5SJeremy L Thompson
163446d1b5SJeremy L Thompson    runs-on: ${{ matrix.os }}
173446d1b5SJeremy L Thompson
183446d1b5SJeremy L Thompson    steps:
193446d1b5SJeremy L Thompson      - uses: actions/checkout@v2
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: |
25*6c00a25aSJeremy L Thompson          oneapi-ci/scripts/setup_apt_repo_linux.sh
26*6c00a25aSJeremy L Thompson          oneapi-ci/scripts/apt_depends.sh $LINUX_CPP_COMPONENTS
27*6c00a25aSJeremy L Thompson          oneapi-ci/scripts/install_linux_apt.sh $LINUX_CPP_COMPONENTS
28*6c00a25aSJeremy L Thompson          oneapi-ci/scripts/apt_depends.sh $LINUX_FORTRAN_COMPONENTS
29*6c00a25aSJeremy 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