Skip to content

Commit d697d02

Browse files
authored
Merge pull request #59 from ra1028/github-actions
Use GitHub Actions CI instead of azure-pipeline
2 parents 51f512e + aba5467 commit d697d02

File tree

6 files changed

+26
-67
lines changed

6 files changed

+26
-67
lines changed

.github/workflows/ci.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: GitHub Actions
2+
on: push
3+
jobs:
4+
macOS:
5+
name: Test on macOS
6+
runs-on: macOS-10.14
7+
strategy:
8+
fail-fast: false
9+
matrix:
10+
xcode_version: ["10.2", "11.1"]
11+
env:
12+
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode_version }}.app
13+
steps:
14+
- uses: actions/checkout@v1
15+
with:
16+
submodules: true
17+
- name: Show environments
18+
run: |
19+
swift --version
20+
xcodebuild -version
21+
- name: Test iOS on Xcode ${{ matrix.xcode_version }}
22+
run: |
23+
set -o pipefail && xcodebuild build-for-testing test-without-building -workspace Carbon.xcworkspace -scheme Carbon -configuration Release -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 8' ENABLE_TESTABILITY=YES | xcpretty -c

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ in UITableView and UICollectionView.</br>
1818
<a href="https://cocoapods.org/pods/Carbon"><img alt="CocoaPods" src="https://img.shields.io/cocoapods/v/Carbon.svg"/></a>
1919
<a href="https://github.com/Carthage/Carthage"><img alt="Carthage" src="https://img.shields.io/badge/carthage-compatible-yellow.svg"/></a>
2020
</br>
21-
<a href="https://dev.azure.com/ra1028/GitHub/_build/latest?definitionId=2&branchName=master"><img alt="Build Status" src="https://dev.azure.com/ra1028/GitHub/_apis/build/status/ra1028.Carbon?branchName=master"/></a>
21+
<a href="https://github.com/ra1028/Carbon/actions"><img alt="CI Status" src="https://github.com/ra1028/Carbon/workflows/GitHub%20Actions/badge.svg"/></a>
2222
<a href="https://developer.apple.com/swift"><img alt="Swift5" src="https://img.shields.io/badge/language-Swift5-orange.svg"/></a>
2323
<a href="https://developer.apple.com/"><img alt="Platform" src="https://img.shields.io/badge/platform-iOS-green.svg"/></a>
2424
<a href="https://github.com/ra1028/Carbon/blob/master/LICENSE"><img alt="Lincense" src="https://img.shields.io/badge/License-Apache%202.0-black.svg"/></a>

azure-pipelines.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

docs/Protocols/Component.html

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -849,40 +849,6 @@ <h4>Return Value</h4>
849849
</li>
850850
</ul>
851851
</div>
852-
<div class="task-group">
853-
<ul class="item-container">
854-
<li class="item">
855-
<div>
856-
<code>
857-
<a name="/s:6Carbon9ComponentPAA7SwiftUI4ViewRzrlE4bodyQrvp"></a>
858-
<a name="//apple_ref/swift/Property/body" class="dashAnchor"></a>
859-
<a class="token" href="#/s:6Carbon9ComponentPAA7SwiftUI4ViewRzrlE4bodyQrvp">body</a>
860-
</code>
861-
<span class="declaration-note">
862-
Extension method
863-
</span>
864-
</div>
865-
<div class="height-container">
866-
<div class="pointer-container"></div>
867-
<section class="section">
868-
<div class="pointer"></div>
869-
<div class="abstract">
870-
<p>Declares the content and behavior of this view.</p>
871-
872-
</div>
873-
<div class="declaration">
874-
<h4>Declaration</h4>
875-
<div class="language">
876-
<p class="aside-title">Swift</p>
877-
<pre class="highlight swift"><code><span class="k">var</span> <span class="nv">body</span><span class="p">:</span> <span class="n">some</span> <span class="kt">View</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>
878-
879-
</div>
880-
</div>
881-
</section>
882-
</div>
883-
</li>
884-
</ul>
885-
</div>
886852
</div>
887853
</section>
888854

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ <H4 align="center">
245245
<a href="https://cocoapods.org/pods/Carbon"><img alt="CocoaPods" src="https://img.shields.io/cocoapods/v/Carbon.svg"/></a>
246246
<a href="https://github.com/Carthage/Carthage"><img alt="Carthage" src="https://img.shields.io/badge/carthage-compatible-yellow.svg"/></a>
247247
</br>
248-
<a href="https://dev.azure.com/ra1028/GitHub/_build/latest?definitionId=2&branchName=master"><img alt="Build Status" src="https://dev.azure.com/ra1028/GitHub/_apis/build/status/ra1028.Carbon?branchName=master"/></a>
248+
<a href="https://github.com/ra1028/Carbon/actions"><img alt="CI Status" src="https://github.com/ra1028/Carbon/workflows/GitHub%20Actions/badge.svg"/></a>
249249
<a href="https://developer.apple.com/swift"><img alt="Swift5" src="https://img.shields.io/badge/language-Swift5-orange.svg"/></a>
250250
<a href="https://developer.apple.com/"><img alt="Platform" src="https://img.shields.io/badge/platform-iOS-green.svg"/></a>
251251
<a href="https://github.com/ra1028/Carbon/blob/master/LICENSE"><img alt="Lincense" src="https://img.shields.io/badge/License-Apache%202.0-black.svg"/></a>

docs/search.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)