Skip to content

Commit

Permalink
Update ios.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sajib-ghosh-iOS committed Feb 17, 2024
1 parent cc8ab9a commit 8c21d27
Showing 1 changed file with 23 additions and 6 deletions.
29 changes: 23 additions & 6 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,35 @@ on:

jobs:
test:
name: Swift ${{ matrix.swift }} on ${{ matrix.os }}
name: Test on ${{ matrix.platform.os }} using Xcode ${{ matrix.xcode }}
runs-on: macos-13

env:
xcodeproj: PlistDesign.xcodeproj

strategy:
matrix:
os: [macos-latest]
swift: ["5.8"]
runs-on: ${{ matrix.os }}
platform:
- { os: iOS, scheme: PlistDesign }
xcode:
- '15.0.1'

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Set up environment
uses: ./.github/actions/setup
with:
xcode: ${{ matrix.xcode }}

- name: Run tests
run: |
xcodebuild clean test -xcodeproj "PlistDesign.xcodeproj" -scheme "PlistDesignTests" -destination "platform=iOS Simulator,name=iPhone 12 Pro,OS=latest" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO
uses: ./.github/actions/test
with:
xcode: ${{ matrix.xcode }}
scheme: ${{ matrix.platform.scheme }}
platform: ${{ matrix.platform.os }}

swiftlint:
name: Lint code with SwiftLint
runs-on: macos-latest
Expand Down

0 comments on commit 8c21d27

Please sign in to comment.