Skip to content

Commit

Permalink
Add macOS to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ktras committed Jun 16, 2024
1 parent 20e8c33 commit 6ab4fa8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-24.04]
os: [macos-14, ubuntu-24.04]

steps:
- name: Checkout code
Expand All @@ -23,6 +23,11 @@ jobs:
sudo apt update
sudo apt install -y build-essential gfortran-14 g++-14
- name: Install Dependencies on macOS
if: contains(matrix.os, 'macos')
run: |
brew install gfortran-14
- name: Build and Run unit tests
run: |
fpm test --compiler gfortran-14

0 comments on commit 6ab4fa8

Please sign in to comment.