Skip to content

Commit

Permalink
Update macOS version in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
greatest-ape committed Jul 3, 2024
1 parent 6aa1350 commit d815ab3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ env:

jobs:
build-macos:
runs-on: macos-11
runs-on: macos-12
timeout-minutes: 20

steps:
Expand All @@ -32,13 +32,13 @@ jobs:

- name: Build plugin for aarch64
run: |
export SDKROOT=$(xcrun -sdk macosx11.1 --show-sdk-path)
export SDKROOT=$(xcrun -sdk macosx12.3 --show-sdk-path)
echo "SDKROOT=$SDKROOT"
export MACOSX_DEPLOYMENT_TARGET=$(xcrun -sdk macosx11.1 --show-sdk-platform-version)
export MACOSX_DEPLOYMENT_TARGET=$(xcrun -sdk macosx12.3 --show-sdk-platform-version)
echo "MACOSX_DEPLOYMENT_TARGET=$MACOSX_DEPLOYMENT_TARGET"
cargo build -p octasine --target=aarch64-apple-darwin
env:
DEVELOPER_DIR: /Applications/Xcode_12.4.app/Contents/Developer
DEVELOPER_DIR: /Applications/Xcode_13.4.1.app/Contents/Developer
shell: bash
if: contains(matrix.os, 'macos')

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
arguments: --all-features --workspace

build-macos:
runs-on: macos-11
runs-on: macos-12

steps:
- uses: actions/checkout@v3
Expand All @@ -38,14 +38,14 @@ jobs:
- name: Build and bundle plugin
run: |
echo -e "[octasine]\nname = \"OctaSine $OCTASINE_SEMVER_VERSION\"" > bundler.toml
export SDKROOT=$(xcrun -sdk macosx11.1 --show-sdk-path)
export SDKROOT=$(xcrun -sdk macosx12.3 --show-sdk-path)
echo "SDKROOT=$SDKROOT"
export MACOSX_DEPLOYMENT_TARGET=$(xcrun -sdk macosx11.1 --show-sdk-platform-version)
export MACOSX_DEPLOYMENT_TARGET=$(xcrun -sdk macosx12.3 --show-sdk-platform-version)
echo "MACOSX_DEPLOYMENT_TARGET=$MACOSX_DEPLOYMENT_TARGET"
cargo xtask bundle-universal -p octasine --release --verbose --features "vst2"
cargo xtask bundle-universal -p octasine --release --verbose --features "clap"
env:
DEVELOPER_DIR: /Applications/Xcode_12.4.app/Contents/Developer
DEVELOPER_DIR: /Applications/Xcode_13.4.1.app/Contents/Developer
shell: bash

- name: Install cargo-about
Expand Down

0 comments on commit d815ab3

Please sign in to comment.