Skip to content

feat(ios): optimize method loadImage:completed: #2391

feat(ios): optimize method loadImage:completed:

feat(ios): optimize method loadImage:completed: #2391

Workflow file for this run

name: '[ios] build tests'
on:
pull_request:
branches:
- master
- main
paths:
- 'ios/**'
- 'core/**'
- 'hippy.podspec'
- 'examples/ios-demo/**'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
ios_build_tests:
runs-on: macos-latest
strategy:
matrix:
type: [debug, release]
include:
- type: debug
configuration: Debug
- type: release
configuration: Release
steps:
- name: Checkout repo
uses: actions/checkout@v3
with:
lfs: true
- name: Build
run: |
pushd examples/ios-demo
pod install
xcodebuild -workspace 'HippyDemo.xcworkspace' -list | \
sed -n '/Schemes/,/^$/p' | \
grep -v "Schemes:" | \
grep -v '^\s*$' | \
while read scheme; do
echo "Building ${scheme}…"
xcodebuild build \
-destination "generic/platform=iOS" \
-workspace "HippyDemo.xcworkspace" \
-scheme "${scheme}" \
-configuration "${{ matrix.configuration }}" \
CODE_SIGN_IDENTITY="" \
CODE_SIGNING_REQUIRED=NO \
CODE_SIGNING_ALLOWED=NO
done
popd