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