Update CI to Xcode 15 and macos-14 #445
Workflow file for this run
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: InAppMessaging | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- '.github/workflows/inappmessaging.yml' | |
- 'inappmessaging/**' | |
- 'scripts/*' | |
- 'scripts/inappmessaging.sh' | |
pull_request: | |
branches: [ main ] | |
paths: | |
- '.github/workflows/inappmessaging.yml' | |
- 'inappmessaging/**' | |
- 'scripts/*' | |
- 'scripts/inappmessaging.sh' | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} | |
cancel-in-progress: true | |
env: | |
SAMPLE: InAppMessaging | |
secrets_passphrase: ${{ secrets.GHASECRETSGPGPASSPHRASE1 }} | |
jobs: | |
cocoapods: | |
name: cocoapods | |
runs-on: macOS-14 | |
env: | |
SPM: false | |
LEGACY: false | |
OS: iOS | |
DEVICE: iPhone 14 | |
TEST: true | |
steps: | |
- name: Checkout | |
uses: actions/checkout@master | |
- name: Setup | |
run: | | |
cd inappmessaging | |
gem install bundler | |
bundle install | |
gem install xcpretty | |
bundle exec pod install --repo-update | |
../scripts/install_prereqs/inappmessaging.sh | |
- name: Build ObjC | |
run: ./scripts/test.sh | |
env: | |
SWIFT_SUFFIX: "" | |
- name: Build Swift | |
run: ./scripts/test.sh | |
env: | |
SWIFT_SUFFIX: Swift |