CI/CD Pipeline Integration: iOS + Android stages with Gitea-native syntax #11

Merged
kfj001 merged 64 commits from ci/pipeline-integration into main 2026-08-03 20:16:03 -07:00
Showing only changes of commit aacd6b061d - Show all commits
+19 -38
View File
@@ -22,21 +22,16 @@ jobs:
# ── Stage 1: Lint & static analysis ────────────────────────────── # ── Stage 1: Lint & static analysis ──────────────────────────────
lint: lint:
name: Lint name: Lint
runs-on: [self-hosted, linux] runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
Review

see, I ❤️ how this is hard coding a specific version of a framework - THIS helps make the development process of this app a monolith!

see, I ❤️ how this is hard coding a specific version of a framework - THIS helps make the development process of this app a monolith!
- name: Setup Flutter - name: Setup Flutter
run: | uses: subosito/flutter-action@v2
# Direct Flutter SDK download — subosito/flutter-action queries with:
# GitHub internal APIs that are unavailable on self-hosted Gitea runners. flutter-version: ${{ env.FLUTTER_VERSION }}
curl -fsSL "https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.44.8-stable.tar.xz" \ cache: true
-o flutter.tar.xz
tar -xf flutter.tar.xz
export PATH="$PWD/flutter/bin:$PATH"
flutter --version
echo "$PWD/flutter/bin" >> "$GITHUB_PATH" || echo "$PWD/flutter/bin" >> "$HOME/.env_path"
Outdated
Review

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.
- name: Install dependencies - name: Install dependencies
run: flutter pub get run: flutter pub get
@@ -55,21 +50,17 @@ jobs:
# ── Stage 2: Unit & widget tests ───────────────────────────────── # ── Stage 2: Unit & widget tests ─────────────────────────────────
test: test:
name: Test name: Test
runs-on: [self-hosted, linux] runs-on: ubuntu-latest
needs: [lint] needs: [lint]
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Setup Flutter - name: Setup Flutter
run: | uses: subosito/flutter-action@v2
# Direct Flutter SDK download — self-hosted Gitea runner (Linux) with:
curl -fsSL "https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.44.8-stable.tar.xz" \ flutter-version: ${{ env.FLUTTER_VERSION }}
-o flutter.tar.xz cache: true
tar -xf flutter.tar.xz
export PATH="$PWD/flutter/bin:$PATH"
flutter --version
echo "$PWD/flutter/bin" >> "$GITHUB_PATH" || echo "$PWD/flutter/bin" >> "$HOME/.env_path"
- name: Install dependencies - name: Install dependencies
run: flutter pub get run: flutter pub get
@@ -101,27 +92,17 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Setup Java 17 - name: Setup Java 17
run: | uses: actions/setup-java@v4
# Direct Temurin JDK download — actions/setup-java queries GitHub APIs with:
curl -fsSL "https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.12%2B7/OpenJDK17U-jdk_x64_linux_hotspot_17.0.12_7.tar.gz" \ distribution: temurin
-o jdk.tar.gz java-version: "17"
mkdir -p "$HOME/jdk" cache: gradle
tar -xzf jdk.tar.gz -C "$HOME/jdk" --strip-components=1
export JAVA_HOME="$HOME/jdk"
export PATH="$JAVA_HOME/bin:$PATH"
java -version
echo "JAVA_HOME=$JAVA_HOME" >> "$GITHUB_ENV" || export JAVA_HOME="$JAVA_HOME"
echo "$JAVA_HOME/bin" >> "$GITHUB_PATH" || export PATH="$JAVA_HOME/bin:$PATH"
- name: Setup Flutter - name: Setup Flutter
run: | uses: subosito/flutter-action@v2
# Direct Flutter SDK download — Linux build runner with:
curl -fsSL "https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.44.8-stable.tar.xz" \ flutter-version: ${{ env.FLUTTER_VERSION }}
-o flutter.tar.xz cache: true
tar -xf flutter.tar.xz
export PATH="$PWD/flutter/bin:$PATH"
flutter --version
echo "$PWD/flutter/bin" >> "$GITHUB_PATH" || echo "$PWD/flutter/bin" >> "$HOME/.env_path"
- name: Install Android SDK command-line tools - name: Install Android SDK command-line tools
Outdated
Review

versioning....

versioning....
run: | run: |
2