Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(android): Add Android builds to CI #682

Open
wants to merge 68 commits into
base: main
Choose a base branch
from

Commits on Feb 12, 2024

  1. WIP: Add android presets to cmake presets. Doesn't currently build

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    18a500a View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2024

  1. Try different path for android ndk

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    a2649b3 View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2024

  1. Try correct architecture ndk

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    9e1d55a View commit details
    Browse the repository at this point in the history
  2. Wrong directory name for ndk

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    dceadbf View commit details
    Browse the repository at this point in the history
  3. Trying stuff

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    f879c59 View commit details
    Browse the repository at this point in the history
  4. Revert back to x86_64

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    3bd293f View commit details
    Browse the repository at this point in the history
  5. Update paths

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    a0bbb01 View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2024

  1. Replace log4cxx with spdlog since android builds for apr don't work o…

    …n vcpkg
    
    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    4763b55 View commit details
    Browse the repository at this point in the history
  2. Fix issue of traditional make ports being incompatible with NDK r26 (…

    …github.com/microsoft/vcpkg/issues/33881)
    
    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    67526c4 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2024

  1. Try newer version of openssl

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    32d3e9b View commit details
    Browse the repository at this point in the history
  2. Manually add VCPKG_DETECTED_CMAKE_ANDROID_ARCH to CMakePresets.json

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    2e7f1a4 View commit details
    Browse the repository at this point in the history
  3. Add update steps to dockerfile

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    1bd1e10 View commit details
    Browse the repository at this point in the history
  4. Trying going back to r25c

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    445bc23 View commit details
    Browse the repository at this point in the history
  5. Revert vcpkg

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    ee716e7 View commit details
    Browse the repository at this point in the history
  6. Revert openssl version

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    c21b09a View commit details
    Browse the repository at this point in the history
  7. Downgrade spdlog

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    2a9aeda View commit details
    Browse the repository at this point in the history
  8. Install vim

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    5524e1e View commit details
    Browse the repository at this point in the history
  9. Reupdate to new stuff

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    f9718ca View commit details
    Browse the repository at this point in the history
  10. Trying stuff

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    f194cd6 View commit details
    Browse the repository at this point in the history
  11. Forgot to update json

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    35ac9de View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2024

  1. Try r25c NDK

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    4fb16fd View commit details
    Browse the repository at this point in the history
  2. Forgot update to env var

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    368c99a View commit details
    Browse the repository at this point in the history
  3. Try master

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    517dcc4 View commit details
    Browse the repository at this point in the history
  4. Try adding package

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    837d8d0 View commit details
    Browse the repository at this point in the history
  5. Add version to vcpkg-cmake-get-vars

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    236eaa8 View commit details
    Browse the repository at this point in the history
  6. Try an updated baseline

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    0ebb4c9 View commit details
    Browse the repository at this point in the history

Commits on Feb 29, 2024

  1. Configuration menu
    Copy the full SHA
    2ceb723 View commit details
    Browse the repository at this point in the history
  2. Use latest vcpkg release

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    934ef36 View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2024

  1. Try no specific versions and just most recent packages

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    e70e8bf View commit details
    Browse the repository at this point in the history
  2. Get configuration working

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    ca44bc9 View commit details
    Browse the repository at this point in the history
  3. Fix google tests

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    812294d View commit details
    Browse the repository at this point in the history
  4. Have gtest be brought in by vcpkg

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    7634b73 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2024

  1. Fix Android build

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    f1b862a View commit details
    Browse the repository at this point in the history
  2. Change install prefix

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    794418d View commit details
    Browse the repository at this point in the history
  3. Change HAPI path to find

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    08238d7 View commit details
    Browse the repository at this point in the history
  4. Fix Windows build

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    6228dea View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2024

  1. Build with local protobufs

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    b89940b View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2024

  1. Trying installing test executables for android builds

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Mar 11, 2024
    Configuration menu
    Copy the full SHA
    e2cdc68 View commit details
    Browse the repository at this point in the history
  2. Don't install the examples twice

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Mar 11, 2024
    Configuration menu
    Copy the full SHA
    f166b0c View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2024

  1. Fix broken integration tests

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Mar 13, 2024
    Configuration menu
    Copy the full SHA
    8756cb5 View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2024

  1. Build examples as shared libraries for android (just testing create a…

    …ccount example for now)
    
    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    e8c1860 View commit details
    Browse the repository at this point in the history
  2. Add JNI calls to CreateAccountExample | Hook up correctly-named library

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    9bede07 View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2024

  1. Add stuff for android apk build

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    5bbe4d0 View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2024

  1. Add build tools to path

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    eac5382 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2024

  1. Update build tools

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    7eff1fe View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2024

  1. Try changing JNI function name

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Apr 2, 2024
    Configuration menu
    Copy the full SHA
    d8fc447 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2024

  1. Change header file

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Apr 3, 2024
    Configuration menu
    Copy the full SHA
    c7bcd9b View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2024

  1. Use AssetManager to get addressbook and config files

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    5a4647f View commit details
    Browse the repository at this point in the history
  2. Remove apk

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    8b36990 View commit details
    Browse the repository at this point in the history
  3. remove pull from dockerfile

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    3ad3648 View commit details
    Browse the repository at this point in the history
  4. AndroidHelper not in impl

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    639161d View commit details
    Browse the repository at this point in the history
  5. Fix arg bug

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    5ebff29 View commit details
    Browse the repository at this point in the history
  6. Fix include path

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    1a206ec View commit details
    Browse the repository at this point in the history
  7. Try setting environment variables with adb

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    62df8dd View commit details
    Browse the repository at this point in the history
  8. Add debug statements

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    b74cb78 View commit details
    Browse the repository at this point in the history
  9. AAssetManager isn't internal

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    46e6c46 View commit details
    Browse the repository at this point in the history
  10. Move Android definitions to own source file

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    5ca4534 View commit details
    Browse the repository at this point in the history
  11. Can't name the function main()

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    8066989 View commit details
    Browse the repository at this point in the history
  12. Try using android logs

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    d9e89ce View commit details
    Browse the repository at this point in the history
  13. Fix typo

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    8d499e4 View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2024

  1. Target newer API version

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Apr 9, 2024
    Configuration menu
    Copy the full SHA
    6739c93 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2024

  1. Clean up repo, remove example APK work

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    a07c9b4 View commit details
    Browse the repository at this point in the history
  2. Add workflow changes to build Android in CI

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    5d030b9 View commit details
    Browse the repository at this point in the history
  3. Go back to latest of get-cmake

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    199c175 View commit details
    Browse the repository at this point in the history
  4. Fix repo being cloned

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    efa231f View commit details
    Browse the repository at this point in the history
  5. Enable android build on PR merge

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    001a527 View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2024

  1. Merge branch 'main' into 00660-add-android-and-ios-builds

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    d363e16 View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2024

  1. Address PR comments

    Signed-off-by: Rob Walworth <robert.walworth@swirldslabs.com>
    rwalworth committed Apr 19, 2024
    Configuration menu
    Copy the full SHA
    7bce8a1 View commit details
    Browse the repository at this point in the history