Summary: This diff updates and adds the boost ios podspec in flipper repo. This new boost dep works for Arm and i386 archs for simulator too. This diff also updates our GH Action to remove i386 from excluded archs. Still arm64 is kept as non M1 mac machines do not have arm swift symbols for arm simulator. And since all our CI is on non M1, it is required. It also takes care of https://github.com/facebook/flipper/issues/2268 ## Changelog - Update the boost dep - Update the GH action Pull Request resolved: https://github.com/facebook/flipper/pull/2341 Test Plan: CI Reviewed By: mweststrate Differential Revision: D28537004 Pulled By: priteshrnandgaonkar fbshipit-source-id: 474ccec674d0edf5fa7b792b15a326e0f139d977
61 lines
1.7 KiB
YAML
61 lines
1.7 KiB
YAML
name: Build iOS apps
|
|
on:
|
|
push:
|
|
paths:
|
|
- "iOS/**"
|
|
- "xplat/**"
|
|
- "Flipper.podspec"
|
|
- "FlipperKit.podspec"
|
|
pull_request:
|
|
paths:
|
|
- "iOS/**"
|
|
- "xplat/**"
|
|
- "Flipper.podspec"
|
|
- "FlipperKit.podspec"
|
|
|
|
jobs:
|
|
build-sample-objc:
|
|
runs-on: macos-latest
|
|
defaults:
|
|
run:
|
|
working-directory: iOS/Sample
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Install dependencies
|
|
run: pod install --repo-update
|
|
- name: Build Sample app
|
|
run: |
|
|
IPHONESIMULATOR=$(xcodebuild -showsdks | grep -o "iphonesimulator[0-9]\\+\\.[0-9]\\+$") && echo $IPHONESIMULATOR
|
|
xcodebuild build -workspace Sample.xcworkspace -scheme Sample -sdk $IPHONESIMULATOR EXCLUDED_ARCHS="arm64"
|
|
|
|
build-sample-swift:
|
|
runs-on: macos-latest
|
|
defaults:
|
|
run:
|
|
working-directory: iOS/SampleSwift
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Install dependencies
|
|
run: pod install --repo-update
|
|
- name: Build SampleSwift app
|
|
run: |
|
|
IPHONESIMULATOR=$(xcodebuild -showsdks | grep -o "iphonesimulator[0-9]\\+\\.[0-9]\\+$") && echo $IPHONESIMULATOR
|
|
xcodebuild build -workspace SampleSwift.xcworkspace -scheme SampleSwift -sdk $IPHONESIMULATOR
|
|
|
|
build-tutorial:
|
|
runs-on: macos-latest
|
|
defaults:
|
|
run:
|
|
working-directory: iOS/Tutorial
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Install dependencies
|
|
run: pod install --repo-update
|
|
- name: Build Tutorial app
|
|
run: |
|
|
IPHONESIMULATOR=$(xcodebuild -showsdks | grep -o "iphonesimulator[0-9]\\+\\.[0-9]\\+$") && echo $IPHONESIMULATOR
|
|
xcodebuild build -workspace Tutorial.xcworkspace -scheme Tutorial -sdk $IPHONESIMULATOR
|