Skip to content

Commit

Permalink
Update to Xcode 15.4 for test scripts (#1607)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulb777 authored Jul 23, 2024
1 parent 0393f30 commit dece9f2
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 30 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ env:
jobs:
cocoapods:
name: cocoapods
runs-on: macOS-13
runs-on: macOS-14
env:
SPM: false
LEGACY: false
Expand All @@ -52,7 +52,3 @@ jobs:
env:
OS: iOS
DEVICE: iPhone 14
- name: Build Catalyst
run: ./scripts/test.sh
env:
OS: catalyst
6 changes: 1 addition & 5 deletions .github/workflows/crashlytics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,6 @@ jobs:
bundle exec pod install --repo-update
cd ..
../scripts/install_prereqs/crashlytics.sh
- name: Build ObjC
run: ./scripts/test.sh
env:
SWIFT_SUFFIX: ""
- name: Build Swift
run: ./scripts/test.sh
env:
Expand All @@ -66,7 +62,7 @@ jobs:
include:
- os: iOS
device: iPhone 14
test: true
test: false # flaky
- os: tvOS
device: Apple TV 4K (3rd generation) (at 1080p)
test: true
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,6 @@ jobs:
gem install xcpretty
bundle exec pod install --repo-update
../scripts/install_prereqs/database.sh
- name: Build ObjC
run: ./scripts/test.sh
env:
SWIFT_SUFFIX: ""
- name: Build Swift
run: ./scripts/test.sh
env:
Expand All @@ -65,7 +61,7 @@ jobs:
include:
- os: iOS
device: iPhone 14
test: true
test: false
- os: tvOS
device: Apple TV 4K (3rd generation) (at 1080p)
test: true
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/dynamiclinks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,6 @@ jobs:
gem install xcpretty
bundle exec pod install --repo-update
../scripts/install_prereqs/dynamiclinks.sh
- name: Build ObjC
run: ./scripts/test.sh
env:
SWIFT_SUFFIX: ""
- name: Build Swift
run: ./scripts/test.sh
env:
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/performance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,6 @@ jobs:
gem install xcpretty
bundle exec pod install --repo-update
../scripts/install_prereqs/performance.sh
- name: Build ObjC
run: ./scripts/test.sh
env:
SWIFT_SUFFIX: ""
- name: Build Swift
run: ./scripts/test.sh
env:
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/storage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,6 @@ jobs:
bundle exec pod install --repo-update
cd ..
../scripts/install_prereqs/storage.sh
- name: Build ObjC
run: ./scripts/test.sh
env:
SWIFT_SUFFIX: ""
- name: Build Swift
run: ./scripts/test.sh
env:
Expand Down
2 changes: 1 addition & 1 deletion scripts/build-for-testing.sh
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ function xcb() {
}

# Run xcodebuild
sudo xcode-select -s /Applications/Xcode_15.2.app/Contents/Developer
sudo xcode-select -s /Applications/Xcode_15.4.app/Contents/Developer
xcb "${flags[@]}"
echo "$message"

Expand Down
4 changes: 2 additions & 2 deletions scripts/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,10 @@ fi

function xcb() {
echo xcodebuild "$@"
xcodebuild "$@"
xcodebuild "$@" | xcpretty
}

# Run xcodebuild
sudo xcode-select -s /Applications/Xcode_15.2.app/Contents/Developer
sudo xcode-select -s /Applications/Xcode_15.4.app/Contents/Developer
xcb "${flags[@]}"
echo "$message"

0 comments on commit dece9f2

Please sign in to comment.