Basic CocoaPods Validation (#1303)
Summary: Pull Request resolved: https://github.com/facebook/yoga/pull/1303 This gets `pod lib lint` and building the sample app with xcbuild passing (using https://github.com/facebook/yoga/pull/1105 as a template). Reviewed By: cipolleschi Differential Revision: D46470738 fbshipit-source-id: f66f6c6efc1b7cf1443fbca0815a24801c16a626
This commit is contained in:
committed by
Facebook GitHub Bot
parent
5e74e20a4d
commit
4fc1657f2c
14
.github/workflows/validate-apple.yml
vendored
14
.github/workflows/validate-apple.yml
vendored
@@ -9,7 +9,7 @@ on:
|
||||
|
||||
jobs:
|
||||
lint-pods:
|
||||
name: Lint
|
||||
name: Lint pod
|
||||
runs-on: macos-latest
|
||||
|
||||
steps:
|
||||
@@ -18,12 +18,11 @@ jobs:
|
||||
- name: Setup
|
||||
uses: ./.github/actions/setup-apple
|
||||
|
||||
- name: pod spec lint
|
||||
run: pod spec lint --verbose
|
||||
continue-on-error: true # Apple Build is Broken
|
||||
- name: pod lib lint
|
||||
run: pod lib lint --verbose --include-podspecs=**/*.podspec
|
||||
|
||||
build-sample:
|
||||
name: Build [${{ matrix.mode }}]
|
||||
name: Build sample [${{ matrix.mode }}]
|
||||
runs-on: macos-latest
|
||||
strategy:
|
||||
matrix:
|
||||
@@ -38,9 +37,10 @@ jobs:
|
||||
- name: pod install
|
||||
run: pod install
|
||||
working-directory: ./YogaKit/YogaKitSample
|
||||
continue-on-error: true # Apple Build is Broken
|
||||
|
||||
# TODO: xcodebuild
|
||||
- name: xcodebuild YogaKitSample.xcworkspace
|
||||
run: xcodebuild -workspace YogaKitSample.xcworkspace -scheme YogaKitSample
|
||||
working-directory: ./YogaKit/YogaKitSample
|
||||
|
||||
clang-format:
|
||||
name: Format
|
||||
|
Reference in New Issue
Block a user