v0.11.0
A ready-to-use CI/CD Pipeline and jobs for Android projects
Attributes
Includes Deno configuration
Repository
Current version released
2 years ago
Dependencies
other
jsr:@std/flags@0.218.2jsr:@std/fmt@0.218.2/colorsjsr:@std/path@0.218.2jsr:@std/testing@0.218.2/assertsjsr:@tsirysndr/env-js@0.1.2jsr:@tsirysndr/fluent-az-pipelines@0.3jsr:@tsirysndr/fluent-circleci@0.3jsr:@tsirysndr/fluent-codepipeline@0.3jsr:@tsirysndr/fluent-gh-actions@0.3jsr:@tsirysndr/fluent-gitlab-ci@0.5npm:graphql-request@6.1.0npm:graphql@16.8.1npm:lodash@4.17.21npm:node-color-log@11.0.2npm:stringify-tree@1.1.1
Android Pipeline
A ready-to-use CI/CD Pipeline for your Android projects.
π Usage
Run the following command:
fluentci run android_pipelineOr, if you want to use it as a template:
fluentci init -t androidThis will create a .fluentci folder in your project.
Now you can run the pipeline with:
fluentci run .π§© Dagger Module
Use as a Dagger module:
dagger install github.com/fluent-ci-templates/android-pipeline@mainCall a function from the module:
dagger call assemble-release --src .
dagger call bundle-release --src .β¨ Jobs
| Job | Description |
|---|---|
| lintDebug | Lint your code |
| assembleDebug | generate apk (debug) |
| debugTests | Run your tests |
| assembleRelease | generate apk (release) |
| bundleRelease | generate aab (release) |
lintDebug(
src?: string | Directory
): Promise<string>
assembleDebug(
src?: string | Directory
): Promise<File | string>
assembleRelease(
src?: string | Directory
): Promise<File | string>
bundleRelease(
src?: string | Directory
): Promise<File | string>
debugTests(
src?: string | Directory
): Promise<string>π¨βπ» Programmatic usage
You can also use this pipeline programmatically:
import { lintDebug, assembleDebug, debugTests } from "jsr:@fluentci/android";
await lintDebug();
await debugTests();
await assembleDebug();π Example
See example for a working example.