CI/CD Pipeline Integration: iOS + Android stages with Gitea-native syntax #11
@@ -24,14 +24,14 @@ jobs:
|
|||||||
# ── Stage 1: Lint & static analysis ──────────────────────────────
|
# ── Stage 1: Lint & static analysis ──────────────────────────────
|
||||||
lint:
|
lint:
|
||||||
name: Lint
|
name: Lint
|
||||||
runs-on: [self-hosted, macos]
|
runs-on: self-hosted
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Setup Flutter
|
- name: Setup Flutter
|
||||||
run: |
|
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" \
|
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
|
-o flutter.zip
|
||||||
unzip -q flutter.zip
|
unzip -q flutter.zip
|
||||||
@@ -56,7 +56,7 @@ jobs:
|
|||||||
# ── Stage 2: Unit & widget tests ─────────────────────────────────
|
# ── Stage 2: Unit & widget tests ─────────────────────────────────
|
||||||
test:
|
test:
|
||||||
name: Test
|
name: Test
|
||||||
runs-on: [self-hosted, macos]
|
runs-on: self-hosted
|
||||||
needs: [lint]
|
needs: [lint]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
@@ -84,7 +84,7 @@ jobs:
|
|||||||
# ── Stage 3: Android build ──────────────────────────────────────
|
# ── Stage 3: Android build ──────────────────────────────────────
|
||||||
build-android:
|
build-android:
|
||||||
name: Build Android
|
name: Build Android
|
||||||
runs-on: [self-hosted, macos]
|
runs-on: self-hosted
|
||||||
needs: [test]
|
needs: [test]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
@@ -176,7 +176,7 @@ jobs:
|
|||||||
# ── Stage 3 (parallel): iOS build ───────────────────────────────
|
# ── Stage 3 (parallel): iOS build ───────────────────────────────
|
||||||
build-ios:
|
build-ios:
|
||||||
name: Build iOS
|
name: Build iOS
|
||||||
runs-on: [self-hosted, macos]
|
runs-on: self-hosted
|
||||||
needs: [test]
|
needs: [test]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- 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!