Skip to content

Commit

Permalink
multiple versions
Browse files Browse the repository at this point in the history
  • Loading branch information
sgarnotel committed Dec 8, 2023
1 parent a8fb6fb commit 6417093
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/job1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@ on: [push]

jobs:
linux:
name: Job1 - Linux
runs-on: ubuntu-latest
strategy:
matrix:
version: [20.04, 22.04]

name: Job1 - Ubuntu ${{ matrix.version }}
runs-on: ubuntu-${{ matrix.version }}

env:
HOME: /home/runner
Expand All @@ -30,17 +34,23 @@ jobs:
run: make install

macos:
name: Job1 - MacOS
runs-on: macos-latest
strategy:
matrix:
version: [11, 12]

name: Job1 - MacOS ${{ matrix.version }}
runs-on: macos-${{ matrix.version }}

env:
HOME: /home/runner
CC: gcc
CXX: g++
FC: gfortran12
F77: gfortran12 #TODO find a way to define gfortran only

steps:
- name: Check
run: echo ${HOME}

- uses: actions/checkout@main

- name: Install
Expand Down

0 comments on commit 6417093

Please sign in to comment.