Skip to content

Commit

Permalink
ci(GiniHealthSDK): Update Xcode 14.3.1, update testing simulators, re…
Browse files Browse the repository at this point in the history
…move linking old simulators - since it's not supported anymore, add manual trigger for check workflow
  • Loading branch information
zladzeyka committed Apr 30, 2024
1 parent 9006d6d commit 9ca2527
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/health-sdk.build.docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
steps:
- uses: maxim-lobanov/[email protected]
with:
xcode-version: '14.2'
xcode-version: '14.3.1'

- name: Checkout
uses: actions/checkout@v3
Expand Down
15 changes: 4 additions & 11 deletions .github/workflows/health-sdk.check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,19 @@ on:
secrets:
GINI_MOBILE_TEST_CLIENT_SECRET:
required: true

workflow_dispatch:

jobs:
check:
runs-on: macos-latest
strategy:
matrix:
target: [GiniHealthSDK, GiniHealthSDKPinning]
destination: ['platform=iOS Simulator,OS=16.2,name=iPhone 13', 'platform=iOS Simulator,OS=15.0,name=iPhone 11']
destination: ['platform=iOS Simulator,OS=16.4,name=iPhone SE (3rd generation)', 'platform=iOS Simulator,OS=17.2,name=iPhone 14']
steps:
- uses: maxim-lobanov/[email protected]
with:
xcode-version: '14.2'
xcode-version: '14.3.1'

- name: Checkout
uses: actions/checkout@v3
Expand All @@ -40,14 +41,6 @@ jobs:
cd HealthSDK/GiniHealthSDKPinning
swift package update
- name: Link to 15.0 Simulators
if: matrix.destination == 'platform=iOS Simulator,OS=15.0,name=iPhone 11'
run: |
echo "Creating Runtimes folder if needed..."
sudo mkdir -p /Library/Developer/CoreSimulator/Profiles/Runtimes
echo "Creating symlink of the iOS 15.0 runtime..."
sudo ln -s /Applications/Xcode_13.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS\ 15.0.simruntime
- name: Build sdk targets
run: |
xcodebuild -workspace GiniMobile.xcworkspace -scheme "${{ matrix.target }}" -destination "${{ matrix.destination }}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/health-sdk.publish.docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
steps:
- uses: maxim-lobanov/[email protected]
with:
xcode-version: '14.2'
xcode-version: '14.3.1'

- name: Checkout
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/health-sdk.publish.example.apps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

- uses: maxim-lobanov/[email protected]
with:
xcode-version: '14.2'
xcode-version: '14.3.1'

- name: Setup provisioning profile
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/health-sdk.release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
steps:
- uses: maxim-lobanov/[email protected]
with:
xcode-version: '14.2'
xcode-version: '14.3.1'

- name: Checkout
uses: actions/checkout@v3
Expand Down

0 comments on commit 9ca2527

Please sign in to comment.