CI/CD Pipeline Integration: iOS + Android stages with Gitea-native syntax #11
No files matched your search
@@ -32,7 +32,7 @@ jobs:
|
||||
# ── Stage 1: Lint & static analysis ──
|
||||
lint:
|
||||
name: Lint
|
||||
runs-on: [self-hosted, linux, x64]
|
||||
runs-on: ubuntu-latest
|
||||
|
|
||||
continue-on-error: true
|
||||
steps:
|
||||
- name: Checkout
|
||||
@@ -76,7 +76,7 @@ jobs:
|
||||
# ── Stage 1 (parallel): Unit & widget tests ──
|
||||
test:
|
||||
name: Test
|
||||
runs-on: [self-hosted, linux, x64]
|
||||
runs-on: ubuntu-latest
|
||||
continue-on-error: true
|
||||
steps:
|
||||
- name: Checkout
|
||||
@@ -116,7 +116,7 @@ jobs:
|
||||
# the runner host, causing the job to stall indefinitely on docker pull.
|
||||
build-android:
|
||||
name: Build Android
|
||||
runs-on: [self-hosted, linux, x64]
|
||||
runs-on: ubuntu-latest
|
||||
needs: [lint, test]
|
||||
if: always()
|
||||
steps:
|
||||
@@ -226,7 +226,7 @@ jobs:
|
||||
# ── Stage 2 (parallel): iOS build ───────────────────────────────
|
||||
build-ios:
|
||||
name: Build iOS
|
||||
runs-on: [self-hosted, linux, x64]
|
||||
runs-on: ubuntu-latest
|
||||
needs: [lint, test]
|
||||
if: always()
|
||||
steps:
|
||||
|
||||
@@ -16,7 +16,7 @@ jobs:
|
||||
# ── Lint (gate) ─────────────────────────────────────────────
|
||||
lint:
|
||||
name: Lint
|
||||
runs-on: [self-hosted, linux, x64]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
@@ -60,7 +60,7 @@ jobs:
|
||||
# ── Test (gate) ──────────────────────────────────────────────────
|
||||
test:
|
||||
name: Test
|
||||
runs-on: [self-hosted, linux, x64]
|
||||
runs-on: ubuntu-latest
|
||||
needs: [lint]
|
||||
steps:
|
||||
- name: Checkout
|
||||
@@ -101,7 +101,7 @@ jobs:
|
||||
# the runner host, causing the job to stall indefinitely on docker pull.
|
||||
build-android:
|
||||
name: Build Android Release
|
||||
runs-on: [self-hosted, linux, x64]
|
||||
runs-on: ubuntu-latest
|
||||
needs: [test]
|
||||
steps:
|
||||
- name: Checkout
|
||||
@@ -230,7 +230,7 @@ jobs:
|
||||
# ── iOS release build ───────────────────────────────────────
|
||||
build-ios:
|
||||
name: Build iOS Release
|
||||
runs-on: [self-hosted, linux, x64]
|
||||
runs-on: ubuntu-latest
|
||||
needs: [test]
|
||||
steps:
|
||||
- name: Checkout
|
||||
@@ -247,7 +247,7 @@ jobs:
|
||||
# ── Publish Gitea Release ────────────────────────────────────
|
||||
publish-release:
|
||||
name: Publish Release
|
||||
runs-on: [self-hosted, linux, x64]
|
||||
runs-on: ubuntu-latest
|
||||
needs: [build-android]
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
||||
Reference in new issue
Block a user
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.