[CI] Select Xcode and Simulator version based available version (#1659) #547
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Remote Config | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- '.github/workflows/config.yml' | |
- 'config/**' | |
- 'scripts/*' | |
- 'scripts/config.sh' | |
pull_request: | |
branches: [ main ] | |
paths: | |
- '.github/workflows/config.yml' | |
- 'config/**' | |
- 'scripts/*' | |
- 'scripts/config.sh' | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} | |
cancel-in-progress: true | |
env: | |
SAMPLE: Config | |
secrets_passphrase: ${{ secrets.GHASECRETSGPGPASSPHRASE1 }} | |
jobs: | |
cocoapods: | |
name: cocoapods | |
runs-on: macOS-15 | |
env: | |
SPM: false | |
LEGACY: false | |
SWIFT_SUFFIX: "" | |
TEST: true | |
steps: | |
- name: Checkout | |
uses: actions/checkout@master | |
- name: Setup | |
run: | | |
cd config | |
gem install bundler | |
bundle install | |
gem install xcpretty | |
bundle exec pod install --repo-update | |
../scripts/install_prereqs/config.sh | |
xcrun simctl boot "iPhone 16" | |
- name: Build Swift | |
run: ./scripts/test.sh | |
env: | |
OS: iOS | |
DEVICE: iPhone 16 |