Skip to content

refactor: remove design system dependency #649

refactor: remove design system dependency

refactor: remove design system dependency #649

Workflow file for this run

name: Android CI
on:
push:
branches:
- main
pull_request:
paths-ignore:
- '.idea/**'
- '.gitattributes'
- '.github/**.json'
- '.gitignore'
- '.gitmodules'
- '**.md'
- 'LICENSE'
- 'NOTICE'
permissions:
contents: read
concurrency:
group: android-ci-${{ github.ref }}-${{ github.event.pull_request.number || 'no-pr' }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
build-common:
name: Build common code
runs-on: ubuntu-latest
timeout-minutes: 90
steps:
- name: Checkout the repo
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
fetch-depth: 1
- name: Show disk usage
uses: ./.github/actions/disk-usage
- name: Cleanup disk
uses: ./.github/actions/disk-cleanup
- name: Setup Gradle environment
uses: ./.github/actions/setup-gradle
with:
write-cache: ${{ github.ref == 'refs/heads/main' }}
- name: Prime configuration and dependency cache
run: ./gradlew --no-daemon help
- name: Assemble common
run: ./gradlew :app-common:assemble
- name: Show disk usage
uses: ./.github/actions/disk-usage
build-k9:
name: Build K9 application
runs-on: ubuntu-latest
timeout-minutes: 90
needs: [build-common]
steps:
- name: Checkout the repo
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
fetch-depth: 1
- name: Setup Gradle environment
uses: ./.github/actions/setup-gradle
- name: Build K9 application
run: ./gradlew :app-k9mail:assemble
- name: Check K9 Badging
run: |
./gradlew :app-k9mail:checkFossReleaseBadging \
:app-k9mail:checkFullReleaseBadging \
-x assemble \
-x build
build-thunderbird:
name: Build Thunderbird application
runs-on: ubuntu-latest
timeout-minutes: 90
needs: [build-common]
steps:
- name: Checkout the repo
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
fetch-depth: 1
- name: Setup Gradle environment
uses: ./.github/actions/setup-gradle
- name: Build Thunderbird application
run: ./gradlew :app-thunderbird:assemble
- name: Check Thunderbird Badging
run: |
./gradlew :app-thunderbird:checkFossBetaBadging \
:app-thunderbird:checkFossDailyBadging \
:app-thunderbird:checkFossReleaseBadging \
:app-thunderbird:checkFullBetaBadging \
:app-thunderbird:checkFullDailyBadging \
:app-thunderbird:checkFullReleaseBadging \
-x assemble \
-x build
build-ui-catalog:
name: Build UI-catalog application
runs-on: ubuntu-latest
timeout-minutes: 90
needs: [build-common]
steps:
- name: Checkout the repo
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
fetch-depth: 1
- name: Setup Gradle environment
uses: ./.github/actions/setup-gradle
- name: Build App UI-catalog application in Debug mode
run: ./gradlew :app-ui-catalog:assembleDebug
quality-unit-test:
name: Quality - Unit tests
runs-on: ubuntu-latest
timeout-minutes: 90
needs: [build-common]
steps:
- name: Checkout the repo
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
fetch-depth: 1
- name: Setup Gradle environment
uses: ./.github/actions/setup-gradle
- name: Running unit tests
run: ./gradlew testsOnCi --parallel
quality-lint:
name: Quality - Lint
runs-on: ubuntu-latest
timeout-minutes: 90
needs: [build-common]
steps:
- name: Checkout the repo
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
fetch-depth: 1
- name: Setup Gradle environment
uses: ./.github/actions/setup-gradle
- name: Running Android lint
run: ./gradlew lint