Skip to content

Commit

Permalink
ci: Update to Xcode 15.4 (#196)
Browse files Browse the repository at this point in the history
* ci: Update to Xcode 15.4

* Update ci.yml

* Update release.yml
  • Loading branch information
cbaker6 committed May 17, 2024
1 parent c78bcb3 commit 66140dc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 16 deletions.
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

0 comments on commit 66140dc

Please sign in to comment.