Merge pull request #2157 from onevcat/hyun99999-master #1061
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: build | |
on: [push, pull_request] | |
jobs: | |
run-test: | |
runs-on: macos-12 | |
strategy: | |
matrix: | |
destination: [ | |
'macOS', | |
'iOS Simulator,name=iPhone 14', | |
'tvOS Simulator,name=Apple TV', | |
'watchOS Simulator,name=Apple Watch Series 8 (41mm)' | |
] | |
swift-version: [5.0] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 2.7.4 | |
bundler-cache: true | |
- name: Run tests | |
env: | |
DESTINATION: platform=${{ matrix.destination }} | |
SWIFT_VERSION: ${{ matrix.swift-version }} | |
run: bundle exec fastlane test_ci |