Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Update to Xcode 15.4 #196

Merged
merged 3 commits into from
May 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 10 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@ on:
branches: [ main ]

env:
CI_XCODE: '/Applications/Xcode_15.0.app/Contents/Developer'
CI_XCODE: '/Applications/Xcode_15.4.app/Contents/Developer'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
xcode-test-ios:
runs-on: macos-13
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- name: Use multiple cores
run: defaults write com.apple.dt.XCBuild EnableSwiftBuildSystemIntegration 1
- name: Install SwiftLint
run: brew install swiftlint
- name: Build
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -testPlan ParseCareKit -scheme ParseCareKit -destination platform\=iOS\ Simulator,name\=iPhone\ 14\ Pro\ Max -derivedDataPath DerivedData clean test | xcpretty
env:
Expand All @@ -42,11 +42,11 @@ jobs:
DEVELOPER_DIR: ${{ env.CI_XCODE }}

xcode-test-macos:
runs-on: macos-13
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- name: Use multiple cores
run: defaults write com.apple.dt.XCBuild EnableSwiftBuildSystemIntegration 1
- name: Install SwiftLint
run: brew install swiftlint
- name: Build
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -testPlan ParseCareKit -scheme ParseCareKit -destination platform\=macOS -derivedDataPath DerivedData clean test | xcpretty
env:
Expand All @@ -70,7 +70,7 @@ jobs:
DEVELOPER_DIR: ${{ env.CI_XCODE }}

xcode-build-watchos:
runs-on: macos-13
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- name: Use multiple cores
Expand All @@ -82,18 +82,16 @@ jobs:

spm-test:
timeout-minutes: 15
runs-on: macos-13
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- name: Use multiple cores
run: defaults write com.apple.dt.XCBuild EnableSwiftBuildSystemIntegration 1
- name: Build-Test
run: swift build -v
env:
DEVELOPER_DIR: ${{ env.CI_XCODE }}

docs:
runs-on: macos-13
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- name: Use multiple cores
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,13 @@ on:
release:
types: [published]
env:
CI_XCODE: '/Applications/Xcode_15.0.app/Contents/Developer'
CI_XCODE: '/Applications/Xcode_15.4.app/Contents/Developer'

jobs:
docs:
runs-on: macos-13
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- name: Use multiple cores
run: defaults write com.apple.dt.XCBuild EnableSwiftBuildSystemIntegration 1
- name: Build and Deploy Docs
run: set -o pipefail && env NSUnbufferedIO=YES Scripts/update-gh-pages-documentation-site
env:
Expand Down