Skip to content

Supports for Xcode 15 #29

Supports for Xcode 15

Supports for Xcode 15 #29

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
jobs:
mac:
runs-on: macos-14-arm64
strategy:
matrix:
xcode: [14.3.1, 15.2]
fail-fast: false
name: Xcode ${{ matrix.xcode }}
env:
DEVELOPER_DIR: "/Applications/Xcode_${{ matrix.xcode }}.app"
steps:
- uses: actions/checkout@v2
- name: xcode build and test
run: |
set -o pipefail
xcodebuild build-for-testing test-without-building -scheme Kanna -configuration Release ENABLE_TESTABILITY=YES | xcpretty -c
xcodebuild build-for-testing test-without-building -scheme Kanna -configuration Release -sdk iphonesimulator -destination "name=iPhone 15" ENABLE_TESTABILITY=YES | xcpretty -c
xcodebuild build-for-testing test-without-building -scheme Kanna -configuration Release -sdk appletvsimulator -destination "name=Apple TV" ENABLE_TESTABILITY=YES | xcpretty -c
xcodebuild -scheme Kanna -configuration Release -sdk watchsimulator -destination "name=Apple Watch Series 8 (45mm)"
- name: swiftpm build and test
run: |
swift build
swift test
linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: swiftpm build and test
run: |
swift build
swift test