Skip to content

Commit

Permalink
ci: add test job for arm mac with gfortran (#1721)
Browse files Browse the repository at this point in the history
  • Loading branch information
wpbonelli authored Apr 12, 2024
1 parent 4a08efc commit 10e3a7f
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-22.04, macos-12, windows-2022 ]
os: [ ubuntu-22.04, macos-12, macos-14, windows-2022 ]
defaults:
run:
shell: bash
Expand Down Expand Up @@ -224,6 +224,15 @@ jobs:
pixi-version: v0.19.1
manifest-path: "modflow6/pixi.toml"

- name: Set LDFLAGS (macOS)
if: matrix.os == 'macos-14'
run: |
os_ver=$(sw_vers -productVersion | cut -d'.' -f1)
if (( "$os_ver" > 12 )); then
ldflags="$LDFLAGS -Wl,-ld_classic"
echo "LDFLAGS=$ldflags" >> $GITHUB_ENV
fi
- name: Build modflow6
working-directory: modflow6
run: |
Expand Down

0 comments on commit 10e3a7f

Please sign in to comment.