Skip to content

Commit

Permalink
Merge pull request #45 from rizwankce/ci
Browse files Browse the repository at this point in the history
Add CI workflow for test on GitHub actions
  • Loading branch information
Nirma authored Oct 11, 2022
2 parents 5296460 + bd31728 commit bf1ae54
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Swift

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:

jobs:
build:

runs-on: macos-latest

steps:
- uses: actions/checkout@v3
- name: Run tests
run: |
xcodebuild -project UIFontComplete.xcodeproj -target UIFontComplete-iOS -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 13,OS=16'
xcodebuild -project UIFontComplete.xcodeproj -target UIFontComplete-tvOS -sdk appletvsimulator -destination 'platform=tvOS Simulator,name=Apple TV,OS=16'

0 comments on commit bf1ae54

Please sign in to comment.