Skip to content

Commit

Permalink
BUILD: macos - use macos 14/sonoma for builds and deps
Browse files Browse the repository at this point in the history
  • Loading branch information
ciscon committed Nov 15, 2023
1 parent c933658 commit 8d222bb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-targets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
path: .vs\${{ matrix.platform }}\${{ matrix.config }}\Output\ezQuake.exe

macos-build:
runs-on: macos-13
runs-on: macos-14
strategy:
matrix:
ARCH: ["arm64","intel"]
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/scripts/homebrew.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ function install_arm64() {
export HOMEBREW_DIR="/Users/runner/Library/Caches/Homebrew/downloads"

brew reinstall --quiet pkg-config
brew fetch --force --bottle-tag=arm64_big_sur "${dependencies[@]}"
brew fetch --force --bottle-tag=arm64_sonoma "${dependencies[@]}"

for dependency in "${dependencies[@]}"; do
echo "Installing $dependency"
brew reinstall --quiet "${HOMEBREW_DIR}"/*"${dependency}"-*.arm64_big_sur.bottle*.tar.gz
brew reinstall --quiet "${HOMEBREW_DIR}"/*"${dependency}"-*.arm64_sonoma.bottle*.tar.gz
done
}

Expand Down Expand Up @@ -78,7 +78,7 @@ function build_intel() {

function build_arm64() {
export CPU="arm64"
make strip DARWIN_TARGET=arm64-apple-macos12
make strip DARWIN_TARGET=arm64-apple-macos14
}

case $1 in
Expand Down

0 comments on commit 8d222bb

Please sign in to comment.