Skip to content

Commit ec058c4

Browse files
Add Github Actions CI (#151)
* Add Github Actions CI * Remove Travis file
1 parent afabde0 commit ec058c4

File tree

2 files changed

+22
-16
lines changed

2 files changed

+22
-16
lines changed

.github/workflows/ci.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: XLActionController CI
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- master
8+
9+
jobs:
10+
iOS:
11+
runs-on: macOS-latest
12+
strategy:
13+
matrix:
14+
destination: ['platform=iOS Simulator,OS=14.4,name=iPhone 11']
15+
steps:
16+
- uses: actions/checkout@v2
17+
- name: Build and test library
18+
run: set -o pipefail && xcodebuild -project XLActionController.xcodeproj -scheme 'XLActionController' -sdk 'iphonesimulator' -destination "${{ matrix.destination }}" -configuration Debug ONLY_ACTIVE_ARCH=NO test | xcpretty -c
19+
- name: Build Example Debug
20+
run: set -o pipefail && xcodebuild -project Example.xcodeproj -scheme 'Example' -sdk 'iphonesimulator' -destination "${{ matrix.destination }}" -configuration Debug ONLY_ACTIVE_ARCH=NO build | xcpretty -c
21+
- name: Build Example Release
22+
run: set -o pipefail && xcodebuild -project Example.xcodeproj -scheme 'Example' -sdk 'iphonesimulator' -destination "${{ matrix.destination }}" -configuration Release ONLY_ACTIVE_ARCH=NO build | xcpretty -c

.travis.yml

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

0 commit comments

Comments
 (0)