-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add CI with Github Actions See merge request aossie/agora-ios!28
- Loading branch information
Showing
2 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Swift | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- develop | ||
- gsoc-2020 | ||
pull_request: | ||
branches: | ||
- master | ||
- develop | ||
- gsoc-2020 | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: macos-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Clean Project | ||
run: set -o pipefail && xcodebuild clean -project agora-ios.xcodeproj -scheme agora-ios | xcpretty | ||
- uses: actions/cache@v1 | ||
with: | ||
path: Carthage | ||
key: ${{ runner.os }}-carthage-${{ hashFiles('**/Cartfile.resolved') }} | ||
restore-keys: | | ||
${{ runner.os }}-carthage- | ||
- name: Install Dependencies | ||
if: steps.cache.outputs.cache-hit != 'true' | ||
run: carthage bootstrap --platform iOS --cache-builds | ||
|
||
- name: Run tests | ||
run: set -o pipefail && xcodebuild test -project agora-ios.xcodeproj -scheme agora-ios -destination 'platform=iOS Simulator,name=iPhone 11,OS=latest' | xcpretty |
Binary file modified
BIN
+616 Bytes
(100%)
...oj/project.xcworkspace/xcuserdata/siddharthsen.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown.