Slide 1

Slide 1 text

Automating Android Apps with Github Wajahat Karim GDE in Android wajahatkarim.com DSC IBA Karachi

Slide 2

Slide 2 text

- Google Developer Expert in Android - Over 8 years experience in Android - Open Source Contributor - Technical Blogs & Books Writer - Love to share my knowledge with others Follow me on Twitter @WajahatKarim | wajahatkarim.com This is Wajahat Karim

Slide 3

Slide 3 text

Agenda 1. What is CI/CD? 2. Some Examples of CI/CD 3. CI/CD in Android 4. Github Actions Demo

Slide 4

Slide 4 text

What’s CI / CD? Continuous Integration (CI) Continuous Delivery (CD)

Slide 5

Slide 5 text

Some CI/CD Providers

Slide 6

Slide 6 text

Example 1 - Website A workflow of my website: wajahatkarim.com

Slide 7

Slide 7 text

Example 2 - Open Source Libraries Image: https://www.altexsoft.com/blog/engineering/comparison-of-most-popular-continuous-integration-tools-jenkins-teamcity-bamboo-travis-ci-and-more/

Slide 8

Slide 8 text

CI / CD in Android Push code to Github Run tests / Build APK Continuous Integration (CI) Continuous Delivery (CD)

Slide 9

Slide 9 text

Github Actions Basics 1. Workflows 2. Triggers 3. Jobs

Slide 10

Slide 10 text

A series of operations (jobs) performed after certain condition is met like pull request / commit push etc. Workflow

Slide 11

Slide 11 text

An event such as commit is pushed, or pull request is created or a comment is added in pull request etc. This will start executing any workflow. Trigger

Slide 12

Slide 12 text

The actual operation to be executed when trigger is hit. For example, run Unit Tests, build APK etc. Job

Slide 13

Slide 13 text

Github Actions Image: https://overflow.buffer.com/2020/05/07/using-github-actions-for-android-continuous-integration-and-delivery/

Slide 14

Slide 14 text

Show me the code! github.com/wajahatkarim3/Android-Github-Actions

Slide 15

Slide 15 text

Thank you for listening... @WajahatKarim wajahatkarim.com youtube.com/c/wajahatkarim3