Skip to content

Commit

Permalink
Setup CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
BB9z committed Apr 22, 2022
1 parent f610775 commit 51688df
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Swift Package

on: [push, pull_request]

jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: SPM Build
run: swift build
- name: SPM Test
run: swift test
- name: macOS Build
run: xcodebuild build -scheme B9Condition -destination 'generic/platform=macOS' | xcpretty
- name: iOS Build
run: xcodebuild build -scheme B9Condition -destination 'generic/platform=iOS' | xcpretty
- name: tvOS Build
run: xcodebuild build -scheme B9Condition -destination 'generic/platform=tvOS' | xcpretty
- name: watchOS Build
run: xcodebuild build -scheme B9Condition -destination 'generic/platform=watchOS' | xcpretty

0 comments on commit 51688df

Please sign in to comment.