Skip to content

Commit

Permalink
chore: use iPhone 15
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasXu0 committed Mar 5, 2024
1 parent 5a8c93d commit a7a072d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 23 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/android_ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,6 @@ jobs:
- name: Check storage space
run: df -h

- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
root-reserve-mb: 2048
swap-size-mb: 1024
remove-dotnet: 'true'

# the following step is required to avoid running out of space
- name: Maximize build space
if: matrix.os == 'ubuntu-latest'
Expand Down Expand Up @@ -86,12 +79,6 @@ jobs:
channel: "stable"
flutter-version: ${{ env.FLUTTER_VERSION }}

- uses: nttld/setup-ndk@v1
id: setup-ndk
with:
ndk-version: "r24"
add-to-path: true

- uses: gradle/gradle-build-action@v3
with:
gradle-version: 7.4.2
Expand Down Expand Up @@ -124,15 +111,11 @@ jobs:

- name: Build AppFlowy
working-directory: frontend
env:
ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }}
run: |
cargo make --profile development-android appflowy-android-dev-ci
- name: Prebuild AppFlowy
working-directory: frontend/appflowy_flutter
env:
ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }}
run: |
flutter build apk --debug --target=integration_test/runner.dart
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/ios_ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,14 @@ jobs:
- uses: futureware-tech/simulator-action@v3
id: simulator-action
with:
model: 'iPhone 13'
model: 'iPhone 15'
shutdown_after_job: false

- name: Prebuilt AppFlowy
working-directory: frontend/appflowy_flutter
run: |
flutter run -d ${{ steps.simulator-action.outputs.udid }}
shell: bash
# - name: Prebuilt AppFlowy
# working-directory: frontend/appflowy_flutter
# run: |
# flutter run -d ${{ steps.simulator-action.outputs.udid }}
# shell: bash

- name: Run integration tests
working-directory: frontend/appflowy_flutter
Expand Down

0 comments on commit a7a072d

Please sign in to comment.