CI/CD Pipeline Integration: iOS + Android stages with Gitea-native syntax #11
@@ -24,14 +24,14 @@ jobs:
|
||||
# ── Stage 1: Lint & static analysis ──────────────────────────────
|
||||
lint:
|
||||
name: Lint
|
||||
runs-on: [self-hosted, macos]
|
||||
runs-on: self-hosted
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Flutter
|
||||
run: |
|
||||
# Direct Flutter SDK download — macOS ARM64 native
|
||||
# Direct Flutter SDK download — macOS ARM64 (native self-hosted runner)
|
||||
curl -fsSL "https://storage.googleapis.com/flutter_infra_release/releases/stable/macos/flutter_macos_3.44.8-stable.zip" \
|
||||
|
kfj001
commented
but this isn't a monolithic practice... let's use 24.04 which is the latest numbered version as of 'now'. I would prefer all ubuntu-latest's be replaced specifically with 24.04. but this isn't a monolithic practice... let's use 24.04 which is the latest numbered version as of 'now'. I would prefer all ubuntu-latest's be replaced specifically with 24.04.
|
||||
-o flutter.zip
|
||||
unzip -q flutter.zip
|
||||
@@ -56,7 +56,7 @@ jobs:
|
||||
# ── Stage 2: Unit & widget tests ─────────────────────────────────
|
||||
test:
|
||||
name: Test
|
||||
runs-on: [self-hosted, macos]
|
||||
runs-on: self-hosted
|
||||
needs: [lint]
|
||||
steps:
|
||||
- name: Checkout
|
||||
@@ -84,7 +84,7 @@ jobs:
|
||||
# ── Stage 3: Android build ──────────────────────────────────────
|
||||
build-android:
|
||||
name: Build Android
|
||||
runs-on: [self-hosted, macos]
|
||||
runs-on: self-hosted
|
||||
needs: [test]
|
||||
steps:
|
||||
- name: Checkout
|
||||
@@ -176,7 +176,7 @@ jobs:
|
||||
# ── Stage 3 (parallel): iOS build ───────────────────────────────
|
||||
build-ios:
|
||||
name: Build iOS
|
||||
runs-on: [self-hosted, macos]
|
||||
runs-on: self-hosted
|
||||
needs: [test]
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
||||
Reference in new issue
Block a user
see, I ❤️ how this is hard coding a specific version of a framework - THIS helps make the development process of this app a monolith!