Skip to content

Commit

Permalink
fix: github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
guhaijun committed Dec 17, 2020
1 parent 6ded690 commit 9c5c594
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ jobs:
with:
ref: ${{ github.sha }}
- name: carthage_lint
run: carthage build --no-skip-current
run: |
export XCODE_XCCONFIG_FILE=$PWD/fix_carthage_xcode_12.xcconfig
carthage build --no-skip-current
Build_Examples:
runs-on: macos-10.15
Expand All @@ -54,7 +56,7 @@ jobs:
scheme: BSDiffExample
- sdk: iOS13.4
developer_dir: /Applications/Xcode_11.4.app
destination: OS=13.4,name=iPhone 11 Pro Max
destination: OS=13.4.1,name=iPhone 11 Pro Max
scheme: BSDiffExample
steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 2 additions & 0 deletions fix_carthage_xcode_12.xcconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
EXCLUDED_ARCHS__EFFECTIVE_PLATFORM_SUFFIX_simulator__NATIVE_ARCH_64_BIT_x86_64=arm64 arm64e armv7 armv7s armv6 armv8\
EXCLUDED_ARCHS=$(inherited) $(EXCLUDED_ARCHS__EFFECTIVE_PLATFORM_SUFFIX_$(EFFECTIVE_PLATFORM_SUFFIX)__NATIVE_ARCH_64_BIT_$(NATIVE_ARCH_64_BIT))}

0 comments on commit 9c5c594

Please sign in to comment.