Skip to content

Try just intel compiler in new CI #2

Try just intel compiler in new CI

Try just intel compiler in new CI #2

name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
toolchain:
- {compiler: gcc, version: 13}
- {compiler: intel, version: '2023.2'}
- {compiler: intel-classic, version: '2021.10'}
- {compiler: nvidia-hpc, version: '23.11'}
include:
- os: ubuntu-latest
toolchain: {compiler: gcc, version: 12}
exclude:
- os: macos-latest
toolchain: {compiler: intel, version: '2023.2'}
- os: macos-latest
toolchain: {compiler: nvidia-hpc, version: '23.11'}
- os: windows-latest
toolchain: {compiler: nvidia-hpc, version: '23.11'}
steps:
- uses: fortran-lang/setup-fortran@v1.5.1
id: setup-fortran
with:
compiler: ${{ matrix.toolchain.compiler }}
version: ${{ matrix.toolchain.version }}

Check failure on line 35 in .github/workflows/CI-more-compliers.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/CI-more-compliers.yml

Invalid workflow file

You have an error in your yaml syntax on line 35
- name: Run intel
if: contains(matrix.toolchain, 'intel')
run:
${{ env.FC }} ... # environment vars FC, CC, and CXX are set
${{ steps.setup-fortran.outputs.fc }} ... # outputs work too
export PATH="${HOME}/.local/bin:$PATH"
./setup.sh