Skip to content

Commit

Permalink
IOS-646 Update CI for Xcode 15
Browse files Browse the repository at this point in the history
  • Loading branch information
ettore committed Feb 5, 2024
1 parent 3587bd2 commit eb531f7
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/archive-and-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Check Carthage version
run: command -v carthage && carthage version
- name: Checkout main repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
token: ${{ secrets.IOS_DEV_CI_PAT }}
- name: Add Private Repo Auth
Expand Down Expand Up @@ -49,13 +49,13 @@ jobs:
- name: Check available Xcodes
run: ls -la /Applications | grep Xcode
- name: Force Xcode we use for development
run: sudo xcode-select -switch /Applications/Xcode_14.3.app
run: sudo xcode-select -switch /Applications/Xcode_15.0.1.app
- name: Install Firebase Tools
run: npm install -g firebase-tools
- name: Check Firebase Tools version
run: command -v firebase && firebase --version
- name: Checkout main repo and submodules
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true
token: ${{ secrets.IOS_DEV_CI_PAT }}
Expand All @@ -72,7 +72,7 @@ jobs:
GITHUB_REPO_OWNER: ${{ github.repository_owner }}
- name: Checkout Adobe RMSDK
if: needs.version-check.outputs.simplye_changed == '1'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: NYPL-Simplified/DRM-iOS-AdeptConnector
token: ${{ secrets.IOS_DEV_CI_PAT }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/non-drm-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ jobs:
- name: Check available Xcodes
run: ls -la /Applications | grep Xcode
- name: Force Xcode we use for development
run: sudo xcode-select -switch /Applications/Xcode_14.3.app
run: sudo xcode-select -switch /Applications/Xcode_15.0.1.app
- name: Checkout main repo
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up repo for nonDRM build
run: exec ./scripts/setup-repo-nodrm.sh
env:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/unit-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ jobs:
- name: Check available Xcodes
run: ls -la /Applications | grep Xcode
- name: Force Xcode we use for development
run: sudo xcode-select -switch /Applications/Xcode_14.3.app
run: sudo xcode-select -switch /Applications/Xcode_15.0.1.app
- name: Checkout main repo and submodules
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true
token: ${{ secrets.IOS_DEV_CI_PAT }}
- name: Checkout Adobe RMSDK
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: NYPL-Simplified/DRM-iOS-AdeptConnector
token: ${{ secrets.IOS_DEV_CI_PAT }}
Expand Down
2 changes: 1 addition & 1 deletion scripts/xcode-build-nodrm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ echo "Building SimplyE without DRM support..."

xcodebuild -project Simplified.xcodeproj \
-scheme SimplyE-noDRM \
-destination platform=iOS\ Simulator,OS=16.4,name=iPhone\ 14\ Pro\
-destination platform=iOS\ Simulator,OS=17.2,name=iPhone\ 15\ Pro\
clean build | \
if command -v xcpretty &> /dev/null; then xcpretty; else cat; fi
2 changes: 1 addition & 1 deletion scripts/xcode-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ echo "Running unit tests for $APP_NAME..."
# packages with the version checked in in Package.resolved
xcodebuild -project "$PROJECT_NAME" \
-scheme "$SCHEME" \
-destination platform=iOS\ Simulator,OS=16.4,name=iPhone\ 14 \
-destination platform=iOS\ Simulator,OS=17.2,name=iPhone\ 15 \
-disableAutomaticPackageResolution \
clean test | \
if command -v xcpretty &> /dev/null; then xcpretty; else cat; fi

0 comments on commit eb531f7

Please sign in to comment.