Improve parseKeyValuePairs function #16
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: CI | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: "*" | |
jobs: | |
build: | |
strategy: | |
matrix: | |
include: | |
- xcode: "14.2" # Swift 5.7 | |
macOS: "13" | |
iOS: "16.0" | |
- xcode: "15.0" # Swift 5.9 | |
macOS: "13" | |
iOS: "17.0" | |
fail-fast: false | |
runs-on: macos-${{ matrix.macOS }} | |
name: Build with Xcode ${{ matrix.xcode }} on macOS ${{ matrix.macOS }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Xcode Select Version | |
uses: mobiledevops/xcode-select-version-action@v1 | |
with: | |
xcode-select-version: ${{ matrix.xcode }} | |
- run: xcodebuild -version | |
- name: Test macOS with Xcode ${{ matrix.xcode }} | |
run: | | |
set -e | |
set -o pipefail | |
xcodebuild test -scheme SwiftSpellbook-Package -destination "platform=macOS" SWIFT_ACTIVE_COMPILATION_CONDITIONS="SPELLBOOK_SLOW_CI_x20" | xcpretty | |
# Temporary disabled | |
# - name: Test iOS with Xcode ${{ matrix.xcode }} | |
# run: | | |
# set -e | |
# set -o pipefail | |
# xcodebuild test -scheme SwiftSpellbook-Package -sdk iphonesimulator -destination "$IOS_DEVICE" SWIFT_ACTIVE_COMPILATION_CONDITIONS="SPELLBOOK_SLOW_CI_x20" | xcpretty | |
# env: | |
# IOS_DEVICE: "platform=iOS Simulator,OS=${{ matrix.iOS }},name=iPhone 14" | |