Skip to content

Commit

Permalink
💚 Updated CI to support macOS 15 (#624)
Browse files Browse the repository at this point in the history
* 📝 Update pyfiction docstrings

Signed-off-by: GitHub Actions <actions@github.com>

* 💚 added macos-15

* 🐛 undo weird changes in python docs.

* 📝 Update pyfiction docstrings

Signed-off-by: GitHub Actions <actions@github.com>

* 🐛 try to fix error: Unexpected value ''

* 🐛 try to fix error: Unexpected value ''

* 🐛 try to fix error: Unexpected value ''

* 💚 add macos-15 to python bindings workflow.

* 💚 add architectures.

* 🐛 try to fix Unexpected value ''

* 🐛 try to fix Unexpected value ''

* 🐛 test to try to fix isssue.

* 🐛 test to try to fix issue.

* 🐛 test to try to fix issue.

* 🐛 test to try to fix issue.

* 🐛 test to try to fix issue.

* 🐛 test to try to fix issue.

* 🐛 test to try to fix issue.

* 🐛 test to try to fix issue.

* 🐛 small bug fix.

* 🐛 small bug fix.

* 🐛 small bug fix.

* 📝 fix typo.

* 📝 Update pyfiction docstrings

Signed-off-by: GitHub Actions <actions@github.com>

* 💚 implement feedback from github runner issue discussion.

* 💚 add architecture.

* 💚 reduce the size of the tested matrix by removing ``g++-12`` support.

* remove macos-13/arm64.

* 💚 add information about the architecture.

* 💚 remove macos-15-large.

* 💚 change order.

* 💚 use correct name.

* 💚 fix small error.

* 💚 replace macos-15 by macos-15-xlarge.

* remove macos-13.

* 💚 avoid large/xlarge runners since they are not free.

* 💚 implement Marcel's feedback and remove g++ for macOS 14 and 15.

* 💚 fix exclude.

* 💚 add ccompiler to exclude.

* 💚 remove ccompiler to exclude.

* 💚 add architecture to exclude.

* 💚 fix typo.

* 💚 implement Marcel's suggestion.

* 💚 implement Marcel's feedback.

---------

Signed-off-by: GitHub Actions <actions@github.com>
Co-authored-by: GitHub Actions <actions@github.com>
Co-authored-by: Marcel Walter <marcel.walter@tum.de>
  • Loading branch information
3 people authored Jan 12, 2025
1 parent 4d7d536 commit 96ab05d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,28 +38,30 @@ jobs:
build_and_test:
strategy:
matrix:
os: [macos-13, macos-14]
compiler: [g++-12, g++-13, g++-14, clang++]
os: [macos-13, macos-14, macos-15]
compiler: [g++-13, g++-14, clang++]
include:
- os: macos-13
architecture: x64
- os: macos-14
architecture: arm64
- os: macos-15
architecture: arm64
- compiler: clang++
ccompiler: clang
- compiler: g++-12
ccompiler: gcc-12
- compiler: g++-13
ccompiler: gcc-13
- compiler: g++-14
ccompiler: gcc-14
exclude:
- os: macos-14
compiler: g++-12
- os: macos-14
compiler: g++-13
- os: macos-14
compiler: g++-14
- os: macos-15
compiler: g++-13
- os: macos-15
compiler: g++-14

name: 🍎 ${{matrix.os}} with ${{matrix.compiler}}
runs-on: ${{matrix.os}}
Expand All @@ -75,7 +77,8 @@ jobs:
with:
python-version: "3.13.x"

# Setup TBB for parallel STL algorithms via Homebrew
# etup TBB for parallel STL algorithms via Homebrew

- name: Setup TBB
run: brew install tbb

Expand Down Expand Up @@ -104,7 +107,6 @@ jobs:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

# Build and test pipeline for Debug mode

- name: Create Build Environment (Debug)
run: cmake -E make_directory ${{github.workspace}}/build_debug

Expand All @@ -131,10 +133,9 @@ jobs:

- name: Test (Debug)
working-directory: ${{github.workspace}}/build_debug
run: ctest -C Debug --verbose --output-on-failure --repeat until-pass:3 --parallel 4 --exclude-regex "quality"
run: ctest -C Debug --verbose --output-on-failure --repeat until-pass:3 --parallel 4

# Build and test pipeline for Release mode

- name: Create Build Environment (Release)
run: cmake -E make_directory ${{github.workspace}}/build_release

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
strategy:
fail-fast: false
matrix:
runs-on: [ubuntu-latest, macos-13, macos-14, windows-latest]
runs-on: [ubuntu-latest, macos-13, macos-15, windows-latest]
steps:
- name: Clone Repository
uses: actions/checkout@v4
Expand Down

0 comments on commit 96ab05d

Please sign in to comment.