Install Intel oneAPI #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Install Intel oneAPI | |
on: | |
# Trigger the workflow on push or pull request | |
#push: | |
# Trigger the workflow when it is manually triggered | |
workflow_dispatch: | |
jobs: | |
test: | |
name: Test | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [windows-latest] | |
oneapi: [2021, 2022, 2023] | |
steps: | |
- name: Check out repository | |
uses: actions/[email protected] | |
- name: Install Intel oneAPI on macOS for Fortran | |
if: startsWith(matrix.os, 'macos') | |
run: sudo bash install_oneapi_macos.sh ${{ matrix.oneapi }} | |
- name: Install Intel oneAPI on Windows for Fortran | |
if: startsWith(matrix.os, 'windows') | |
run: cmd.exe "/K" '"install_oneapi_windows.bat" ${{ matrix.oneapi }}' |