{"id":46627620,"url":"https://github.com/invarnhq/cibuild","last_synced_at":"2026-04-18T19:07:35.314Z","repository":{"id":342829845,"uuid":"1175345294","full_name":"invarnhq/cibuild","owner":"invarnhq","description":"The fastest way to set up iOS and Android CI on GitHub - define pipelines in YAML, run locally or on GitHub Actions.","archived":false,"fork":false,"pushed_at":"2026-04-04T23:36:13.000Z","size":47,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-05T00:42:35.992Z","etag":null,"topics":["android","ci-cd","github-action","github-actions","gradle","ios","mobile-ci","pipeline","xcode"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/invarnhq.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-07T15:30:32.000Z","updated_at":"2026-04-01T15:02:14.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/invarnhq/cibuild","commit_stats":null,"previous_names":["invarnhq/cibuild"],"tags_count":50,"template":false,"template_full_name":null,"purl":"pkg:github/invarnhq/cibuild","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/invarnhq%2Fcibuild","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/invarnhq%2Fcibuild/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/invarnhq%2Fcibuild/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/invarnhq%2Fcibuild/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/invarnhq","download_url":"https://codeload.github.com/invarnhq/cibuild/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/invarnhq%2Fcibuild/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31859796,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"ssl_error","status_checked_at":"2026-04-15T15:24:39.138Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","ci-cd","github-action","github-actions","gradle","ios","mobile-ci","pipeline","xcode"],"created_at":"2026-03-07T23:07:26.385Z","updated_at":"2026-04-15T21:01:02.453Z","avatar_url":"https://github.com/invarnhq.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cibuild\n\nThe fastest way to set up iOS and Android CI on GitHub - define pipelines in YAML, run locally or on GitHub Actions.\n\n## Install\n\n**Homebrew (recommended)**\n\n```bash\nbrew tap invarnhq/cibuild\nbrew install cibuild\n```\n\n**curl**\n\n```bash\ncurl -fsSL https://raw.githubusercontent.com/invarnhq/cibuild/main/install.sh | bash\n```\n\n**npm**\n\n```bash\nnpm install -g @invarn/cibuild\n```\n\nAll methods install two identical commands: `ci` and `cibuild`.\n\n## Getting Started\n\n### Option 1. Auto-create (recommended)\n\nFrom your project root, let cibuild scan the project and generate a pipeline with recommended defaults:\n\n```bash\nci init --create\n```\n\nThis auto-detects the platform (iOS/Android), configures build settings, collects secrets from disk, and generates a ready-to-use GitHub Actions workflow — fully non-interactive, works with AI agents and scripts.\n\n### Option 2. Interactive wizard\n\nWalk through prompts to configure your pipeline step by step:\n\n```bash\nci init\n```\n\n### Option 3. Import existing pipeline\n\nIf you already have a pipeline YAML file:\n\n```bash\nci init --import path/to/pipeline.yml\n```\n\nAll three methods scaffold the `.ci/pipelines/` directory, generate `.github/workflows/ci.yml`, validate dependencies, and set up `.gitignore`.\n\n### Customize\n\ncibuild works best when you start with `ci init --create` and build on top of the generated pipeline. The full pipeline format, step catalog, and customization rules are in the spec.\n\nTell your AI coding agent:\n\n\u003e Set up and customize CI/CD pipelines for this project using cibuild according to the following spec: https://raw.githubusercontent.com/invarnhq/cibuild/refs/heads/main/SPEC.md\n\n### Run\n\n```bash\nci run                                         # Run the default pipeline\nci run .ci/pipelines/cibuild.yml -w release    # Run a specific workflow\n```\n\n## Commands\n\n| Command | Description |\n|---|---|\n| `ci init` | Interactive setup wizard |\n| `ci init --create` | Auto-create pipeline (non-interactive) |\n| `ci init --import \u003cpath\u003e` | Import YAML pipeline (non-interactive) |\n| `ci build` | Generate a standard pipeline for the current project |\n| `ci run \u003cpath\u003e [-w \u003cname\u003e]` | Run pipeline locally (development mode) |\n| `ci run \u003cpath\u003e [-w \u003cname\u003e] --production` | Run on remote runner (production) |\n| `ci run \u003cpath\u003e [-w \u003cname\u003e] --validate-only` | Validate only, don't execute |\n| `ci run \u003cpath\u003e [-w \u003cname\u003e] --skip-validation` | Skip validation, run with interactive prompts |\n| `ci validate \u003cpath\u003e [-w \u003cname\u003e]` | Validate pipeline (alias for --validate-only) |\n| `ci detect-platform \u003cpath\u003e [-w \u003cname\u003e]` | Detect platform from YAML pipeline |\n| `ci edit \u003cpath\u003e [-w \u003cname\u003e]` | View pipeline and edit step inputs |\n| `ci secrets add \u003cvar\u003e \u003cpath\u003e [-w \u003cname\u003e]` | Add a secret (prompted interactively) |\n| `ci secrets add \u003cvar\u003e \u003cpath\u003e --file \u003cfile\u003e` | Add a secret from a file |\n| `ci secrets upload [--env \u003cname\u003e]` | Upload secrets to GitHub environment |\n| `ci secrets sync-workflow \u003cpath\u003e` | Sync secret mappings into workflow YAML |\n| `ci --help` | Show help |\n\n### Options\n\n| Flag | Description |\n|---|---|\n| `-w, --workflow \u003cname\u003e` | Select a workflow (YAML pipelines only, defaults to first) |\n| `--production` | Execute on remote runner after validation (vs local) |\n| `--validate-only` | Run validation only, don't execute pipeline |\n| `--skip-validation` | Skip pre-execution validation (for development) |\n\n## Secrets\n\nSecrets are stored locally in `.cibuild-secrets.json` and never committed.\n\n```bash\nci secrets add KEYSTORE_PASSWORD pipeline.yml\nci secrets add KEYSTORE_BASE64 pipeline.yml --file release.keystore\nci secrets add SLACK_WEBHOOK pipeline.yml -w release\n```\n\n### Deploy to GitHub\n\nPush all local secrets to a GitHub Environment in one command:\n\n```bash\nci secrets upload\n```\n\nThis uploads every secret to the `cibuild` environment on GitHub and automatically syncs the `env:` mappings in `.github/workflows/ci.yml`. Requires [GitHub CLI](https://cli.github.com/) (`gh auth login`).\n\n## GitHub Actions\n\nUse cibuild directly in your GitHub Actions workflows:\n\n```yaml\nname: CI\non: [push, pull_request]\n\njobs:\n  build:\n    runs-on: macos-latest\n    environment: cibuild\n    steps:\n      - uses: actions/checkout@v4\n      - uses: invarnhq/cibuild@v1\n        with:\n          workflow: release\n```\n\n### Action Inputs\n\n| Input | Required | Default | Description |\n|---|---|---|---|\n| `pipeline` | No | Auto-discover | Path to pipeline YAML file |\n| `workflow` | No | First workflow | Workflow name within the pipeline |\n| `version` | No | `latest` | cibuild version to install |\n\nThe action automatically maps GitHub context to cibuild environment variables (`GIT_BRANCH`, `GIT_COMMIT`, `BUILD_NUMBER`, `BUILD_URL`). See [Secrets](#secrets) for setting up secret access in CI.\n\n## Examples\n\n| Project | Platform | Status |\n|---|---|---|\n| [CITestiOS](https://github.com/invarnhq/CITestiOS) | iOS | [![CI](https://github.com/invarnhq/CITestiOS/actions/workflows/ci.yml/badge.svg)](https://github.com/invarnhq/CITestiOS/actions/workflows/ci.yml) |\n| [CITestAndroid](https://github.com/invarnhq/CITestAndroid) | Android | [![CI](https://github.com/invarnhq/CITestAndroid/actions/workflows/ci.yml/badge.svg)](https://github.com/invarnhq/CITestAndroid/actions/workflows/ci.yml) |\n\n## Requirements\n\n- macOS or Linux (Node.js 18+ for npm install)\n- Android projects: JDK, Android SDK\n- iOS projects: macOS with Xcode (CocoaPods optional)\n\nRun `ci init` from your project root to check all dependencies automatically.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finvarnhq%2Fcibuild","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finvarnhq%2Fcibuild","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finvarnhq%2Fcibuild/lists"}