Merge pull request #1578 from firebase/revert-1577-revert-1576-nc/phase #442
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: Messaging | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- '.github/workflows/messaging.yml' | |
- 'messaging/**' | |
- 'scripts/*' | |
- 'scripts/messaging.sh' | |
pull_request: | |
branches: [ main ] | |
paths: | |
- '.github/workflows/messaging.yml' | |
- 'messaging/**' | |
- 'scripts/*' | |
- 'scripts/messaging.sh' | |
workflow_dispatch: | |
env: | |
SAMPLE: Messaging | |
secrets_passphrase: ${{ secrets.GHASECRETSGPGPASSPHRASE1 }} | |
jobs: | |
cocoapods: | |
name: cocoapods | |
runs-on: macOS-12 | |
env: | |
SPM: false | |
LEGACY: false | |
OS: iOS | |
DEVICE: iPhone 14 | |
TEST: false | |
steps: | |
- name: Checkout | |
uses: actions/checkout@master | |
- name: Setup | |
run: | | |
cd messaging | |
gem install bundler | |
bundle install | |
gem install xcpretty | |
bundle exec pod install --repo-update | |
../scripts/install_prereqs/messaging.sh | |
- name: Build ObjC | |
run: ./scripts/test.sh | |
env: | |
SWIFT_SUFFIX: "" | |
- name: Build Swift | |
run: ./scripts/test.sh | |
env: | |
SWIFT_SUFFIX: Swift |