Skip to content

Commit

Permalink
ci: programmatic macos compiler env
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed Jun 5, 2024
1 parent deeaa07 commit fc54d6b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,10 @@ jobs:
timeout-minutes: 45

strategy:
fail-fast: false
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
os: [ubuntu-24.04]
os: [ubuntu-latest]
include:
- os: macos-latest
python-version: '3.12'
Expand All @@ -67,9 +68,6 @@ jobs:

name: ${{ matrix.os }} Python ${{ matrix.python-version }}

env:
FC: gfortran-13

steps:

- uses: actions/setup-python@v5
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/composite-gemini3d/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ runs:

steps:

- name: GCC compiler (macOS)
shell: bash
if: runner.os == 'macOS'
run: |
echo "CC=gcc-13" >> $GITHUB_ENV
echo "CXX=g++-13" >> $GITHUB_ENV
echo "FC=gfortran-13" >> $GITHUB_ENV
- name: Checkout GemGI (for simulation config.nml inputs)
uses: actions/checkout@v4
with:
Expand Down

0 comments on commit fc54d6b

Please sign in to comment.