Skip to content

Commit

Permalink
CI: Switch to macOS 14 runners and Xcode 15.2
Browse files Browse the repository at this point in the history
  • Loading branch information
RytoEX committed Feb 3, 2024
1 parent 0c2f3f8 commit 66978c4
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 15 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/build-project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
macos-build:
name: macOS 🍏
runs-on: macos-13
runs-on: macos-14
needs: check-event
strategy:
fail-fast: false
Expand All @@ -80,12 +80,8 @@ jobs:
: Set Up Environment 🔧
if (( ${+RUNNER_DEBUG} )) setopt XTRACE
print '::group::Enable Xcode 15.1 and AppleScript'
sudo xcode-select --switch /Applications/Xcode_15.1.app/Contents/Developer
sudo sqlite3 $HOME/Library/Application\ Support/com.apple.TCC/TCC.db \
"INSERT OR REPLACE INTO access VALUES('kTCCServiceAppleEvents','/usr/local/opt/runner/provisioner/provisioner',1,2,3,1,NULL,NULL,0,'com.apple.finder',X'fade0c000000002c00000001000000060000000200000010636f6d2e6170706c652e66696e64657200000003',NULL,1592919552);"
sudo sqlite3 /Library/Application\ Support/com.apple.TCC/TCC.db \
"INSERT OR REPLACE INTO access VALUES('kTCCServiceAppleEvents','/usr/local/opt/runner/provisioner/provisioner',1,2,3,1,NULL,NULL,0,'com.apple.finder',X'fade0c000000002c00000001000000060000000200000010636f6d2e6170706c652e66696e64657200000003',NULL,1592919552);"
print '::group::Enable Xcode 15.2'
sudo xcode-select --switch /Applications/Xcode_15.2.app/Contents/Developer
print '::endgroup::'
print '::group::Clean Homebrew Environment'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-format.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
failCondition: error

swift-format:
runs-on: macos-13
runs-on: macos-14
steps:
- uses: actions/checkout@v4
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dispatch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
services-validation:
name: Validate Services 🕵️
if: github.repository_owner == 'obsproject' && inputs.job == 'services'
runs-on: macos-13
runs-on: macos-14
permissions:
checks: write
contents: write
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
steam-upload:
name: Upload Steam Builds 🚂
if: github.repository_owner == 'obsproject' && inputs.job == 'steam'
runs-on: macos-13
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/steam-upload
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ jobs:
name: Upload Steam Builds 🚂
needs: check-tag
if: github.repository_owner == 'obsproject' && fromJSON(needs.check-tag.outputs.validTag)
runs-on: macos-13
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/steam-upload
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ jobs:
create-appcast:
name: Create Sparkle Appcast 🎙️
if: github.repository_owner == 'obsproject' && github.ref_type == 'tag'
runs-on: macos-13
runs-on: macos-14
needs: build-project
strategy:
fail-fast: false
Expand Down Expand Up @@ -234,7 +234,7 @@ jobs:
$shortHash = $env:GITHUB_SHA.Substring(0,9)
"channel=${channel}" >> $env:GITHUB_OUTPUT
"commitHash=${shortHash}" >> $env:GITHUB_OUTPUT
# Ensure files in action haven't been modified
$folderHash = ''
$files = Get-ChildItem "${{ github.workspace }}\repo\.github\actions\bouf"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/scheduled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
services-availability:
name: Check Service Availability 🛜
if: github.repository_owner == 'obsproject'
runs-on: macos-13
runs-on: macos-14
permissions:
checks: write
contents: write
Expand Down Expand Up @@ -133,7 +133,7 @@ jobs:
name: Upload Steam Builds 🚂
needs: [build-project]
if: github.repository_owner == 'obsproject'
runs-on: macos-13
runs-on: macos-14
defaults:
run:
shell: zsh --no-rcs --errexit --pipefail {0}
Expand Down

0 comments on commit 66978c4

Please sign in to comment.