Skip to content

Commit

Permalink
Add GitHub CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ns-vasilev committed Jan 12, 2023
1 parent eb2d589 commit f961169
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 3 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: "concurrency"

on:
push:
branches:
- main
- dev
pull_request:
branches: [ main ]

concurrency:
group: ci
cancel-in-progress: true

jobs:
Latest:
name: Test Latest (iOS, macOS, tvOS, watchOS)
runs-on: macOS-12
env:
DEVELOPER_DIR: "/Applications/Xcode_14.1.app/Contents/Developer"
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
include:
- destination: "OS=16.1,name=iPhone 14 Pro"
name: "iOS"
scheme: "Concurrency-Package"
- destination: "OS=16.1,name=Apple TV"
name: "tvOS"
scheme: "Concurrency-Package"
- destination: "OS=9.1,name=Apple Watch Series 8 (45mm)"
name: "watchOS"
scheme: "Concurrency-Package"
- destination: "platform=macOS"
name: "macOS"
scheme: "Concurrency-Package"
steps:
- uses: actions/checkout@v3
- name: ${{ matrix.name }}
run: xcodebuild test -scheme "${{ matrix.scheme }}" -destination "${{ matrix.destination }}" clean
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@
<h1 align="center" style="margin-top: 0px;">concurrency</h1>

<p align="center">
<a href="https://github.com/space-code/concurrency/blob/main/LICENSE"><img alt="Liscence" src="https://img.shields.io/cocoapods/l/service-core.svg?style=flat"></a>
<a href="https://github.com/space-code/concurrency/blob/main/LICENSE"><img alt="License" src="https://img.shields.io/github/license/space-code/concurrency?style=flat"></a>
<a href="https://developer.apple.com/"><img alt="Platform" src="https://img.shields.io/badge/platform-ios%20%7C%20osx%20%7C%20watchos%20%7C%20tvos-%23989898"/></a>
<a href="https://developer.apple.com/swift"><img alt="Swift4.2" src="https://img.shields.io/badge/language-Swift5.3-orange.svg"/></a>
<a href="https://developer.apple.com/swift"><img alt="Swift5.5" src="https://img.shields.io/badge/language-Swift5.5-orange.svg"/></a>
<a href="https://github.com/space-code/concurrency"><img alt="CI" src="https://github.com/space-code/concurrency/actions/workflows/ci.yml/badge.svg?branch=main"></a>
<a href="https://github.com/apple/swift-package-manager" alt="RxSwift on Swift Package Manager" title="RxSwift on Swift Package Manager"><img src="https://img.shields.io/badge/Swift%20Package%20Manager-compatible-brightgreen.svg" /></a>
</p>

## Description
Expand Down Expand Up @@ -55,7 +57,7 @@ testQueue.async {}
## Requirements
- iOS 13.0+ / macOS 10.15+ / tvOS 11.0+ / watchOS 6.0+
- Xcode 14.0
- Swift 5
- Swift 5.5

## Installation
### Swift Package Manager
Expand Down

0 comments on commit f961169

Please sign in to comment.