mirror of
https://github.com/AppFlowy-IO/AppFlowy
synced 2026-05-05 22:48:27 +00:00
chore: downgrade macOS version in iOS CI to avoid "no space left" error (#6168)
* chore: dump mobile ci disk space usage * chore: downgrade macos ci version to avoid no space left error
This commit is contained in:
parent
94c033bba8
commit
735cddd64b
2 changed files with 5 additions and 9 deletions
10
.github/workflows/ios_ci.yaml
vendored
10
.github/workflows/ios_ci.yaml
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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} \
|
||||
|
|
|
|||
Loading…
Reference in a new issue