Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

chore: downgrade macOS version in iOS CI to avoid "no space left" error (#6168)

Lucas.Xu735cddd64b7f
diff --git a/.github/workflows/ios_ci.yaml b/.github/workflows/ios_ci.yaml
index fdabc29eb3..e1be95894d 100644
--- a/.github/workflows/ios_ci.yaml
+++ b/.github/workflows/ios_ci.yaml
@@ -21,7 +21,7 @@ on:
env:
FLUTTER_VERSION: "3.22.0"
- RUST_TOOLCHAIN: "1.77.2"
+ RUST_TOOLCHAIN: "1.80.1"
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
@@ -45,12 +45,12 @@ jobs:
- uses: futureware-tech/simulator-action@v3
id: simulator-action
with:
- model: 'iPhone 15'
+ model: "iPhone 15"
shutdown_after_job: false
build-macos:
if: github.event.pull_request.head.repo.full_name != github.repository
- runs-on: macos-latest
+ runs-on: macos-13
steps:
- name: Checkout source code
@@ -79,7 +79,7 @@ jobs:
- uses: davidB/rust-cargo-make@v1
with:
- version: "0.36.6"
+ version: "0.37.15"
- name: Install prerequisites
working-directory: frontend
@@ -99,7 +99,7 @@ jobs:
- uses: futureware-tech/simulator-action@v3
id: simulator-action
with:
- model: 'iPhone 15'
+ model: "iPhone 15"
shutdown_after_job: false
# - name: Run AppFlowy on simulator
diff --git a/frontend/scripts/makefile/mobile.toml b/frontend/scripts/makefile/mobile.toml
index 8e89e4c2ed..d466a71961 100644
--- a/frontend/scripts/makefile/mobile.toml
+++ b/frontend/scripts/makefile/mobile.toml
@@ -26,7 +26,6 @@ private = true
script = [
"""
cd rust-lib/
- rustup show
if [ "${BUILD_FLAG}" = "debug" ]; then
echo "πŸš€ πŸš€ πŸš€ Building iOS SDK for debug"
cargo lipo --targets ${RUST_COMPILE_TARGET} --features "${FLUTTER_DESKTOP_FEATURES}" --package=dart-ffi
@@ -99,9 +98,6 @@ script = [
dart_ffi_dir= set ${CARGO_MAKE_WORKSPACE_WORKING_DIRECTORY}/appflowy_flutter/packages/appflowy_backend/${TARGET_OS}
lib = set lib${LIB_NAME}.${LIB_EXT}
- ls -a ${CARGO_MAKE_WORKSPACE_WORKING_DIRECTORY}/rust-lib/target/${RUST_COMPILE_TARGET}/${BUILD_FLAG}
-
-
echo "πŸ’» πŸ’» πŸ’» Copying ${CARGO_MAKE_WORKSPACE_WORKING_DIRECTORY}/rust-lib/target/${RUST_COMPILE_TARGET}/${BUILD_FLAG}/${lib} to ${dart_ffi_dir}/${lib}"
rm -f ${dart_ffi_dir}/${lib}
cp ${CARGO_MAKE_WORKSPACE_WORKING_DIRECTORY}/rust-lib/target/${RUST_COMPILE_TARGET}/${BUILD_FLAG}/${lib} \