From: Mike Schuchardt Date: Thu, 23 Sep 2021 17:44:34 +0000 (-0700) Subject: ci: Add android build to github actions X-Git-Tag: upstream/1.3.208~76 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ba85965a156073ce88cf0214b1624495fa043414;p=platform%2Fupstream%2FVulkan-Tools.git ci: Add android build to github actions Change-Id: I1ef9815548f7483ddc712c76210cf938e70c3eae --- diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5a1e630..dd9519f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -143,3 +143,19 @@ jobs: - name: Build the tools run: ninja -C out/${{matrix.config}} + + android: + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v2 + - name: Setup Environment + run: | + echo "ANDROID_SDK_HOME=$ANDROID_SDK_ROOT" >> $GITHUB_ENV + echo "$ANDROID_SDK_ROOT/build-tools/31.0.0" >> $GITHUB_PATH + echo "$ANDROID_NDK_ROOT" >> $GITHUB_PATH + $ANDROID_SDK_ROOT/tools/bin/sdkmanager "platforms;android-23" + keytool -genkey -v -keystore $HOME/.android/debug.keystore -storepass android -alias androiddebugkey -keypass android -keyalg RSA -keysize 2048 -validity 10000 -dname "C=US, O=Android, CN=Android Debug" + - name: Build vkcube + run: | + cd build-android + ./build_all.sh