asrieldashie / cirrus-script

Cirrus Script to Compile Rom with Help of ccache

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ABOUT THE SCRIPT

• This Scripts Runs in a Loop for 2-3 builds

• At first it compiles Vendor and System IMG

• Then Collect Its Cache and upload on drive

• And If System IMG Isnt Compiled at 1st build

• Then it is re-compiled with the help of cache

• Collected in the first build till it is done

• At last with help of cache from 1 and 2 build

• We compile the rom Successfully

TG SUPPORT GROUP

• Join group for discussion, update and more

• Link : Nexus | ROM Builders

NOW, LET'S SETUP

1. Make account on Cirrus CI

• Visit Market Place

• Select Github Account

• Select 'Free Plan'

• Tap on 'Install it for free' then

• Tap on 'Complete Order and Begin Installation'

2. Fork This Repo

• To use our drive to store cache or upload rom

  • Your must fork this repo to get the access

• Open .cirrus.yml

  • Add your Token, Credentials and Gmail

• To encrypt your keys go to Cirrus settings

  • Then find 'Owner-Level Secured Variables'

  • Paste your Key and tap on 'ENCRYPT'

• Open build.sh

  • Set build command according to your rom

• Open Sync Script

3. Start the build

• Complete above setup and commit it as

git commit -m "ci: Lets Build rom_name android_verison"

• If you want to compile same rom again after a successful build use

git commit -m "your msg | R"

• Force push and Enjoy :)

BASIC GUIDE

• If you face any error while compiling, fix it then

  • re-start the build from Cirrus CI

  • by tapping on 'Re-Run Failed Task' Or

  • Your can use the commands below

  • To re-start the build where it stopped

• To Compile System Img Again

git commit -m "your msg | S"

• To Compile Full rom | Final build

git commit -m "your msg | R"

• Now trigger cirrus by force push

git push -f

• Cirrus gets triggered by any commit on github repo use [skip ci] at starting of commit msg to stop the trigger

git commit -m "[skip ci] your msg"

MADE BY

SpiDy

who-EM-i

CREDIT

apon77

jash69

About

Cirrus Script to Compile Rom with Help of ccache


Languages

Language:Shell 69.4%Language:Dockerfile 30.6%