Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Automating Android Apps with Github Actions

Automating Android Apps with Github Actions

Wajahat Karim delivers a talk about automating Android apps build process and APK delivery (CI/CD) through Github Actions at an online webinar organized by DSC MUET, Jamshoro and DSC IBA Karachi.

Full video of the talk is available at: https://youtu.be/rZioF9MVZ10

Wajahat Karim

June 06, 2020
Tweet

More Decks by Wajahat Karim

Other Decks in Technology

Transcript

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

    View Slide

  2. - 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

    View Slide

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

    View Slide

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

    View Slide

  5. Some CI/CD Providers

    View Slide

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

    View Slide

  7. 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/

    View Slide

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

    View Slide

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

    View Slide

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

    View Slide

  11. 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

    View Slide

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

    View Slide

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

    View Slide

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

    View Slide

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

    View Slide