Skip to content

Test Intel ifort and ifx #277

Test Intel ifort and ifx

Test Intel ifort and ifx #277

Workflow file for this run

name: Test Intel ifort and ifx
on:
# Trigger the workflow on push or pull request
push:
pull_request:
# Trigger the workflow at the end of every week
schedule:
- cron: '0 0 * * 0'
# Trigger the workflow when it is manually triggered
workflow_dispatch:
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, ubuntu-20.04, macos-latest, macos-11, macos-13]
steps:
- name: Checkout repository
uses: actions/[email protected]
with:
ssh-key: ${{ secrets.SSH_PRIVATE_KEY_ACT }} # This forces checkout to use SSH, not HTTPS
submodules: recursive
- name: Install Intel oneAPI on Linux
if: startsWith(matrix.os, 'ubuntu')
run: bash .github/scripts/install_oneapi_linux.sh
- name: Install Intel oneAPI on macOS
if: startsWith(matrix.os, 'macos')
run: bash .github/scripts/install_oneapi_macos.sh
- name: Conduct the test
run: |
source /opt/intel/oneapi/setvars.sh
cd test && make itest
if [[ "$RUNNER_OS" = "Linux" ]] ; then
make xtest
fi