fix: adapter tests #25
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: GitHub Actions | |
on: push | |
jobs: | |
macOS: | |
name: Test on macOS | |
runs-on: macOS-10.14 | |
strategy: | |
fail-fast: false | |
matrix: | |
xcode_version: | |
- 11.1 | |
destination: | |
- platform=iOS Simulator,name=iPhone 11 Pro,OS=13.1 | |
# GitHub actions is now unsupported iOS10 simulator. | |
# - platform=iOS Simulator,name=iPhone SE,OS=10.0 | |
env: | |
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode_version }}.app | |
steps: | |
- uses: actions/checkout@v1 | |
with: | |
submodules: true | |
- name: Show environments | |
run: | | |
swift --version | |
xcodebuild -version | |
- name: Test iOS on Xcode ${{ matrix.xcode_version }} simulator ${{ matrix.destination }} | |
run: | | |
set -o pipefail && xcodebuild build-for-testing test-without-building -workspace Carbon.xcworkspace -scheme Carbon -configuration Release -sdk iphonesimulator -destination '${{ matrix.destination }}' ENABLE_TESTABILITY=YES | xcpretty -c |