Skip to content

Commit

Permalink
chore: update workflows build ios config. #156
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Aug 8, 2021
1 parent 7cd30d9 commit ea57d4c
Showing 1 changed file with 20 additions and 10 deletions.
30 changes: 20 additions & 10 deletions .github/workflows/build_ios_app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,15 @@ on: [push, pull_request]

jobs:
build:
runs-on: macos-latest
strategy:
matrix:
os: [macos-latest]
node: [10, 12, 14]
arch: [x86]
exclude:
- { os: macos-latest, arch: x86 }
# runs-on: macos-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
Expand All @@ -19,12 +27,14 @@ jobs:

- name: Build iOS (debug)
working-directory: example/base
run: "xcodebuild \
-workspace ios/examples.xcworkspace \
-scheme examples \
clean archive \
-sdk iphoneos \
-configuration Debug \
-UseModernBuildSystem=NO \
-archivePath $PWD/examples \
CODE_SIGNING_ALLOWED=NO"
run: |
pwd
xcodebuild \
-workspace $PWD/ios/examples.xcworkspace \
-scheme examples \
clean archive \
-sdk iphoneos \
-configuration Debug \
-UseModernBuildSystem=NO \
-archivePath $PWD/examples \
CODE_SIGNING_ALLOWED=NO

0 comments on commit ea57d4c

Please sign in to comment.