Skip to content

Commit 783ca6c

Browse files
committed
Add objc build to gha
1 parent 0a84b0d commit 783ca6c

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/sample.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,29 @@ jobs:
4141
-destination 'platform=iOS Simulator,OS=latest,name=iPhone 11 Pro' \
4242
clean build test \
4343
ONLY_ACTIVE_ARCH=YES
44+
45+
build:
46+
name: ObjC build
47+
runs-on: macOS-latest
48+
49+
steps:
50+
- name: Checkout
51+
uses: actions/checkout@master
52+
- name: Setup
53+
run: |
54+
cd samples/objc
55+
gem install bundler
56+
bundle install
57+
gem install xcpretty
58+
bundle exec pod install --repo-update
59+
- name: Build
60+
# Note: tests aren't run here because the ObjC sample has no test targets.
61+
run: |
62+
cd samples/objc
63+
xcodebuild \
64+
-workspace FirebaseUI-demo-objc.xcworkspace \
65+
-scheme FirebaseUI-demo-objc \
66+
-sdk iphonesimulator \
67+
-destination 'platform=iOS Simulator,OS=latest,name=iPhone 11 Pro' \
68+
clean build \
69+
ONLY_ACTIVE_ARCH=YES

0 commit comments

Comments
 (0)