Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test env in cirrus #74

Closed
wants to merge 4 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 31 additions & 20 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,32 +9,43 @@ default_macos_container: &default_macos_container
macos_instance:
image: ghcr.io/cirruslabs/macos-ventura-xcode:14

# android_build_task:
# <<: *default_macos_container

# skip: $CIRRUS_REPO_OWNER != 'AgoraIO-Extensions' || $CIRRUS_PR_LABELS =~ '.*ci:skip.*'

# matrix:
# - name: FLUTTER_VERSION 3.10.0
# env:
# FLUTTER_VERSION: 3.10.0
# switch_flutter_version_script:
# - cd ${MACOS_HOST_FLUTTER_SDK_DIR}
# - git fetch
# - git checkout ${FLUTTER_VERSION} && flutter precache

# matrix:
# - name: Build android on macos arm
# build_android_arm64_script:
# - cd example
# - flutter doctor -v
# - flutter packages get
# - flutter build apk

# - name: Build ios on macos arm
# build_android_arm64_script:
# - cd example
# - flutter doctor -v
# - flutter clean
# - flutter packages get
# - flutter build ios --no-codesign

android_build_task:
<<: *default_macos_container

skip: $CIRRUS_REPO_OWNER != 'AgoraIO-Extensions' || $CIRRUS_PR_LABELS =~ '.*ci:skip.*'

matrix:
- name: FLUTTER_VERSION 3.10.0
env:
FLUTTER_VERSION: 3.10.0
switch_flutter_version_script:
- cd ${MACOS_HOST_FLUTTER_SDK_DIR}
- git fetch
- git checkout ${FLUTTER_VERSION} && flutter precache
- echo "CIRRUS_PR_LABELS ${CIRRUS_PR_LABELS}"

matrix:
- name: Build android on macos arm
build_android_arm64_script:
- cd example
- flutter doctor -v
- flutter packages get
- flutter build apk

- name: Build ios on macos arm
build_android_arm64_script:
- cd example
- flutter doctor -v
- flutter clean
- flutter packages get
- flutter build ios --no-codesign