Skip to content

Commit

Permalink
Update MacOS and iOS CI jobs
Browse files Browse the repository at this point in the history
According to updates on images: macos-12 deprecation we
should use macos-13 and Xcode 14.3 as the lowest versions
fo CI validation.
Also, add ARM macos-14 image with separate script and job.

Relates-To: DATASDK-47

Signed-off-by: Yaroslav Stefinko <[email protected]>
  • Loading branch information
ystefinko committed Nov 12, 2024
1 parent aac3dd4 commit 8fa5ca7
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 17 deletions.
62 changes: 46 additions & 16 deletions .github/workflows/psv_pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,45 +176,75 @@ jobs:
run: scripts/android/build.sh
shell: bash

psv-macos-12-xcode-14-build:
name: PSV.MacOS12.Xcode14
runs-on: macOS-12
psv-macos-13-x86_64-xcode-15-build:
name: PSV.MacOS13.Xcode15
runs-on: macOS-13
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: MacOS Build
- name: MacOS Build Xcode15
run: scripts/macos/psv/azure_macos_build_psv.sh
shell: bash

psv-ios-xcode-14-build:
name: PSV.iOS.MacOS12.Xcode14
runs-on: macOS-12
psv-macos-13-xcode-15-build:
name: PSV.MacOS13.Xcode15
runs-on: macos-13-xlarge
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: MacOS Build Xcode15
run: scripts/macos/psv/azure_macos_build_psv.sh
shell: bash

psv-macos-14-arm64-xcode-15-build:
name: PSV.MacOS14.Xcode15
runs-on: macos-14
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: MacOS Build Xcode15
run: scripts/macos/psv/azure_macos_build_psv.sh
shell: bash

psv-macos-15-arm64-xcode-16-build:
name: PSV.MacOS13.Xcode16
runs-on: macos-15
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: iOS Xcode 14 Build
- name: MacOS Build Xcode16
run: scripts/macos/psv/azure_macos_build_psv.sh
shell: bash

psv-ios-xcode-15-build:
name: PSV.iOS.MacOS13.Xcode15
runs-on: macOS-13
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: iOS Xcode 15 Build
run: scripts/ios/azure_ios_build_psv.sh
shell: bash

psv-ios-xcode-13-build:
name: PSV.iOS.MacOS12.Xcode13
runs-on: macOS-12
psv-ios-xcode-14-build:
name: PSV.iOS.MacOS13.Xcode14
runs-on: macOS-13
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: iOS Xcode 13 Build
- name: iOS Xcode 14.3 Build
run: scripts/ios/azure_ios_build_psv.sh
shell: bash
env:
USE_LATEST_XCODE: 0

psv-ios-os13-xcode-15-build:
name: PSV.iOS.MacOS13.Xcode15
runs-on: macOS-13
psv-ios-os15-xcode-16-build:
name: PSV.iOS.MacOS13.Xcode16
runs-on: macOS-15
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: iOS Xcode 15 Build
- name: iOS Xcode 16 Build
run: scripts/ios/azure_ios_build_psv.sh
shell: bash

Expand Down
2 changes: 1 addition & 1 deletion scripts/ios/azure_ios_build_psv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ if [[ ${USE_LATEST_XCODE} == 0 ]]; then
# Due to some bug which is cmake cannot detect compiler while called
# from cmake itself when project is compiled with XCode 12.4 we must
# switch to old XCode as a workaround.
sudo xcode-select -s /Applications/Xcode_13.1.app
sudo xcode-select -s /Applications/Xcode_14.3.app
fi

mkdir -p build && cd build
Expand Down

0 comments on commit 8fa5ca7

Please sign in to comment.