-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add macOS 14 / arm64 native compatibility CI
- Loading branch information
1 parent
5a7889c
commit 37bc3e1
Showing
2 changed files
with
68 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Run Continuous Integration on macOS 14 Sonoma, with native Clang and | ||
# without Fortran. | ||
|
||
# This mainly checks for issues/regressions in the native build | ||
name: compatibility_macos_sonoma_14_clang | ||
on: | ||
schedule: | ||
- cron: '30 8 * * 6' | ||
push: | ||
branches: | ||
- 'release-*' | ||
- fix_native_compatibility_ci | ||
jobs: | ||
build: | ||
runs-on: macos-14 | ||
timeout-minutes: 30 | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: maxim-lobanov/setup-xcode@v1 | ||
with: | ||
xcode-version: latest | ||
|
||
- name: Install dependencies | ||
run: | | ||
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 brew install openmpi | ||
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 brew install pkg-config | ||
python3 -m pip install --upgrade pip | ||
pip3 install tox tox-gh-actions | ||
- name: Run all tests on macOS Sonoma 14 with Clang | ||
run: cd ${GITHUB_WORKSPACE} && make test test_examples | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Run Continuous Integration on macOS 14 Sonoma with GCC | ||
# This includes Fortran support | ||
# This mainly checks for issues/regressions in the native build | ||
name: compatibility_macos_sonoma_14_gcc_gfortran | ||
on: | ||
schedule: | ||
- cron: '00 8 * * 6' | ||
push: | ||
branches: | ||
- 'release-*' | ||
- fix_native_compatibility_ci | ||
jobs: | ||
build: | ||
runs-on: macos-14 | ||
timeout-minutes: 30 | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: maxim-lobanov/setup-xcode@v1 | ||
with: | ||
xcode-version: latest | ||
|
||
- name: Install dependencies | ||
run: | | ||
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 brew install gcc | ||
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 brew install openmpi | ||
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 brew install pkg-config | ||
python3 -m pip install --upgrade pip | ||
pip3 install tox tox-gh-actions | ||
- name: Run all tests | ||
run: cd ${GITHUB_WORKSPACE} && CXX=g++-12 OMPI_CXX=g++-12 FC=gfortran-12 OMPI_FC=gfortran-12 make test test_examples | ||
|