From 692089881a3108928aa3d6a032a5ba5e982c1561 Mon Sep 17 00:00:00 2001 From: Corey Date: Fri, 17 May 2024 11:29:45 -0400 Subject: [PATCH 1/3] ci: Update to Xcode 15.4 --- .github/workflows/ci.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 046329402..685968449 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,7 +6,7 @@ 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 }} @@ -14,11 +14,13 @@ concurrency: 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: @@ -42,7 +44,7 @@ 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 @@ -70,7 +72,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 @@ -82,7 +84,7 @@ jobs: spm-test: timeout-minutes: 15 - runs-on: macos-13 + runs-on: macos-14 steps: - uses: actions/checkout@v4 - name: Use multiple cores @@ -93,7 +95,7 @@ jobs: DEVELOPER_DIR: ${{ env.CI_XCODE }} docs: - runs-on: macos-13 + runs-on: macos-14 steps: - uses: actions/checkout@v4 - name: Use multiple cores From 1165e244515e67dd96f8036cd1e3aad7b21a1bee Mon Sep 17 00:00:00 2001 From: Corey Date: Fri, 17 May 2024 11:37:22 -0400 Subject: [PATCH 2/3] Update ci.yml --- .github/workflows/ci.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 685968449..7890ee0b5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,8 +17,6 @@ jobs: 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 @@ -47,8 +45,8 @@ jobs: 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: @@ -87,8 +85,6 @@ jobs: 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: From 7f678d799f6c98bb1e72bb5b27dbc97b57dd0e70 Mon Sep 17 00:00:00 2001 From: Corey Date: Fri, 17 May 2024 11:39:56 -0400 Subject: [PATCH 3/3] Update release.yml --- .github/workflows/release.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a74071d90..41f257604 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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: