test(ios): add test for event dispatcher and code clean #2803
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: '[ios] build tests' | |
on: | |
pull_request: | |
branches: | |
- master | |
- main | |
- v3.0-dev | |
- v3.0 | |
paths: | |
- 'framework/ios/**' | |
- 'framework/examples/ios-demo/**' | |
- 'driver/js/src/**' | |
- 'driver/js/include/**' | |
- 'dom/include/**' | |
- 'dom/src/**' | |
- 'layout/engine/**' | |
- 'modules/ios/**' | |
- 'modules/footstone/**' | |
- 'modules/vfs/ios/**' | |
- 'modules/vfs/native/**' | |
- 'renderer/native/ios/**' | |
- 'devtools/devtools-backend/**' | |
- 'hippy.podspec' | |
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] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
lfs: true | |
- name: Demo | |
working-directory: framework/examples/ios-demo | |
run: | | |
pod install | |
xcodebuild build -destination "generic/platform=iOS" -workspace "HippyDemo.xcworkspace" -scheme "HippyDemo" -configuration ${{matrix.type}} CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO |