Skip to content

Commit

Permalink
Upgraded macos-12 runners to macos-13
Browse files Browse the repository at this point in the history
  • Loading branch information
vincent-noel committed Nov 16, 2024
1 parent a7816a3 commit aaf79bb
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 25 deletions.
20 changes: 7 additions & 13 deletions .github/workflows/cmaboss-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,18 @@ on:
jobs:
cmaboss_macos:
name: cMaBoSS
runs-on: macos-12
runs-on: macos-13
env:
CC: clang
CXX: clang++
INSTALL_PATH: /usr/local/
BUILD_PATH: /tmp/
LIBXML_LIBDIR: /usr/local/opt/libxml2/lib/libxml2.dylib
LIBXML_INCLUDEDIR: /usr/local/opt/libxml2/include/libxml2/
MACOSX_DEPLOYMENT_TARGET: 12.0
MACOSX_DEPLOYMENT_TARGET: 13.0
steps:
- uses: actions/checkout@v4

- name: Downgrading to XCode 13.1
run: |
sudo xcode-select -s /Applications/Xcode_13.1.app/Contents/Developer
- name: Install dependencies
run: |
brew install flex bison python3 cmake libxml2
Expand Down Expand Up @@ -65,14 +61,12 @@ jobs:

build_wheels_macos:
name: Build MacOS wheels
runs-on: macos-12
runs-on: macos-13
needs: cmaboss_macos

steps:
- uses: actions/checkout@v4
- name: Downgrading to XCode 13.1
run: |
sudo xcode-select -s /Applications/Xcode_13.1.app/Contents/Developer

- uses: actions/setup-python@v5
with:
python-version: '3.12'
Expand All @@ -82,7 +76,7 @@ jobs:

- name: Build wheels
env:
MACOSX_DEPLOYMENT_TARGET: 12.0
MACOSX_DEPLOYMENT_TARGET: 13.0
CIBW_ARCHS: x86_64
CIBW_BEFORE_ALL: >
brew install libxml2 &&
Expand Down Expand Up @@ -187,7 +181,7 @@ jobs:
fail-fast: false
matrix:
version: [{python: "3.8", numpy: "1.24"}, {python: "3.9", numpy: "2.0"}, {python: "3.10", numpy: "2.0"}, {python: "3.11", numpy: "2.0"}, {python: "3.12", numpy: "2.0"}]
runs-on: macos-12
runs-on: macos-13

defaults:
run:
Expand Down Expand Up @@ -238,7 +232,7 @@ jobs:
fail-fast: false
matrix:
version: [{python: "3.8", numpy: "1.24"}, {python: "3.9", numpy: "2.0"}, {python: "3.10", numpy: "2.1"}, {python: "3.11", numpy: "2.1"}, {python: "3.12", numpy: "2.1"}]
runs-on: macos-12
runs-on: macos-13

defaults:
run:
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/maboss-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ on:
jobs:
maboss_macos:
name: MaBoSS
runs-on: macos-12
runs-on: macos-13
env:
CC: gcc-12
CXX: g++-12
INSTALL_PATH: /usr/local
BUILD_PATH: /tmp/
LIBXML_LIBDIR: /usr/local/opt/libxml2/lib/libxml2.2.dylib
LIBXML_INCLUDEDIR: /usr/local/opt/libxml2/include/libxml2/
MACOSX_DEPLOYMENT_TARGET: 12.0
MACOSX_DEPLOYMENT_TARGET: 13.0

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -59,15 +59,15 @@ jobs:

maboss_llvm_macos:
name: MaBoSS (clang)
runs-on: macos-12
runs-on: macos-13
env:
CC: clang
CXX: clang++
INSTALL_PATH: /usr/local
BUILD_PATH: /tmp/
LIBXML_LIBDIR: /usr/local/opt/libxml2/lib/libxml2.dylib
LIBXML_INCLUDEDIR: /usr/local/opt/libxml2/include/libxml2/
MACOSX_DEPLOYMENT_TARGET: 12.0
MACOSX_DEPLOYMENT_TARGET: 13.0

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:

maboss_binary_macos:
name: MaBoSS MacOSX x86_64 binary
runs-on: macos-12
runs-on: macos-13
needs: [maboss_macos, maboss_llvm_macos]
env:
CC: clang
Expand All @@ -116,7 +116,7 @@ jobs:
BUILD_PATH: /tmp/
LIBXML_LIBDIR: /usr/local/opt/libxml2/lib/libxml2.dylib
LIBXML_INCLUDEDIR: /usr/local/opt/libxml2/include/libxml2/
MACOSX_DEPLOYMENT_TARGET: 12.0
MACOSX_DEPLOYMENT_TARGET: 13.0

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -189,7 +189,7 @@ jobs:
BUILD_PATH: /tmp/
LIBXML_LIBDIR: /opt/homebrew/opt/libxml2/lib/libxml2.dylib
LIBXML_INCLUDEDIR: /opt/homebrew/opt/libxml2/include/
MACOSX_DEPLOYMENT_TARGET: 12.0
MACOSX_DEPLOYMENT_TARGET: 13.0

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -254,7 +254,7 @@ jobs:
maboss_binary_macos_universal:
name: MaBoSS MacOSX universal binary
needs: [maboss_binary_macos, maboss_binary_macos_m1]
runs-on: macos-12
runs-on: macos-13

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -312,7 +312,7 @@ jobs:

maboss_library_macos:
name: Building MaBoSS osx library
runs-on: macos-12
runs-on: macos-13
needs: [maboss_macos, maboss_llvm_macos]

steps:
Expand Down Expand Up @@ -405,7 +405,7 @@ jobs:

maboss_library_sbml_macos:
name: Building MaBoSS osx library with libSBML
runs-on: macos-12
runs-on: macos-13
needs: [maboss_macos, maboss_llvm_macos]
env:
CC: gcc-12
Expand All @@ -414,7 +414,7 @@ jobs:
BUILD_PATH: /tmp/
LIBXML_LIBDIR: /usr/local/opt/libxml2/lib/libxml2.dylib
LIBXML_INCLUDEDIR: /usr/local/opt/libxml2/include/libxml2
MACOSX_DEPLOYMENT_TARGET: 12.0
MACOSX_DEPLOYMENT_TARGET: 13.0

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -490,7 +490,7 @@ jobs:
{id: 0, name: "defaults"},
{id: 1, name: "conda-forge"}
]
runs-on: macos-12
runs-on: macos-13
defaults:
run:
shell: sh -l {0}
Expand Down

0 comments on commit aaf79bb

Please sign in to comment.