Skip to content

Commit

Permalink
Merge pull request #213 from droibit/feature/update_workflows
Browse files Browse the repository at this point in the history
Update iOS build configurations
  • Loading branch information
droibit authored Nov 18, 2024
2 parents 9c9ef42 + 47f29c3 commit 7858046
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 12 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/app_facing_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,12 @@ on:
paths:
- 'flutter_custom_tabs/**'
- '!**.md'
env:
DEVELOPER_DIR: /Applications/Xcode_16.1.app

jobs:
build:
runs-on: macos-14
runs-on: macos-15
steps:
- uses: actions/checkout@v4
- name: Setup JDK
Expand Down
11 changes: 2 additions & 9 deletions .github/workflows/ios_implementation_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,16 @@ on:
- '.github/workflows/ios_implementation_package.yml'
- '!**.md'
env:
DEVELOPER_DIR: /Applications/Xcode_15.4.app
DEVELOPER_DIR: /Applications/Xcode_16.1.app

jobs:
build:
runs-on: macos-14
runs-on: macos-15
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
# Workaround for Xcode 15.x performance regression.
# ref. https://bitrise.io/blog/post/xcode-15-performance-regressions
- name: Install yeetd
run: |
wget https://github.com/biscuitehh/yeetd/releases/download/1.0/yeetd-normal.pkg
sudo installer -pkg yeetd-normal.pkg -target /
yeetd &
- uses: irgaly/setup-mint@v1
with:
mint-directory: ./flutter_custom_tabs_ios
Expand Down
5 changes: 3 additions & 2 deletions flutter_custom_tabs_ios/example/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
TEST_SCHEME := Runner
TEST_PROJECT := ios/Runner.xcworkspace
TEST_SDK := iphonesimulator
TESET_DESTINATION := 'platform=iOS Simulator,OS=latest,name=iPhone 15'
TESET_DESTINATION := 'platform=iOS Simulator,OS=latest,name=iPhone 16'

.PHONY: test
test:
Expand All @@ -12,4 +12,5 @@ test:
-scheme $(TEST_SCHEME) \
-sdk $(TEST_SDK) \
-destination $(TESET_DESTINATION) \
CODE_SIGNING_ALLOWED='NO'
CODE_SIGNING_ALLOWED='NO' \
| xcbeautify

0 comments on commit 7858046

Please sign in to comment.