Auto-update dependencies. #449
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: Storage | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- '.github/workflows/storage.yml' | |
- 'storage/**' | |
- 'scripts/*' | |
- 'scripts/storage.sh' | |
pull_request: | |
branches: [ main ] | |
paths: | |
- '.github/workflows/storage.yml' | |
- 'storage/**' | |
- 'scripts/*' | |
- 'scripts/storage.sh' | |
workflow_dispatch: | |
env: | |
SAMPLE: Storage | |
secrets_passphrase: ${{ secrets.GHASECRETSGPGPASSPHRASE1 }} | |
jobs: | |
cocoapods: | |
name: cocoapods | |
runs-on: macOS-12 | |
env: | |
SPM: false | |
LEGACY: true | |
OS: iOS | |
DEVICE: iPhone 14 | |
TEST: true | |
steps: | |
- name: Checkout | |
uses: actions/checkout@master | |
- name: Setup | |
run: | | |
cd storage/LegacyStorageQuickstart | |
gem install bundler | |
bundle install | |
gem install xcpretty | |
bundle exec pod install --repo-update | |
cd .. | |
../scripts/install_prereqs/storage.sh | |
- name: Build ObjC | |
run: ./scripts/test.sh | |
env: | |
SWIFT_SUFFIX: "" | |
- name: Build Swift | |
run: ./scripts/test.sh | |
env: | |
SWIFT_SUFFIX: Swift | |
spm: | |
name: spm (Xcode ${{ matrix.xcode }} - ${{ matrix.os }}) | |
runs-on: macOS-12 | |
strategy: | |
matrix: | |
xcode: ["14.2"] | |
os: [iOS, tvOS, macOS] | |
include: | |
- os: iOS | |
device: iPhone 12 | |
- os: tvOS | |
device: Apple TV 4K (at 1080p) (2nd generation) | |
- os: macOS | |
device: localhost | |
env: | |
SETUP: storage | |
SPM: true | |
DIR: storage/StorageExample | |
OS: ${{ matrix.os }} | |
DEVICE: ${{ matrix.device }} | |
TEST: false | |
XCODE_VERSION: ${{ matrix.xcode }} | |
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer | |
steps: | |
- name: Checkout | |
uses: actions/checkout@master | |
- name: Setup | |
run: | | |
gem install xcpretty | |
cd $SETUP | |
../scripts/install_prereqs/${SETUP}.sh | |
- name: Build and Test SwiftUI (${{ matrix.os }}) | |
run: ./scripts/test.sh |