diff options
author | liushuyu <[email protected]> | 2023-03-03 22:38:56 -0700 |
---|---|---|
committer | bunnei <[email protected]> | 2023-06-03 00:05:33 -0700 |
commit | 1d0329a065f627de17c97ff5224dfc90504b83f8 (patch) | |
tree | 78028f74a5302ead3364f5c1d9a15a1a83eadc10 /.github | |
parent | 26ee6844c21fccca5741b0e777bf7d916a64a2dc (diff) | |
download | yuzu-mainline-1d0329a065f627de17c97ff5224dfc90504b83f8.tar.gz yuzu-mainline-1d0329a065f627de17c97ff5224dfc90504b83f8.zip |
CI: add Android build systems
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/verify.yml | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index 7cde8380b..c65e0bc5b 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -122,3 +122,41 @@ jobs: with: name: ${{ env.INDIVIDUAL_EXE }} path: ${{ env.INDIVIDUAL_EXE }} + android: + runs-on: ubuntu-latest + needs: format + steps: + - uses: actions/checkout@v3 + with: + submodules: recursive + - name: Set up cache + uses: actions/cache@v3 + with: + path: | + ~/.gradle/caches + ~/.gradle/wrapper + ~/.ccache + key: ${{ runner.os }}-android-${{ github.sha }} + restore-keys: | + ${{ runner.os }}-android- + - name: Query tag name + uses: little-core-labs/[email protected] + id: tagName + - name: Install dependencies + run: | + sudo apt-get update + sudo apt-get install -y ccache apksigner glslang-dev glslang-tools + git -C ./externals/vcpkg/ fetch --all --unshallow + - name: Build + run: ./.ci/scripts/android/build.sh + - name: Copy and sign artifacts + env: + ANDROID_KEYSTORE_B64: ${{ secrets.ANDROID_KEYSTORE_B64 }} + ANDROID_KEY_ALIAS: ${{ secrets.ANDROID_KEY_ALIAS }} + ANDROID_KEYSTORE_PASS: ${{ secrets.ANDROID_KEYSTORE_PASS }} + run: ./.ci/scripts/android/upload.sh + - name: Upload + uses: actions/upload-artifact@v3 + with: + name: android + path: artifacts/ |