mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-08-24 10:14:13 -05:00
CI: Update macos runners and used Xcode version
In preparation for macOS 27 and to fix existing build errors when Swift 6 (rather than Swift 6.1 is used) to build the project, force use of macOS 26 runners as well as Xcode 26.5 for CI.
This commit is contained in:
@@ -41,7 +41,7 @@ jobs:
|
||||
|
||||
macos:
|
||||
name: macOS 🍏 (clang-analyze)
|
||||
runs-on: macos-15
|
||||
runs-on: macos-26
|
||||
defaults:
|
||||
run:
|
||||
shell: zsh --no-rcs --errexit --pipefail {0}
|
||||
@@ -57,8 +57,8 @@ jobs:
|
||||
: Set Up Environment 🔧
|
||||
if (( ${+RUNNER_DEBUG} )) setopt XTRACE
|
||||
|
||||
print '::group::Enable Xcode 16.4'
|
||||
sudo xcode-select --switch /Applications/Xcode_16.4.app/Contents/Developer
|
||||
print '::group::Enable Xcode 26.5'
|
||||
sudo xcode-select --switch /Applications/Xcode_26.5.app/Contents/Developer
|
||||
print '::endgroup::'
|
||||
|
||||
print '::group::Clean Homebrew Environment'
|
||||
|
||||
@@ -59,7 +59,7 @@ jobs:
|
||||
|
||||
macos-build:
|
||||
name: macOS 🍏
|
||||
runs-on: macos-15
|
||||
runs-on: macos-26
|
||||
needs: check-event
|
||||
strategy:
|
||||
fail-fast: false
|
||||
@@ -80,8 +80,8 @@ jobs:
|
||||
: Set Up Environment 🔧
|
||||
if (( ${+RUNNER_DEBUG} )) setopt XTRACE
|
||||
|
||||
print '::group::Enable Xcode 26.1'
|
||||
sudo xcode-select --switch /Applications/Xcode_26.1.app/Contents/Developer
|
||||
print '::group::Enable Xcode 26.5'
|
||||
sudo xcode-select --switch /Applications/Xcode_26.5.app/Contents/Developer
|
||||
print '::endgroup::'
|
||||
|
||||
print '::group::Clean Homebrew Environment'
|
||||
|
||||
@@ -15,7 +15,7 @@ jobs:
|
||||
failCondition: error
|
||||
|
||||
swift-format:
|
||||
runs-on: macos-15
|
||||
runs-on: macos-26
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
|
||||
@@ -39,7 +39,7 @@ jobs:
|
||||
services-validation:
|
||||
name: Validate Services 🕵️
|
||||
if: github.repository_owner == 'obsproject' && inputs.job == 'services'
|
||||
runs-on: macos-15
|
||||
runs-on: macos-26
|
||||
permissions:
|
||||
checks: write
|
||||
contents: write
|
||||
@@ -73,7 +73,7 @@ jobs:
|
||||
steam-upload:
|
||||
name: Upload Steam Builds 🚂
|
||||
if: github.repository_owner == 'obsproject' && inputs.job == 'steam'
|
||||
runs-on: macos-15
|
||||
runs-on: macos-26
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- uses: ./.github/actions/steam-upload
|
||||
|
||||
@@ -230,7 +230,7 @@ jobs:
|
||||
name: Upload Steam Builds 🚂
|
||||
needs: check-tag
|
||||
if: github.repository_owner == 'obsproject' && fromJSON(needs.check-tag.outputs.validTag)
|
||||
runs-on: macos-15
|
||||
runs-on: macos-26
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- uses: ./.github/actions/steam-upload
|
||||
|
||||
@@ -139,7 +139,7 @@ jobs:
|
||||
create-appcast:
|
||||
name: Create Sparkle Appcast 🎙️
|
||||
if: github.repository_owner == 'obsproject' && github.ref_type == 'tag'
|
||||
runs-on: macos-15
|
||||
runs-on: macos-26
|
||||
needs: build-project
|
||||
strategy:
|
||||
fail-fast: false
|
||||
|
||||
@@ -13,7 +13,7 @@ jobs:
|
||||
services-availability:
|
||||
name: Check Service Availability 🛜
|
||||
if: github.repository_owner == 'obsproject'
|
||||
runs-on: macos-15
|
||||
runs-on: macos-26
|
||||
permissions:
|
||||
checks: write
|
||||
contents: write
|
||||
@@ -163,7 +163,7 @@ jobs:
|
||||
name: Upload Steam Builds 🚂
|
||||
needs: [build-project]
|
||||
if: github.repository_owner == 'obsproject'
|
||||
runs-on: macos-15
|
||||
runs-on: macos-26
|
||||
defaults:
|
||||
run:
|
||||
shell: zsh --no-rcs --errexit --pipefail {0}
|
||||
|
||||
Reference in New Issue
Block a user