Summary: This PR adds github actions to validate the pods, so that the changes which breaks the validation is not made. This PR also downgrades the version update of OpenSSL, as it doesn't validate the Folly podspec. I have [raised](https://github.com/krzyzanowskim/OpenSSL/issues/113) an issue on the repository which manages the openssl dependency. ## Changelog - Added githubaction for dependent pod validation - Downgraded the openssl version, as with upgraded version the folly pod didn't validate. Pull Request resolved: https://github.com/facebook/flipper/pull/1834 Test Plan: CI Reviewed By: passy Differential Revision: D25939525 Pulled By: priteshrnandgaonkar fbshipit-source-id: f70d043f1f6b2c79028212d8f56c6b8632092e33
70 lines
2.0 KiB
YAML
70 lines
2.0 KiB
YAML
name: Validate Dependent Podspecs
|
|
on:
|
|
push:
|
|
paths:
|
|
- "iOS/Podspecs/**"
|
|
pull_request:
|
|
paths:
|
|
- "iOS/Podspecs/**"
|
|
|
|
jobs:
|
|
lint-flipper_doubleconversion_pod:
|
|
runs-on: macos-latest
|
|
defaults:
|
|
run:
|
|
working-directory: iOS/Podspecs
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Install Dependences
|
|
run: pod repo update
|
|
- name: Lint DoubleConversion
|
|
run: pod spec lint Flipper-DoubleConversion.podspec --use-libraries --allow-warnings --verbose --skip-import-validation
|
|
|
|
lint-flipper_folly_pod:
|
|
runs-on: macos-latest
|
|
defaults:
|
|
run:
|
|
working-directory: iOS/Podspecs
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Install Dependences
|
|
run: pod repo update
|
|
- name: Lint Folly
|
|
run: pod spec lint Flipper-Folly.podspec --use-libraries --allow-warnings --verbose --skip-import-validation
|
|
|
|
lint-flipper_glog_pod:
|
|
runs-on: macos-latest
|
|
defaults:
|
|
run:
|
|
working-directory: iOS/Podspecs
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Install Dependences
|
|
run: pod repo update
|
|
- name: Lint Glog
|
|
run: pod spec lint Flipper-Glog.podspec --use-libraries --allow-warnings --verbose --skip-import-validation
|
|
|
|
lint-flipper_peertalk_pod:
|
|
runs-on: macos-latest
|
|
defaults:
|
|
run:
|
|
working-directory: iOS/Podspecs
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Install Dependences
|
|
run: pod repo update
|
|
- name: Lint Peertalk
|
|
run: pod spec lint Flipper-PeerTalk.podspec --use-libraries --allow-warnings --verbose --skip-import-validation
|
|
|
|
lint-flipper_rsocket_pod:
|
|
runs-on: macos-latest
|
|
defaults:
|
|
run:
|
|
working-directory: iOS/Podspecs
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Install Dependences
|
|
run: pod repo update
|
|
- name: Lint RSocket
|
|
run: pod spec lint Flipper-RSocket.podspec --use-libraries --allow-warnings --verbose --skip-import-validation
|